aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCLabel.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2016-01-29 20:50:44 +0000
committerYaron Keren <yaron.keren@gmail.com>2016-01-29 20:50:44 +0000
commiteb2a25467e9ff2ef1976924957c0dfa31bda9e03 (patch)
treec32c7925dbf37ea245a5e7b8b9028df73620a0e8 /llvm/lib/MC/MCLabel.cpp
parentdeec50a3d2339af731b42b5c9f7308f861acae5f (diff)
downloadllvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.zip
llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.tar.gz
llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.tar.bz2
Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment.
clang part in r259232, this is the LLVM part of the patch. llvm-svn: 259240
Diffstat (limited to 'llvm/lib/MC/MCLabel.cpp')
-rw-r--r--llvm/lib/MC/MCLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCLabel.cpp b/llvm/lib/MC/MCLabel.cpp
index 1d3022a..d973fc9 100644
--- a/llvm/lib/MC/MCLabel.cpp
+++ b/llvm/lib/MC/MCLabel.cpp
@@ -17,7 +17,7 @@ void MCLabel::print(raw_ostream &OS) const {
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void MCLabel::dump() const {
+LLVM_DUMP_METHOD void MCLabel::dump() const {
print(dbgs());
}
#endif