forked from OSchip/llvm-project
parent
1fc793e926
commit
0f143ae8af
|
@ -2271,7 +2271,7 @@ void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag,
|
|||
else
|
||||
Ty = getOrCreateType(VD->getType(), Unit);
|
||||
|
||||
// If there is not any debug info for type then do not emit debug info
|
||||
// If there is no debug info for this type then do not emit debug info
|
||||
// for this variable.
|
||||
if (!Ty)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue