forked from OSchip/llvm-project
Make FieldDecl an invalid Entity since it has no linkage.
llvm-svn: 107605
This commit is contained in:
parent
5776d439ca
commit
57012ee70d
|
@ -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();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue