]> granicus.if.org Git - clang/commit
If the declaration of a C++ member function with an inline definition
authorDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 23:19:27 +0000 (23:19 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 23:19:27 +0000 (23:19 +0000)
commit87f106462ce49a4a9b812b9de92aadd4e54567bd
tree6685ddb56b458a0c25452987f4ab54ebb813cb8f
parentefdf988611c1eb02770643cd3fabd5df2f579353
If the declaration of a C++ member function with an inline definition
is so broken that Sema can't form a declaration for it, don't bother
trying to parse the definition later. Fixes <rdar://problem/9221993>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseCXXInlineMethods.cpp
test/Parser/cxx-member-crash.cpp [new file with mode: 0644]