[cfe-commits] r67715 - in /cfe/trunk: lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaTemplateInstantiateDecl.cpp test/SemaTemplate/fibonacci.cpp test/SemaTemplate/instantiate-static-var.cpp

Douglas Gregor dgregor at apple.com
Fri May 1 08:49:08 PDT 2009


On Apr 29, 2009, at 3:17 PM, Mike Stump wrote:

> On Mar 25, 2009, at 4:32 PM, Douglas Gregor wrote:
>> Author: dgregor
>> Date: Wed Mar 25 18:32:15 2009
>> New Revision: 67715
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=67715&view=rev
>> Log:
>> Implement template instantiation for static data members of class
>> templates, including in-class initializers. For example:
>
>> --- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
>> +++ cfe/trunk/lib/Sema/SemaDecl.cpp Wed Mar 25 18:32:15 2009
>> @@ -1671,32 +1660,94 @@
>
>> +/// \brief Perform semantic checking on a newly-created variable
>> +/// declaration.
>> +///
>> +/// This routine performs all of the type-checking required for a
>> +/// variable declaration once it has been build. It is used both to
>> +/// check variables after they have been parsed and their  
>> declarators
>> +/// have been translated into a declaration, and to check
>
> I'm sure you were in the middle of completing a thought here...

Oops, thanks; fixed now.

	- Doug



More information about the cfe-commits mailing list