]> granicus.if.org Git - clang/commit
Don't allow 'this' within typedefs within classes that otherwise look like they
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 Jan 2014 21:01:18 +0000 (21:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 Jan 2014 21:01:18 +0000 (21:01 +0000)
commit74f6dc76c2b94a704c54fc2979f67f80195d4608
tree19282d1821dd0a2cab24809bd154b5d09c733f8d
parentbbd029577ee710c4f868c9ad4f6b0eef1866c6ad
Don't allow 'this' within typedefs within classes that otherwise look like they
might be member function declarations. Patch by Harald van Dijk!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/CXX/expr/expr.prim/expr.prim.general/p4-0x.cpp