]> granicus.if.org Git - clang/commit
When parsing cached C++ method declarations/definitions, save the
authorDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 23:45:56 +0000 (23:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 23:45:56 +0000 (23:45 +0000)
commite0cc047b1984fc301bbe6e98b6d197bed39ad562
treef08ef16f9ec2c89ec150abe299ce96456065c079
parent387475d0c18aaeb022108de9d33b6c9fb7998843
When parsing cached C++ method declarations/definitions, save the
"previous token" location at the end of the class definition. This
eliminates a badly-placed error + Fix-It when the ';' following a
class definition is missing. Fixes <rdar://problem/8066414>.

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