enhance SMDiagnostic to also maintain a pointer to the SourceMgr.
authorChris Lattner <sabre@nondot.org>
Tue, 6 Apr 2010 18:06:18 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 6 Apr 2010 18:06:18 +0000 (18:06 +0000)
commitb019491b8d7b171cd0835ba34f3b28b24dfcc3e0
treedf8105db1abf53a82e43dbe4fa4c49d12299bc4f
parent98116f99b6bd766d98a650594d355dedc593d4d4
enhance SMDiagnostic to also maintain a pointer to the SourceMgr.
Add a simplified constructor for clients that don't have locations
like "file not found" errors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100538 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IRReader.h
include/llvm/Support/SourceMgr.h
lib/AsmParser/Parser.cpp
lib/Support/SourceMgr.cpp