diff options
Diffstat (limited to 'clang/include/clang/Parse/Parser.h')
| -rw-r--r-- | clang/include/clang/Parse/Parser.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index bffe66023e0..897c09d0bc4 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/include/clang/Parse/Parser.h @@ -74,7 +74,8 @@ public: typedef Action::DeclTy DeclTy; typedef Action::TypeTy TypeTy; typedef Action::BaseTy BaseTy; - + typedef Action::MemInitTy MemInitTy; + // Parsing methods. /// ParseTranslationUnit - All in one method that initializes parses, and @@ -314,10 +315,11 @@ private: bool SkipUntil(const tok::TokenKind *Toks, unsigned NumToks, bool StopAtSemi = true, bool DontConsume = false); - typedef Action::ExprResult ExprResult; - typedef Action::StmtResult StmtResult; - typedef Action::BaseResult BaseResult; - + typedef Action::ExprResult ExprResult; + typedef Action::StmtResult StmtResult; + typedef Action::BaseResult BaseResult; + typedef Action::MemInitResult MemInitResult; + //===--------------------------------------------------------------------===// // Lexing and parsing of C++ inline methods. @@ -717,6 +719,8 @@ private: void ParseCXXMemberSpecification(SourceLocation StartLoc, unsigned TagType, DeclTy *TagDecl); DeclTy *ParseCXXClassMemberDeclaration(AccessSpecifier AS); + void ParseConstructorInitializer(DeclTy *ConstructorDecl); + MemInitResult ParseMemInitializer(DeclTy *ConstructorDecl); //===--------------------------------------------------------------------===// // C++ 10: Derived classes [class.derived] |

