summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorAditya Kumar <hiraditya@msn.com>2018-05-31 14:45:32 +0000
committerAditya Kumar <hiraditya@msn.com>2018-05-31 14:45:32 +0000
commit6995821e900d3dfa08a8b8f5be3ce4ce70fb3629 (patch)
treec209b1cd248f9e4aeef79f4f4cbb30da9499760d /clang/lib/Basic/IdentifierTable.cpp
parent2e41c5a79c164250751c76da332e2f7dac9e646e (diff)
downloadbcm5719-llvm-6995821e900d3dfa08a8b8f5be3ce4ce70fb3629.tar.gz
bcm5719-llvm-6995821e900d3dfa08a8b8f5be3ce4ce70fb3629.zip
Add dump method for selectors
Differential Revision: https://reviews.llvm.org/D45935 Reviewers: compnerd llvm-svn: 333657
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index 37703ca776d..2fef481ae2c 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -504,6 +504,8 @@ void Selector::print(llvm::raw_ostream &OS) const {
OS << getAsString();
}
+LLVM_DUMP_METHOD void Selector::dump() const { print(llvm::errs()); }
+
/// Interpreting the given string using the normal CamelCase
/// conventions, determine whether the given string starts with the
/// given "word", which is assumed to end in a lowercase letter.
OpenPOWER on IntegriCloud