[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

Francois Pichet pichet2000 at gmail.com
Mon Dec 6 02:47:21 PST 2010


On Mon, Dec 6, 2010 at 4:26 AM, Chandler Carruth <chandlerc at google.com> wrote:
> 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.

Yes my mistake.. thanks for fixing it.




More information about the cfe-commits mailing list