[PATCH] D102151: [TableGen] Remove redundant `Error:` in msg (NFC)
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 10 06:20:19 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfefd03a89129: [TableGen] Remove redundant `Error:` in msg (NFC) (authored by qixingxue <qixingxue at outlook.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102151/new/
https://reviews.llvm.org/D102151
Files:
llvm/utils/TableGen/CodeGenTarget.cpp
llvm/utils/TableGen/ExegesisEmitter.cpp
Index: llvm/utils/TableGen/ExegesisEmitter.cpp
===================================================================
--- llvm/utils/TableGen/ExegesisEmitter.cpp
+++ llvm/utils/TableGen/ExegesisEmitter.cpp
@@ -98,9 +98,9 @@
: Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) {
std::vector<Record *> Targets = Records.getAllDerivedDefinitions("Target");
if (Targets.size() == 0)
- PrintFatalError("ERROR: No 'Target' subclasses defined!");
+ PrintFatalError("No 'Target' subclasses defined!");
if (Targets.size() != 1)
- PrintFatalError("ERROR: Multiple subclasses of Target defined!");
+ PrintFatalError("Multiple subclasses of Target defined!");
Target = std::string(Targets[0]->getName());
}
Index: llvm/utils/TableGen/CodeGenTarget.cpp
===================================================================
--- llvm/utils/TableGen/CodeGenTarget.cpp
+++ llvm/utils/TableGen/CodeGenTarget.cpp
@@ -251,9 +251,9 @@
: Records(records), CGH(records) {
std::vector<Record*> Targets = Records.getAllDerivedDefinitions("Target");
if (Targets.size() == 0)
- PrintFatalError("ERROR: No 'Target' subclasses defined!");
+ PrintFatalError("No 'Target' subclasses defined!");
if (Targets.size() != 1)
- PrintFatalError("ERROR: Multiple subclasses of Target defined!");
+ PrintFatalError("Multiple subclasses of Target defined!");
TargetRec = Targets[0];
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102151.344041.patch
Type: text/x-patch
Size: 1408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210510/ad1a6fdc/attachment.bin>
More information about the llvm-commits
mailing list