aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Parse/Parser.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h
index 75f2e59645..cfff592b65 100644
--- a/include/clang/Parse/Parser.h
+++ b/include/clang/Parse/Parser.h
@@ -572,15 +572,6 @@ private:
bool isTypeSpecifierQualifier() const;
bool isTypeQualifier() const;
- /// TentativeParsingResult - Used as the result value for functions whose
- /// purpose is to disambiguate C++ constructs by "tentatively parsing" them.
- enum TentativeParsingResult {
- TPR_true,
- TPR_false,
- TPR_ambiguous,
- TPR_error
- };
-
/// isDeclarationStatement - Disambiguates between a declaration or an
/// expression statement, when parsing function bodies.
/// Returns true for declaration, false for expression.
@@ -626,6 +617,15 @@ private:
/// the function returns true to let the declaration parsing code handle it.
bool isCXXConditionDeclaration();
+ /// TentativeParsingResult - Used as the result value for functions whose
+ /// purpose is to disambiguate C++ constructs by "tentatively parsing" them.
+ enum TentativeParsingResult {
+ TPR_true,
+ TPR_false,
+ TPR_ambiguous,
+ TPR_error
+ };
+
/// isCXXDeclarationSpecifier - Returns TPR_true if it is a declaration
/// specifier, TPR_false if it is not, TPR_ambiguous if it could be either
/// a decl-specifier or a function-style cast, and TPR_error if a parsing