summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-05-10 18:27:06 +0000
committerDouglas Gregor <dgregor@apple.com>2011-05-10 18:27:06 +0000
commit972fe534ed33dbb10a26b527f69f19c677722277 (patch)
tree3c3f607415fa0570cb33e60653c29a5cb9d7c501 /llvm/lib/CodeGen
parent62f1ab79ecc350021f0a986d3e2a03b172b24f80 (diff)
downloadbcm5719-llvm-972fe534ed33dbb10a26b527f69f19c677722277.tar.gz
bcm5719-llvm-972fe534ed33dbb10a26b527f69f19c677722277.zip
Reimplement Sema::MatchTemplateParametersToScopeSpecifier() based on
the semantic context referenced by the nested-name-specifier rather than the syntactic form of the nested-name-specifier. The previous incarnation was based on my complete misunderstanding of C++ [temp.expl.spec]. The latest C++0x working draft clarifies the requirements here, and this rewrite is intended to follow that. Along the way, improve source location information in the diagnostics. For example, if we report that a specific type needs or doesn't need a 'template<>' header, we dig out that type in the nested-name-specifier and highlight its range. Fixes: PR5907, PR9421, PR8277, PR8708, PR9482, PR9668, PR9877, and <rdar://problem/9135379>. llvm-svn: 131138
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud