forked from OSchip/llvm-project
parent
3e6e188ee3
commit
1d72888cfc
|
@ -270,7 +270,7 @@ public:
|
|||
// Read all of the declarations visible at global scope with this
|
||||
// name.
|
||||
Sema *SemaObj = Reader.getSema();
|
||||
if (!SemaObj) return II;
|
||||
if (Reader.getContext() == 0) return II;
|
||||
|
||||
while (DataLen > 0) {
|
||||
NamedDecl *D = cast<NamedDecl>(Reader.GetDecl(ReadUnalignedLE32(d)));
|
||||
|
|
Loading…
Reference in New Issue