git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-02-28 21:27:59 +00:00
parent ede487cdb4
commit ffbfa9f259

View File

@ -1101,7 +1101,8 @@ DISubprogram DIBuilder::createFunction(DIDescriptor Context, StringRef Name,
if (isDefinition)
AllSubprograms.push_back(Node);
DISubprogram S(Node);
assert(S.isSubprogram() && "createFunction should return a valid DISubprogram");
assert(S.isSubprogram() &&
"createFunction should return a valid DISubprogram");
return S;
}