diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-10 00:32:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-10 00:32:41 +0000 |
commit | d5c1c9d0aee99246a68fd48131f97245efc0c104 (patch) | |
tree | 07685be314ee8e5694570224425ba79f6f331cdd /clang/lib/Parse/Parser.cpp | |
parent | 633c6f6f368634648318c4da6e1a123be3d46690 (diff) | |
download | bcm5719-llvm-d5c1c9d0aee99246a68fd48131f97245efc0c104.tar.gz bcm5719-llvm-d5c1c9d0aee99246a68fd48131f97245efc0c104.zip |
refactor the 'ColonIsSacred' argument to ParseOptionalCXXScopeSpecifier
to be a bool in Parser that is twiddled by the ColonProtectionRAIIObject
class. No functionality change.
llvm-svn: 91014
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index a29d4993dd5..a864e7c24cb 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -36,7 +36,8 @@ public: Parser::Parser(Preprocessor &pp, Action &actions) : CrashInfo(*this), PP(pp), Actions(actions), Diags(PP.getDiagnostics()), - GreaterThanIsOperator(true), TemplateParameterDepth(0) { + GreaterThanIsOperator(true), ColonIsSacred(false), + TemplateParameterDepth(0) { Tok.setKind(tok::eof); CurScope = 0; NumCachedScopes = 0; |