summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiate.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-27 01:15:02 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-27 01:15:02 +0000
commit41c98d9dc3af430abb5e573550a18eca3211f2d6 (patch)
treeff87cacd6817b3c6e1ee05f137604914e13fdf6e /clang/lib/Sema/SemaTemplateInstantiate.cpp
parentde76c92b15aec01f01647a7a3b6ff141c799feb0 (diff)
downloadbcm5719-llvm-41c98d9dc3af430abb5e573550a18eca3211f2d6.tar.gz
bcm5719-llvm-41c98d9dc3af430abb5e573550a18eca3211f2d6.zip
[analyzer] Look through SubstNonTypeTemplateParmExprs.
We were treating this like a CXXDefaultArgExpr, but SubstNonTypeTemplateParmExpr actually appears when a template is instantiated, i.e. we have all the information necessary to evaluate it. This allows us to inline functions like llvm::array_lengthof. <rdar://problem/11949235> llvm-svn: 160846
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud