aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index ae51fe2..28c301f 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -178,6 +178,7 @@ public:
/// @brief Determine if the function cannot return.
bool doesNotReturn() const { return paramHasAttr(0, ParamAttr::NoReturn); }
+ void setDoesNotThrow(bool doesNotThrow = true);
/// @brief Determine if the function cannot unwind.
bool doesNotThrow() const {