ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated.

llvm-svn: 165796
This commit is contained in:
NAKAMURA Takumi 2012-10-12 14:11:48 +00:00
parent 8e70dd595c
commit 8489be8d1c
1 changed files with 2 additions and 2 deletions

View File

@ -1846,7 +1846,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
true, true,
false); false);
funct->addFnAttr(llvm::Attribute::NoReturn); funct->setDoesNotReturn();
// _Unwind_Resume // _Unwind_Resume
@ -1866,7 +1866,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
true, true,
false); false);
funct->addFnAttr(llvm::Attribute::NoReturn); funct->setDoesNotReturn();
// ourPersonality // ourPersonality