diff options
Diffstat (limited to 'lib/Index/Entity.cpp')
-rw-r--r-- | lib/Index/Entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Index/Entity.cpp b/lib/Index/Entity.cpp index fb3c7ae4c0..0551ae537a 100644 --- a/lib/Index/Entity.cpp +++ b/lib/Index/Entity.cpp @@ -126,8 +126,8 @@ Entity EntityGetter::VisitFunctionDecl(FunctionDecl *D) { } Entity EntityGetter::VisitFieldDecl(FieldDecl *D) { - // Make FieldDecl an internal Entity. - return Entity(D); + // Make FieldDecl an invalid Entity since it has no linkage. + return Entity(); } //===----------------------------------------------------------------------===// |