[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

Mike Stump mrs at apple.com
Wed Apr 29 15:17:47 PDT 2009


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...

> +///
> +/// \returns true if an error was encountered, false otherwise.



More information about the cfe-commits mailing list