Displaying 1 result from an estimated 1 matches for "currentinstantiationscope".
2011 Jan 20
0
[LLVMdev] Warnings when compiling llvm+clang (Mac OS X system gcc)
...: warning: ‘Depth’ may be used uninitialized in this function
----------------------------
It seems the problem gcc is seeing is:
the dyn_cast to cons TemplateTypeParmType fails
isa<ParlVarDecl>(ND) is true
Instantiation && Instantiation->is<DeclArgumentPack *>() is true
CurrentInstantiationScope->getPartiallySubstitutedPack() is true
I don't know enough about clang to know how feasible this path is, so I defer to this list.
BTW, clang++ doesn't warn about any of these "problems" (by using make CXX=clang++)
Regards,
Filipe Cabecinhas
-------------- next par...