Displaying 1 result from an estimated 1 matches for "parlvardecl".
2011 Jan 20
0
[LLVMdev] Warnings when compiling llvm+clang (Mac OS X system gcc)
...itialized in this function
/Users/filcab/dev/stuff/llvm/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:478: 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 a...