diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-27 22:46:49 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-27 22:46:49 +0000 |
commit | b09518c551cb348c705a2c4cc3f2663b919db1ee (patch) | |
tree | c86b346fab9cfd33da22234de0d559680792ea30 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 99847d2bf132854fffa019bab19818768102ccad (diff) | |
download | bcm5719-llvm-b09518c551cb348c705a2c4cc3f2663b919db1ee.tar.gz bcm5719-llvm-b09518c551cb348c705a2c4cc3f2663b919db1ee.zip |
Eliminate a silly little Parse/Sema dance when parsing typename
specifiers such as
typename T::template apply<U>
Previously, we would turn T::template apply<U> into a
TemplateSpecializationType. Then, we'd reprocess that
TemplateSpecializationType and turn it into either a
TemplateSpecializationType wrapped in an ElaboratedType (when we could
resolve "apply" to a template declaration) or a
DependentTemplateSpecializationType. We now produce the same ASTs but
without generating the intermediate TemplateSpecializationType.
The end goal here is to avoid generating TemplateSpecializationTypes
with dependent template-names, ever. We're not there yet.
llvm-svn: 126589
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions