diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-19 01:33:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-19 01:33:06 +0000 |
commit | 671947b18dba342f9aba022ee992babef325a833 (patch) | |
tree | c3a27cbfd7eeaae71811ad10d50bf597d354cea3 /include/clang/Frontend | |
parent | b61b7d24f3f8fee5ef7c92187d2a9bb3df5a5192 (diff) |
Plug a leak when precompiling the preamble in ASTUnit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index 1db7d4baca..8f3b4d40f1 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -177,6 +177,11 @@ private: /// preamble. llvm::MemoryBuffer *SavedMainFileBuffer; + /// \brief When non-NULL, this is the buffer used to store the + /// contents of the preamble when it has been padded to build the + /// precompiled preamble. + llvm::MemoryBuffer *PreambleBuffer; + /// \brief The number of warnings that occurred while parsing the preamble. /// /// This value will be used to restore the state of the \c Diagnostic object |