summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/diag-template-diffing-color.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Template Type Diffing changeRichard Trieu2016-02-021-12/+8
| | | | | | | When all the arguments of a template are elided, print "A<...>" instead of "A<[2 * ...]>". Also remove comment fragment that means nothing. llvm-svn: 259445
* Add new diff modes to template type diffing.Richard Trieu2016-01-151-2/+20
| | | | | | | | Remove an old assertion that does not hold. It is possible for a template argument to be a declaration in one instantiation and an integer in another. Create two new diff kinds for these (decl vs int and int vs decl). llvm-svn: 257869
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-2/+2
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Improve template diffing handling of default integer values.Richard Trieu2013-03-151-0/+14
| | | | | | | | | | When the template argument is both default and value dependent, the expression retrieved for the default argument cannot be evaluated, thus never matching any argument value. To get the proper value, get the template argument from the desugared template specialization. Also, output the original expression to provide more information about the argument mismatch. llvm-svn: 177209
* clang/test/Misc/diag-template-diffing-color.cpp: Symbolize color sequences ↵NAKAMURA Takumi2013-01-261-14/+14
| | | | | | in FileCheck. llvm-svn: 173561
* Update template type diffing to handle qualifiers. Differing qualifiers willRichard Trieu2012-09-281-0/+53
| | | | | | now be printed with highlighting. llvm-svn: 164843
* clang/test/Misc/diag-template-diffing-color.cpp: Introduce the feature ↵NAKAMURA Takumi2012-07-111-1/+1
| | | | | | 'ansi-escape-sequences'. llvm-svn: 160043
* Fix typos from r159463 and update tests. Added Matt Beaumont-Gay's suggestionRichard Trieu2012-06-291-2/+2
| | | | | | to improve wording of a diagnostic message. llvm-svn: 159473
* Update the %diff modifer to have an alternate string print when a template treeRichard Trieu2012-06-291-0/+11
| | | | | | | | | | is selected. This will allow more flexibility when converting diagnostics to use template type diffing. Also updated the internal manual and test cases for correctly keeping the bold attribute and for tree printing. llvm-svn: 159463
* clang/test/Misc/diag-template-diffing-color.cpp: Remove XFAIL:cygwin. Cygwin ↵NAKAMURA Takumi2012-06-291-1/+1
| | | | | | has some terminal emulation of escape sequences. llvm-svn: 159428
* Fix template type diffing coloring (r159216) when forcing color output to a ↵David Blaikie2012-06-281-0/+8
file (not a terminal) Reviewed (over the shoulder) by Richard Trieu. llvm-svn: 159381
OpenPOWER on IntegriCloud