summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseCXXInlineMethods.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2013-11-18 08:17:37 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2013-11-18 08:17:37 +0000
commitee6507dfdc5da99f60ae14e489065b1b304d7e46 (patch)
tree293304d6f9e6d4e8722901e40cb9f72b85b9e4d9 /clang/lib/Parse/ParseCXXInlineMethods.cpp
parent39d0c93b70439b110229116d135c5056ed199dbe (diff)
downloadbcm5719-llvm-ee6507dfdc5da99f60ae14e489065b1b304d7e46.tar.gz
bcm5719-llvm-ee6507dfdc5da99f60ae14e489065b1b304d7e46.zip
Replaced bool parameters in SkipUntil function with single bit-based parameter.
llvm-svn: 194994
Diffstat (limited to 'clang/lib/Parse/ParseCXXInlineMethods.cpp')
-rw-r--r--clang/lib/Parse/ParseCXXInlineMethods.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseCXXInlineMethods.cpp b/clang/lib/Parse/ParseCXXInlineMethods.cpp
index 0c8ace59e35..77923051653 100644
--- a/clang/lib/Parse/ParseCXXInlineMethods.cpp
+++ b/clang/lib/Parse/ParseCXXInlineMethods.cpp
@@ -868,7 +868,7 @@ public:
Revert();
// Put back the original tokens.
- Self.SkipUntil(EndKind, true, /*DontConsume*/true);
+ Self.SkipUntil(EndKind, StopAtSemi | StopBeforeMatch);
if (Toks.size()) {
Token *Buffer = new Token[Toks.size()];
std::copy(Toks.begin() + 1, Toks.end(), Buffer);
OpenPOWER on IntegriCloud