commit | 4c856ee1f8672de5da97d73c05687420eb0049e2 | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Oct 12 14:11:48 2012 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Oct 12 14:11:48 2012 +0000 |
tree | 9b4fdef50ce3b4ef7aaf17deb98a32328c0e1bbc | |
parent | 9f469a0ca36a6b07c863bffa52357f3db3afcec8 [diff] [blame] |
ExceptionDemo.cpp: Use Function::setDoesNotReturn(). Attributes stuff was updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165796 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp index 276c30d..215cb4d 100644 --- a/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/examples/ExceptionDemo/ExceptionDemo.cpp
@@ -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