diff options
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r-- | clang/lib/Lex/HeaderMap.cpp | 2 | ||||
-rw-r--r-- | clang/lib/Lex/MacroInfo.cpp | 4 | ||||
-rw-r--r-- | clang/lib/Lex/ModuleMap.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Lex/HeaderMap.cpp b/clang/lib/Lex/HeaderMap.cpp index 09d53846d4c..0735d386e07 100644 --- a/clang/lib/Lex/HeaderMap.cpp +++ b/clang/lib/Lex/HeaderMap.cpp @@ -174,7 +174,7 @@ const char *HeaderMap::getString(unsigned StrTabIdx) const { //===----------------------------------------------------------------------===// /// dump - Print the contents of this headermap to stderr. -void HeaderMap::dump() const { +LLVM_DUMP_METHOD void HeaderMap::dump() const { const HMapHeader &Hdr = getHeader(); unsigned NumBuckets = getEndianAdjustedWord(Hdr.NumBuckets); diff --git a/clang/lib/Lex/MacroInfo.cpp b/clang/lib/Lex/MacroInfo.cpp index 0b4292fbeae..2ef4387b99b 100644 --- a/clang/lib/Lex/MacroInfo.cpp +++ b/clang/lib/Lex/MacroInfo.cpp @@ -126,7 +126,7 @@ bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, return true; } -void MacroInfo::dump() const { +LLVM_DUMP_METHOD void MacroInfo::dump() const { llvm::raw_ostream &Out = llvm::errs(); // FIXME: Dump locations. @@ -209,7 +209,7 @@ MacroDirective::findDirectiveAtLoc(SourceLocation L, SourceManager &SM) const { return DefInfo(); } -void MacroDirective::dump() const { +LLVM_DUMP_METHOD void MacroDirective::dump() const { llvm::raw_ostream &Out = llvm::errs(); switch (getKind()) { diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp index a7524028a22..f39928a44a8 100644 --- a/clang/lib/Lex/ModuleMap.cpp +++ b/clang/lib/Lex/ModuleMap.cpp @@ -853,7 +853,7 @@ void ModuleMap::setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap) { InferredModuleAllowedBy[M] = ModMap; } -void ModuleMap::dump() { +LLVM_DUMP_METHOD void ModuleMap::dump() { llvm::errs() << "Modules:"; for (llvm::StringMap<Module *>::iterator M = Modules.begin(), MEnd = Modules.end(); |