History log of /llvm-project/llvm/lib/Support/SourceMgr.cpp (Results 76 – 91 of 91)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0, llvmorg-2.7.0
# 97c4cb89 06-Apr-2010 Chris Lattner <sabre@nondot.org>

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.

llvm-svn: 100538


# 65409139 06-Apr-2010 Chris Lattner <sabre@nondot.org>

give the SourceMgr object a cookie.

llvm-svn: 100504


# 3c799811 06-Apr-2010 Chris Lattner <sabre@nondot.org>

Give llvm::SourceMgr the ability to have a client-specified
diagnostic handler.

llvm-svn: 100503


# 76be2d1c 27-Jan-2010 Mikhail Glushenkov <foldr@codedgers.com>

Make SMDiagnostic::Print a const method.

llvm-svn: 94672


# 84afae33 27-Jan-2010 Mikhail Glushenkov <foldr@codedgers.com>

Trailing whitespace.

llvm-svn: 94671


# 7c675909 21-Jan-2010 Dan Gohman <gohman@apple.com>

Avoid printing a spurious semicolon when there is no filename.

llvm-svn: 94071


# 5a308f53 22-Nov-2009 Daniel Dunbar <daniel@zuster.org>

SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the source line output.

llvm-svn: 89627


Revision tags: llvmorg-2.6.0
# 5d47e935 11-Aug-2009 Chris Lattner <sabre@nondot.org>

add a trivial line # cache to SourceMgr to make repeated queries to
FindLineNumber much faster when in sequence.

llvm-svn: 78693


# 200e0757 02-Jul-2009 Chris Lattner <sabre@nondot.org>

switch the .ll parser to use SourceMgr.

llvm-svn: 74735


# cc64cc93 02-Jul-2009 Chris Lattner <sabre@nondot.org>

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

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
^

llvm-svn: 74732

show more ...


# c9dc78ae 30-Jun-2009 Daniel Dunbar <daniel@zuster.org>

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

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): ...

llvm-svn: 74489

show more ...


# 2adc9e73 21-Jun-2009 Chris Lattner <sabre@nondot.org>

rename SourceMgr::PrintError to PrintMessage.

llvm-svn: 73861


# 976af622 21-Jun-2009 Chris Lattner <sabre@nondot.org>

move include searching logic from TGLexer to SourceMgr.

llvm-svn: 73845


# fd255754 21-Jun-2009 Chris Lattner <sabre@nondot.org>

Rename TGSourceMgr -> SourceMgr.

llvm-svn: 73844


# 526c8cb5 21-Jun-2009 Chris Lattner <sabre@nondot.org>

rename TGLoc -> SMLoc.

llvm-svn: 73843


# 1b30e1ac 21-Jun-2009 Chris Lattner <sabre@nondot.org>

move TGSourceMgr class out of TableGen into libsupport.

llvm-svn: 73842


1234