[llvm-commits] [llvm] r165796 - /llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Oct 12 07:11:48 PDT 2012
Author: chapuni
Date: Fri Oct 12 09:11:48 2012
New Revision: 165796
URL: http://llvm.org/viewvc/llvm-project?rev=165796&view=rev
Log:
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated.
Modified:
llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
Modified: llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp?rev=165796&r1=165795&r2=165796&view=diff
==============================================================================
--- llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp (original)
+++ llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp Fri Oct 12 09:11:48 2012
@@ -1846,7 +1846,7 @@
true,
false);
- funct->addFnAttr(llvm::Attribute::NoReturn);
+ funct->setDoesNotReturn();
// _Unwind_Resume
@@ -1866,7 +1866,7 @@
true,
false);
- funct->addFnAttr(llvm::Attribute::NoReturn);
+ funct->setDoesNotReturn();
// ourPersonality
More information about the llvm-commits
mailing list