aboutsummaryrefslogtreecommitdiff
path: root/lib/Index/Entity.cpp
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
commitf7856437cfcf49523d81ebe1fc2351e3284dedfa (patch)
treef836529284a27d297cca7249754b786604d3acbb /lib/Index/Entity.cpp
parentb85bca2676b433ae555db09de4dd2823ff13b856 (diff)
constify methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/Entity.cpp')
-rw-r--r--lib/Index/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/Entity.cpp b/lib/Index/Entity.cpp
index c7924f65fc..25061e6150 100644
--- a/lib/Index/Entity.cpp
+++ b/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 >>";