]> granicus.if.org Git - clang/commit
PR12688: ParseCXXClassMemberDeclaration's sometimes-null ThisDecl takes another
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Apr 2012 07:31:09 +0000 (07:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Apr 2012 07:31:09 +0000 (07:31 +0000)
commite531001b7e44bee5c4ec0be93efbc75adb37a0e3
treeb7fd54f429db25129df54696a581680305094ede
parenta2e76f56c60dbd4de3dc0fed02bb01bea4dcff81
PR12688: ParseCXXClassMemberDeclaration's sometimes-null ThisDecl takes another
victim. Don't crash if we have a delay-parsed exception specification for a
class member which is invalid in a way which precludes building a FunctionDecl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDeclCXX.cpp
test/CXX/class/class.mem/p2.cpp