Skip to content
Snippets Groups Projects
Commit 57012ee7 authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

Make FieldDecl an invalid Entity since it has no linkage.

llvm-svn: 107605
parent 5776d439
No related branches found
No related tags found
No related merge requests found
...@@ -126,8 +126,8 @@ Entity EntityGetter::VisitFunctionDecl(FunctionDecl *D) { ...@@ -126,8 +126,8 @@ Entity EntityGetter::VisitFunctionDecl(FunctionDecl *D) {
} }
Entity EntityGetter::VisitFieldDecl(FieldDecl *D) { Entity EntityGetter::VisitFieldDecl(FieldDecl *D) {
// Make FieldDecl an internal Entity. // Make FieldDecl an invalid Entity since it has no linkage.
return Entity(D); return Entity();
} }
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment