Remove redundant and misleading check. This could also lead to painful cyclic
deserialization. llvm-svn: 204695
This commit is contained in:
parent
961eae5f95
commit
399a6035e0
|
@ -2955,7 +2955,7 @@ void ASTDeclReader::UpdateDecl(Decl *D, ModuleFile &ModuleFile,
|
|||
|
||||
case UPD_CXX_INSTANTIATED_FUNCTION_DEFINITION: {
|
||||
FunctionDecl *FD = cast<FunctionDecl>(D);
|
||||
if (FD->hasBody() || Reader.PendingBodies[FD])
|
||||
if (Reader.PendingBodies[FD])
|
||||
// FIXME: Maybe check for ODR violations.
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue