commit | 2f510aed9cbd24dca1fdc5aabe27325e5ade9e1a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jul 02 22:24:20 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jul 02 22:24:20 2009 +0000 |
tree | 0eef4089f7d6dcd6687658ba20d4d9f0cc5aed9b | |
parent | b50ea5c48f8b1ce259e034ca5c16dc14af1a582c [diff] |
add an explicit class for holding llvm::SourceMgr diagnostics and use it to print them. This gives us column numbers in the diag line. Before: t.s:4: error: unexpected token in argument list mov %eax %edx ^ now: t.s:4:11: error: unexpected token in argument list mov %eax %edx ^ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74732 91177308-0d34-0410-b5e6-96231b3b80d8