aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-10 21:40:09 +0000
committerChris Lattner <sabre@nondot.org>2009-04-10 21:40:09 +0000
commitf908c519c1625e81d9e33d8a2a306a92834fe317 (patch)
treeceb46927d539ec777ff09430abc627717bccaaac /include/clang/Lex/Preprocessor.h
parent02022f46ba6ab48c7a3f43dea73108576de2b00f (diff)
make a method public
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r--include/clang/Lex/Preprocessor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h
index f5b4b361a5..0bf6126d58 100644
--- a/include/clang/Lex/Preprocessor.h
+++ b/include/clang/Lex/Preprocessor.h
@@ -591,6 +591,10 @@ public:
return DATELoc != SourceLocation() || TIMELoc != SourceLocation();
}
+ /// AllocateMacroInfo - Allocate a new MacroInfo object with the provide
+ /// SourceLocation.
+ MacroInfo* AllocateMacroInfo(SourceLocation L);
+
private:
void PushIncludeMacroStack() {
@@ -611,10 +615,6 @@ private:
IncludeMacroStack.pop_back();
}
- /// AllocateMacroInfo - Allocate a new MacroInfo object with the provide
- /// SourceLocation.
- MacroInfo* AllocateMacroInfo(SourceLocation L);
-
/// ReleaseMacroInfo - Release the specified MacroInfo. This memory will
/// be reused for allocating new MacroInfo objects.
void ReleaseMacroInfo(MacroInfo* MI);