OSDN Git Service

Make SMDiagnostic a little more sane. Instead of passing around note/warning/error...
authorChris Lattner <sabre@nondot.org>
Sun, 16 Oct 2011 05:43:57 +0000 (05:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Oct 2011 05:43:57 +0000 (05:43 +0000)
commit3f2d5f60b31fd057c10f77b2e607b23a8c94f6d3
treee7c36aeb6ce5e3a57764d841e5a0f603b9e12bef
parentd8b7aa26134d2abee777f745c32005e63dea2455
Make SMDiagnostic a little more sane.  Instead of passing around note/warning/error as a
string, pass it around as an enum.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142107 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IRReader.h
include/llvm/Support/SourceMgr.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/Parser.cpp
lib/MC/MCParser/AsmParser.cpp
lib/Support/SourceMgr.cpp
lib/TableGen/Error.cpp
lib/VMCore/LLVMContext.cpp
tools/llvm-mc/Disassembler.cpp
tools/llvm-mc/llvm-mc.cpp
utils/FileCheck/FileCheck.cpp