From eb2a25467e9ff2ef1976924957c0dfa31bda9e03 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Fri, 29 Jan 2016 20:50:44 +0000 Subject: 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 --- llvm/lib/MC/SubtargetFeature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/SubtargetFeature.cpp') diff --git a/llvm/lib/MC/SubtargetFeature.cpp b/llvm/lib/MC/SubtargetFeature.cpp index 7cce0fe756e..2e63f1e41e7 100644 --- a/llvm/lib/MC/SubtargetFeature.cpp +++ b/llvm/lib/MC/SubtargetFeature.cpp @@ -284,7 +284,7 @@ void SubtargetFeatures::print(raw_ostream &OS) const { #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) /// dump - Dump feature info. /// -void SubtargetFeatures::dump() const { +LLVM_DUMP_METHOD void SubtargetFeatures::dump() const { print(dbgs()); } #endif -- cgit v1.2.3