summaryrefslogtreecommitdiffstats
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
commit1156565c48894695531b6264a7faa1a70f425bb0 (patch)
tree299a434d6e8f6c35045c245406632f56a7317922
parent670af594d8a0cee8a95bb892dae4835b0bcec58a (diff)
downloadbcm5719-llvm-1156565c48894695531b6264a7faa1a70f425bb0.tar.gz
bcm5719-llvm-1156565c48894695531b6264a7faa1a70f425bb0.zip
make a method public
llvm-svn: 68827
-rw-r--r--clang/include/clang/Lex/Preprocessor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h
index f5b4b361a56..0bf6126d587 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/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);
OpenPOWER on IntegriCloud