diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
commit | 55307987a11d765a4741d319f3ea19b6433263fd (patch) | |
tree | ad2b8734b6c80dd0e909503cc271186b36ddb375 /lib/Support/BranchProbability.cpp | |
parent | b17df8b4d7fcad4f1593e309e9a15d596977af20 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/BranchProbability.cpp')
-rw-r--r-- | lib/Support/BranchProbability.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/BranchProbability.cpp b/lib/Support/BranchProbability.cpp index 771d02c0aa3..1c41659cf8d 100644 --- a/lib/Support/BranchProbability.cpp +++ b/lib/Support/BranchProbability.cpp @@ -32,7 +32,7 @@ raw_ostream &BranchProbability::print(raw_ostream &OS) const { Percent); } -void BranchProbability::dump() const { print(dbgs()) << '\n'; } +LLVM_DUMP_METHOD void BranchProbability::dump() const { print(dbgs()) << '\n'; } BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { assert(Denominator > 0 && "Denominator cannot be 0!"); |