]> granicus.if.org Git - clang/commit
Parse: use the EOF token method to lex inline method bodies
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 13 Jan 2015 05:06:20 +0000 (05:06 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 13 Jan 2015 05:06:20 +0000 (05:06 +0000)
commitd6f99ed12c9a1bffe10ba3907457e08a7a116f17
tree528bf920c65e256c6e9675226501050f19d38e51
parent4c9b4e89d2773b52d0bae2dcb8e87c2fdf0f5e29
Parse: use the EOF token method to lex inline method bodies

Mark the end of the method body with an EOF token, collect it once we
expect to be done with method body parsing.  No functionality change
intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseCXXInlineMethods.cpp
test/Parser/cxx-member-initializers.cpp