llvm.org GIT mirror llvm / 4c856ee
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 NAKAMURA Takumi 7 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
18451845 true,
18461846 false);
18471847
1848 funct->addFnAttr(llvm::Attribute::NoReturn);
1848 funct->setDoesNotReturn();
18491849
18501850 // _Unwind_Resume
18511851
18651865 true,
18661866 false);
18671867
1868 funct->addFnAttr(llvm::Attribute::NoReturn);
1868 funct->setDoesNotReturn();
18691869
18701870 // ourPersonality
18711871