Dmitri Gribenko
632d58afab
Fix an infinite loop in comment lexer: we were not advancing in the input character stream when we saw a '<' that is not a start of an HTML tag.
...
llvm-svn: 159303
2012-06-27 23:28:29 +00:00
Dmitri Gribenko
1669f70273
Remove unsigned and a pointer from a comment token (so that each token can have only one semantic string value attached to it), at a cost of adding an additional token.
...
llvm-svn: 159270
2012-06-27 16:53:58 +00:00
Dmitri Gribenko
5188c4b9cc
Implement a lexer for structured comments.
...
llvm-svn: 159223
2012-06-26 20:39:18 +00:00
Richard Smith
f6f003af6a
C++11 constexpr: Add note stacks containing backtraces if constant evaluation
...
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit
argument to driver and frontend, to control the maximum number of notes so
produced (default 10). Fix APValue printing to be able to pretty-print all
APValue types, and move the testing for this functionality from a unittest to
a -verify test now that it's visible in clang's output.
llvm-svn: 146749
2011-12-16 19:06:07 +00:00
Douglas Gregor
8fd12c58b1
Attempt to fix unit tests
...
llvm-svn: 140748
2011-09-29 00:53:49 +00:00
David Blaikie
b5784324b3
Rename DiagnosticInfo to Diagnostic as per issue 5397
...
llvm-svn: 140493
2011-09-26 01:18:08 +00:00
David Blaikie
e2eefaecc8
Rename DiagnosticClient to DiagnosticConsumer as per issue 5397
...
llvm-svn: 140479
2011-09-25 23:39:51 +00:00
David Blaikie
9c902b5502
Rename Diagnostic to DiagnosticsEngine as per issue 5397
...
llvm-svn: 140478
2011-09-25 23:23:43 +00:00
Jeffrey Yasskin
d2af962eee
Define DiagnosticBuilder<<APValue so it's easy to include APValues in
...
diagnostics.
llvm-svn: 135398
2011-07-18 16:43:53 +00:00