Normalize SourceMgr messages.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 30 Jun 2009 00:49:23 +0000 (00:49 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 30 Jun 2009 00:49:23 +0000 (00:49 +0000)
commit3fb7683bec8c8edb24e80c95f3b0668c6ecc0ae6
tree814b198e69a8c9b1b21c8f1281d501e7a01adde0
parent2bc29dc0bcb3c1441477a062e4a5cffff175c8ca
Normalize SourceMgr messages.
 - Don't print "Parsing" in front of every message.

 - Take additional "type" argument which is prepended to the message (with ": ")
   if given.

 - Update clients to print errors (warnings) as:
<filename>:<line number>: error(warning): ...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74489 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/SourceMgr.h
lib/Support/SourceMgr.cpp
tools/llvm-mc/AsmLexer.cpp
tools/llvm-mc/AsmLexer.h
tools/llvm-mc/AsmParser.cpp
tools/llvm-mc/AsmParser.h
tools/llvm-mc/llvm-mc.cpp
utils/TableGen/TGLexer.cpp
utils/TableGen/TableGen.cpp