summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/Record.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-06-21 22:55:50 +0000
committerJim Grosbach <grosbach@apple.com>2011-06-21 22:55:50 +0000
commit797cff050437d8bd9db53bd1de1e54e168155ae3 (patch)
treeba1ec250171f2626012be8efeb34c08a1b72096b /llvm/utils/TableGen/Record.h
parentd1955e78b4d5f2d6c592d10046bf9d23f804b304 (diff)
downloadbcm5719-llvm-797cff050437d8bd9db53bd1de1e54e168155ae3.tar.gz
bcm5719-llvm-797cff050437d8bd9db53bd1de1e54e168155ae3.zip
Consolidate some TableGen diagnostic helper functions.
TableGen had diagnostic printers sprinkled about in a few places. Pull them together into a single location in Error.cpp. llvm-svn: 133568
Diffstat (limited to 'llvm/utils/TableGen/Record.h')
-rw-r--r--llvm/utils/TableGen/Record.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/utils/TableGen/Record.h b/llvm/utils/TableGen/Record.h
index 522b719803c..c8905ccde79 100644
--- a/llvm/utils/TableGen/Record.h
+++ b/llvm/utils/TableGen/Record.h
@@ -1486,22 +1486,8 @@ struct LessRecordFieldName {
}
};
-
-class TGError {
- SMLoc Loc;
- std::string Message;
-public:
- TGError(SMLoc loc, const std::string &message) : Loc(loc), Message(message) {}
-
- SMLoc getLoc() const { return Loc; }
- const std::string &getMessage() const { return Message; }
-};
-
-
raw_ostream &operator<<(raw_ostream &OS, const RecordKeeper &RK);
-void PrintError(SMLoc ErrorLoc, const Twine &Msg);
-
} // End llvm namespace
#endif
OpenPOWER on IntegriCloud