summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/TableGen/Error.cpp')
-rw-r--r--llvm/lib/TableGen/Error.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/TableGen/Error.cpp b/llvm/lib/TableGen/Error.cpp
index fd089356625..b4830178a26 100644
--- a/llvm/lib/TableGen/Error.cpp
+++ b/llvm/lib/TableGen/Error.cpp
@@ -39,6 +39,10 @@ static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
"instantiated from multiclass");
}
+void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) {
+ PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg);
+}
+
void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg);
}
OpenPOWER on IntegriCloud