Skip to content

Commit

Permalink
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff…
Browse files Browse the repository at this point in the history
… was updated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165796 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Oct 12, 2012
1 parent 9f469a0 commit 4c856ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ExceptionDemo/ExceptionDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
true,
false);

funct->addFnAttr(llvm::Attribute::NoReturn);
funct->setDoesNotReturn();

// _Unwind_Resume

Expand All @@ -1866,7 +1866,7 @@ static void createStandardUtilityFunctions(unsigned numTypeInfos,
true,
false);

funct->addFnAttr(llvm::Attribute::NoReturn);
funct->setDoesNotReturn();

// ourPersonality

Expand Down

0 comments on commit 4c856ee

Please sign in to comment.