]> granicus.if.org Git - clang/commit
Make Parser::ConsumeAndStoreUntil() more consistent with Parser::SkipUntil().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 23 Apr 2010 21:20:12 +0000 (21:20 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 23 Apr 2010 21:20:12 +0000 (21:20 +0000)
commit14b91628961ab50cc6e724bbcd408fdee100662d
tree60fb7df545ff12fae4ad021cff80da80f6252832
parenta3bddeda81ca784bed5501d79e1e7c53befaa91d
Make Parser::ConsumeAndStoreUntil() more consistent with Parser::SkipUntil().

ConsumeAndStoreUntil would stop at tok::unknown when caching an inline method
definition while SkipUntil would go past it while parsing the method.

Fixes PR 6903.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102214 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/ParseCXXInlineMethods.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp