aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/TableGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-04-18 17:46:31 +0000
committerJim Grosbach <grosbach@apple.com>2012-04-18 17:46:31 +0000
commit97c02bf2409bccdb43c3822c438e3ff977d8514e (patch)
tree5d6a506d74b0726b81c34409f1fbb62317b03a11 /include/llvm/TableGen
parentf5782e2d607aa86c894b15d20bd067d4b772389a (diff)
downloadexternal_llvm-97c02bf2409bccdb43c3822c438e3ff977d8514e.zip
external_llvm-97c02bf2409bccdb43c3822c438e3ff977d8514e.tar.gz
external_llvm-97c02bf2409bccdb43c3822c438e3ff977d8514e.tar.bz2
TableGen add warning diagnostic helper functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/TableGen')
-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);