aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/PCHReader.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-13 22:18:37 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-13 22:18:37 +0000
commit3a2f7e42514ddbec983c61826ce85d3071e23e8e (patch)
treeaed92dce2f9f61e77479495cb419c57e7dc956cf /include/clang/Frontend/PCHReader.h
parent0f59312e7b625fa5821a63db65377d4b3b667e99 (diff)
PCH support for functions and their parameters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PCHReader.h')
-rw-r--r--include/clang/Frontend/PCHReader.h4
1 files changed, 4 insertions, 0 deletions
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