summaryrefslogtreecommitdiff
path: root/lib/Option
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
commit55307987a11d765a4741d319f3ea19b6433263fd (patch)
treead2b8734b6c80dd0e909503cc271186b36ddb375 /lib/Option
parentb17df8b4d7fcad4f1593e309e9a15d596977af20 (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/Option')
-rw-r--r--lib/Option/Option.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Option/Option.cpp b/lib/Option/Option.cpp
index ebf05aab764..d191e0e9274 100644
--- a/lib/Option/Option.cpp
+++ b/lib/Option/Option.cpp
@@ -82,7 +82,7 @@ void Option::print(raw_ostream &O) const {
O << ">\n";
}
-void Option::dump() const { print(dbgs()); }
+LLVM_DUMP_METHOD void Option::dump() const { print(dbgs()); }
bool Option::matches(OptSpecifier Opt) const {
// Aliases are never considered in matching, look through them.