In preparation for removing exception handling in tablegen, add
[oota-llvm.git] / include / llvm / TableGen / Error.h
index 5c1c3adf7e74ea518826b0b8ae6d5aca6c6b527f..3f7b7f4e8c41bd4d3a95c7ef412024a5d6a99a50 100644 (file)
@@ -40,6 +40,9 @@ void PrintError(const char *Loc, const Twine &Msg);
 void PrintError(const Twine &Msg);
 void PrintError(const TGError &Error);
 
+LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const std::string &Msg);
+LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
+                                             const std::string &Msg);
 
 extern SourceMgr SrcMgr;