]> granicus.if.org Git - clang/commit
Streamline BalancedDelimiterTracker, by eliminating the duplicate
authorDouglas Gregor <dgregor@apple.com>
Thu, 8 Mar 2012 01:00:17 +0000 (01:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 8 Mar 2012 01:00:17 +0000 (01:00 +0000)
commitd78ef5b941ce2937228b010e8443f92025f9d683
treed065307f5a54a236fa9774de8b744f597656cb29
parent9ae3a3647388c42b91505b175c1c8d0055b637dd
Streamline BalancedDelimiterTracker, by eliminating the duplicate
paren/brace/bracket tracking (the Consume* functions already did it),
removing the use of ConsumeAnyToken(), and moving the hot paths inline
with the error paths out-of-line.

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