summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-12-20 07:58:13 +0000
committerJohn McCall <rjmccall@apple.com>2009-12-20 07:58:13 +0000
commit1c7e6ec27b65b11b5cae240e1e3820eb348214f1 (patch)
tree34af6837bfedc576fe3786bdf564f6ead9c38b8a /clang/lib/Sema/SemaInit.cpp
parentbffb990c233139acc8bd8a148ca34df186d85d38 (diff)
downloadbcm5719-llvm-1c7e6ec27b65b11b5cae240e1e3820eb348214f1.tar.gz
bcm5719-llvm-1c7e6ec27b65b11b5cae240e1e3820eb348214f1.zip
Don't inject the class name until that magical lbrace.
Because of the rules of base-class lookup* and the restrictions on typedefs, it was actually impossible for this to cause any problems more serious than the spurious acceptance of template <class T> class A : B<A> { ... }; instead of template <class T> class A : B<A<T> > { ... }; but I'm sure we can all agree that that is a very important restriction which is well worth making another Parser->Sema call for. (*) n.b. clang++ does not implement these rules correctly; we are not ignoring non-type names llvm-svn: 91792
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud