summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-07-23 08:32:25 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-07-23 08:32:25 +0000
commitfdd52922c2ed7f9ae50009937f9187e1bfb9235e (patch)
tree1abf9a75292492a6176743f19a4cc8b2488d7236 /clang/lib/Index
parentedda8cbfad067b2520d8080cd45b433487ba2e7f (diff)
downloadbcm5719-llvm-fdd52922c2ed7f9ae50009937f9187e1bfb9235e.tar.gz
bcm5719-llvm-fdd52922c2ed7f9ae50009937f9187e1bfb9235e.zip
constify methods.
llvm-svn: 76873
Diffstat (limited to 'clang/lib/Index')
-rw-r--r--clang/lib/Index/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/Entity.cpp b/clang/lib/Index/Entity.cpp
index c7924f65fc3..25061e61501 100644
--- a/clang/lib/Index/Entity.cpp
+++ b/clang/lib/Index/Entity.cpp
@@ -156,7 +156,7 @@ Decl *Entity::getDecl(ASTContext &AST) {
return Val.get<EntityImpl *>()->getDecl(AST);
}
-std::string Entity::getPrintableName() {
+std::string Entity::getPrintableName() const {
if (isInvalid())
return "<< Invalid >>";
OpenPOWER on IntegriCloud