diff options
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/PCHBitCodes.h | 6 | ||||
-rw-r--r-- | include/clang/Frontend/PCHReader.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/clang/Frontend/PCHBitCodes.h b/include/clang/Frontend/PCHBitCodes.h index 14c59712ec..e1303056f8 100644 --- a/include/clang/Frontend/PCHBitCodes.h +++ b/include/clang/Frontend/PCHBitCodes.h @@ -320,10 +320,16 @@ namespace clang { DECL_RECORD, /// \brief An EnumConstantDecl record. DECL_ENUM_CONSTANT, + /// \brief A FunctionDecl record. + DECL_FUNCTION, /// \brief A FieldDecl record. DECL_FIELD, /// \brief A VarDecl record. DECL_VAR, + /// \brief A ParmVarDecl record. + DECL_PARM_VAR, + /// \brief An OriginalParmVarDecl record. + DECL_ORIGINAL_PARM_VAR, /// \brief A record that stores the set of declarations that are /// lexically stored within a given DeclContext. /// diff --git a/include/clang/Frontend/PCHReader.h b/include/clang/Frontend/PCHReader.h index 3490cb5070..6b67f2ef30 100644 --- a/include/clang/Frontend/PCHReader.h +++ b/include/clang/Frontend/PCHReader.h @@ -209,6 +209,10 @@ public: /// \brief Read a signed integral value llvm::APSInt ReadAPSInt(const RecordData &Record, unsigned &Idx); + + /// \brief Retrieve the AST context that this PCH reader + /// supplements. + ASTContext &getContext() { return Context; } }; } // end namespace clang |