diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-15 04:48:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-15 04:48:22 +0000 |
commit | 9c6b60eb28d2717008f8d6ff52f7666ebc81113d (patch) | |
tree | 9fe55b0436d80911758e05f1b1c63b133ef7e147 /utils/TableGen/TableGen.cpp | |
parent | f722699f8a08e103f79d1074df8168e841933add (diff) |
various cleanups to tblgen, patch by Garrison Venn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r-- | utils/TableGen/TableGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 50543781ec..ab724af7d7 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -186,7 +186,7 @@ void llvm::PrintError(SMLoc ErrorLoc, const Twine &Msg) { static bool ParseFile(const std::string &Filename, const std::vector<std::string> &IncludeDirs, SourceMgr &SrcMgr, - RecordKeeper& Records) { + RecordKeeper &Records) { error_code ec; MemoryBuffer *F = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), ec); if (F == 0) { |