[cfe-commits] r120900 - in /cfe/trunk: include/clang/AST/DeclCXX.h include/clang/Sema/Initialization.h include/clang/Sema/Sema.h lib/AST/DeclCXX.cpp lib/AST/DeclPrinter.cpp lib/Analysis/CFG.cpp lib/Checker/GRExprEngine.cpp lib/CodeGen/CGClass.cpp

Chandler Carruth chandlerc at google.com
Mon Dec 6 01:26:30 PST 2010


On Sat, Dec 4, 2010 at 1:14 AM, Francois Pichet <pichet2000 at gmail.com>wrote:

> +  template<typename T>


You can't make an out-of-line method with its definition in the .cpp file a
template method. There also doesn't seem to be any reason to as both
possible Decls have a shared base type: ValueDecl. I've changed this to
accept ValueDecl, and re-flowed the definition to simplify its logic a bit
given that constraint in r120997. Feel free to take a look.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101206/714f3e9b/attachment.html>


More information about the cfe-commits mailing list