diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-13 00:10:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-13 00:10:04 +0000 |
commit | 6cc1df5d3d52187b86d301555dd1f98240f9ceb6 (patch) | |
tree | 3c1077c0261b6518b1e86d1c7ac21adc2138b94c /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | 11cfd9441d6d82073c8dae67be4e27eaaad41a4d (diff) | |
download | bcm5719-llvm-6cc1df5d3d52187b86d301555dd1f98240f9ceb6.tar.gz bcm5719-llvm-6cc1df5d3d52187b86d301555dd1f98240f9ceb6.zip |
Provide a special diagnostic for attempts to explicitly specialize
class templates within class scope (which is ill-formed), and recover
by dropping the explicit specialization entirely. Fixes the infinite
loop in PR7622.
llvm-svn: 108217
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions