Feedback on r214189, no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren 2014-07-29 22:58:13 +00:00
parent b140034aeb
commit 70626f555c
3 changed files with 3 additions and 3 deletions

View File

@ -473,7 +473,7 @@ DIE *DwarfDebug::createScopeChildrenDIE(
// If we have more than one elements and the last one is null, it is a
// variadic function.
if (FnArgs.getNumElements() > 1 &&
!resolve(FnArgs.getElement(FnArgs.getNumElements() - 1)))
!FnArgs.getElement(FnArgs.getNumElements() - 1))
Children.push_back(
make_unique<DIE>(dwarf::DW_TAG_unspecified_parameters));
}

View File

@ -1168,7 +1168,7 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
bool isPrototyped = true;
if (Elements.getNumElements() == 2 &&
!resolve(Elements.getElement(1)))
!Elements.getElement(1))
isPrototyped = false;
constructSubprogramArguments(Buffer, Elements);

View File

@ -876,7 +876,7 @@ void DIBuilder::retainType(DIType T) {
/// createUnspecifiedParameter - Create unspeicified type descriptor
/// for the subroutine type.
DIBasicType DIBuilder::createUnspecifiedParameter() {
return DIBasicType(nullptr);
return DIBasicType();
}
/// createForwardDecl - Create a temporary forward-declared type that