diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-18 07:48:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-18 07:48:38 +0000 |
commit | 6d29c10564b3635449d0e01f53791e22488081ef (patch) | |
tree | d61b44062d827b5cc7fc44ebc62dbc9a42042cd6 /clang/lib/Parse/ParseTentative.cpp | |
parent | d55748ec471a66bfc9fc9bb8591f199f0567dfc4 (diff) | |
download | bcm5719-llvm-6d29c10564b3635449d0e01f53791e22488081ef.tar.gz bcm5719-llvm-6d29c10564b3635449d0e01f53791e22488081ef.zip |
Change a couple of the Parser::Diag methods to return DiagnosticInfo
and let the clients push whatever they want into the DiagnosticInfo
instead of hard coding a few forms. Also switch various clients to
use Diag(Tok, ...) instead of Diag(Tok.getLocation(), ...) as the
canonical form to simplify the code a bit.
llvm-svn: 59509
Diffstat (limited to 'clang/lib/Parse/ParseTentative.cpp')
0 files changed, 0 insertions, 0 deletions