mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-20 14:53:14 +01:00
Merged DMD commit 2f861ed4f230519a8b9d22fce01a80ba26feab5f:
bugzilla 5197 Ddoc: access-attributed auto template function crashes dmd
This commit is contained in:
@@ -835,7 +835,12 @@ void FuncDeclaration::toDocBuffer(OutBuffer *buf)
|
||||
|
||||
hgs.ddoc = 1;
|
||||
prefix(buf, td);
|
||||
tf->next->toCBuffer(buf, NULL, &hgs);
|
||||
if (tf)
|
||||
{ if (tf->nextOf())
|
||||
tf->nextOf()->toCBuffer(buf, NULL, &hgs);
|
||||
else
|
||||
buf->writestring("auto");
|
||||
}
|
||||
buf->writeByte(' ');
|
||||
buf->writestring(ident->toChars());
|
||||
buf->writeByte('(');
|
||||
|
||||
@@ -59,7 +59,7 @@ Global::Global()
|
||||
|
||||
copyright = "Copyright (c) 1999-2010 by Digital Mars and Tomas Lindquist Olsen";
|
||||
written = "written by Walter Bright and Tomas Lindquist Olsen";
|
||||
version = "v1.066";
|
||||
version = "v1.067";
|
||||
ldc_version = "LDC trunk";
|
||||
llvm_version = "LLVM 2.9";
|
||||
global.structalign = 8;
|
||||
|
||||
Reference in New Issue
Block a user