summaryrefslogtreecommitdiffstats
path: root/include/llvm/TableGen/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/TableGen/Error.h')
-rw-r--r--include/llvm/TableGen/Error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/TableGen/Error.h b/include/llvm/TableGen/Error.h
index c01b32b..fd5f805 100644
--- a/include/llvm/TableGen/Error.h
+++ b/include/llvm/TableGen/Error.h
@@ -29,6 +29,11 @@ public:
const std::string &getMessage() const { return Message; }
};
+void PrintWarning(SMLoc WarningLoc, const Twine &Msg);
+void PrintWarning(const char *Loc, const Twine &Msg);
+void PrintWarning(const Twine &Msg);
+void PrintWarning(const TGError &Warning);
+
void PrintError(SMLoc ErrorLoc, const Twine &Msg);
void PrintError(const char *Loc, const Twine &Msg);
void PrintError(const Twine &Msg);
OpenPOWER on IntegriCloud