diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-06-29 22:20:04 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-06-29 22:20:04 +0000 |
commit | e379ee31c0da5fe6f01d2af1805d336e315a56e5 (patch) | |
tree | 3bda3e6a0f354d01c08dc648fae90259f86c73f5 /clang/lib/Lex/Preprocessor.cpp | |
parent | dea8cb4fe314fb772706e033e50c3258210007f5 (diff) | |
download | bcm5719-llvm-e379ee31c0da5fe6f01d2af1805d336e315a56e5.tar.gz bcm5719-llvm-e379ee31c0da5fe6f01d2af1805d336e315a56e5.zip |
Introduce Preprocessor::getTotalMemory() and use it in CIndex.cpp, no functionality change.
llvm-svn: 134103
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index fdc18f87818..48a23880f36 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -225,6 +225,10 @@ Preprocessor::macro_begin(bool IncludeExternalMacros) const { return Macros.begin(); } +size_t Preprocessor::getTotalMemory() const { + return BP.getTotalMemory(); +} + Preprocessor::macro_iterator Preprocessor::macro_end(bool IncludeExternalMacros) const { if (IncludeExternalMacros && ExternalSource && |