]> granicus.if.org Git - clang/commit
Parse: Switch to using EOF tokens for late parsed attributes
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 13 Jan 2015 08:35:24 +0000 (08:35 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 13 Jan 2015 08:35:24 +0000 (08:35 +0000)
commitf233cba7f0cdbdae7e3e40078cdb422c00be73c5
tree4f59e332d3201d02c18781779a731d246da637ab
parent269798ba2cc9eda11d342d8ef68330cfd018e0db
Parse: Switch to using EOF tokens for late parsed attributes

The EOF token injection technique is preferable to using
isBeforeInTranslationUnit to determine whether or not additional cleanup
is needed.  I don't have an example off-hand that requires it but it is
nicer nonetheless.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225776 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp