remove obsolete method.
[oota-llvm.git] / include / llvm / Function.h
index ae51fe2f00b8288f4f27ccd4a6efb0b0e94b5801..28c301fe2f6f62dfd0cc9268b76abff510fd1673 100644 (file)
@@ -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 {