diff options
Diffstat (limited to 'lib/Index/Entity.cpp')
-rw-r--r-- | lib/Index/Entity.cpp | 2 |
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 >>"; |