Skip to content

Commit eb2a254

Browse files
committedJan 29, 2016
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
1 parent deec50a commit eb2a254

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+71
-72
lines changed
 

‎llvm/lib/Analysis/AliasSetTracker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ void AliasSetTracker::print(raw_ostream &OS) const {
608608
}
609609

610610
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
611-
void AliasSet::dump() const { print(dbgs()); }
612-
void AliasSetTracker::dump() const { print(dbgs()); }
611+
LLVM_DUMP_METHOD void AliasSet::dump() const { print(dbgs()); }
612+
LLVM_DUMP_METHOD void AliasSetTracker::dump() const { print(dbgs()); }
613613
#endif
614614

615615
//===----------------------------------------------------------------------===//

‎llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ScaledNumber<uint64_t> BlockMass::toScaled() const {
2727
return ScaledNumber<uint64_t>(getMass() + 1, -64);
2828
}
2929

30-
void BlockMass::dump() const { print(dbgs()); }
30+
LLVM_DUMP_METHOD void BlockMass::dump() const { print(dbgs()); }
3131

3232
static char getHexDigit(int N) {
3333
assert(N < 16);

0 commit comments

Comments
 (0)
Please sign in to comment.