aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-20 22:19:20 +0000
committerChris Lattner <sabre@nondot.org>2009-02-20 22:19:20 +0000
commit0301b3ff132a4d986c092d161cb77d74b04cd2a6 (patch)
tree0bac38518640027c357530d5344af3bc8e09a0da /include/clang/Lex/Preprocessor.h
parent9f4ecb34d502f6aad7d635dd3aec24a373ef5c9b (diff)
require the MAcroInfo objects are explcitly destroyed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r--include/clang/Lex/Preprocessor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h
index 1608466fe2..a0ed1767df 100644
--- a/include/clang/Lex/Preprocessor.h
+++ b/include/clang/Lex/Preprocessor.h
@@ -579,9 +579,7 @@ private:
/// ReleaseMacroInfo - Release the specified MacroInfo. This memory will
/// be reused for allocating new MacroInfo objects.
- void ReleaseMacroInfo(MacroInfo* MI) {
- MICache.push_back(MI);
- }
+ void ReleaseMacroInfo(MacroInfo* MI);
/// isInPrimaryFile - Return true if we're in the top-level file, not in a
/// #include.