summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/Entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Index/Entity.cpp')
-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 749dcc89932..afac05c4137 100644
--- a/clang/lib/Index/Entity.cpp
+++ b/clang/lib/Index/Entity.cpp
@@ -141,7 +141,7 @@ Entity EntityGetter::VisitVarDecl(VarDecl *D) {
}
Entity EntityGetter::VisitFunctionDecl(FunctionDecl *D) {
- // If it's static it cannot be refered to by another translation unit.
+ // If it's static it cannot be referred to by another translation unit.
if (D->getStorageClass() == SC_Static)
return Entity(D);
OpenPOWER on IntegriCloud