aboutsummaryrefslogtreecommitdiff
path: root/lib/Index/Entity.cpp
diff options
context:
space:
mode:
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 25061e6150..85b4f2e196 100644
--- a/lib/Index/Entity.cpp
+++ b/lib/Index/Entity.cpp
@@ -145,7 +145,7 @@ std::string EntityImpl::getPrintableName() {
Entity::Entity(Decl *D) : Val(D->getCanonicalDecl()) { }
/// \brief Find the Decl that can be referred to by this entity.
-Decl *Entity::getDecl(ASTContext &AST) {
+Decl *Entity::getDecl(ASTContext &AST) const {
if (isInvalid())
return 0;