Balázs Kéri
085dcc8217
[clang][Frontend] Fix a crash in DiagnosticRenderer.
...
Displaying the problem range could crash if the begin and end of a
range is in different files or macros. After the change such range
is displayed only as the beginning location.
There is a bug for this problem:
https://bugs.llvm.org/show_bug.cgi?id=46540
Reviewed By: steakhal
Differential Revision: https://reviews.llvm.org/D95860
2021-02-17 09:02:49 +01:00
Hubert Tong
15e3e95263
[analyzer][NFC][tests] Pre-normalize expected-plists
...
As suggested in the review for D62949, this patch pre-normalizes the
reference expected output plist files by removing lines containing
fields for which we expect differences that should be ignored.
llvm-svn: 362877
2019-06-08 13:51:37 +00:00
George Karpenkov
8a88c83593
Revert "Revert "Revert "Revert "[analyzer] Add coverage information to plist output, update tests""""
...
This reverts commit 2f5d71d9fa135be86bb299e7d773036e50bf1df6.
Hopefully fixing tests on Windows.
llvm-svn: 341719
2018-09-07 21:58:24 +00:00
Simon Pilgrim
b746df0b0a
Revert "Revert "Revert "[analyzer] Add coverage information to plist output, update tests"""
...
Reverts analyzer tests from rL341627 again as they still broke windows buildbots
llvm-svn: 341648
2018-09-07 10:27:16 +00:00
George Karpenkov
d7acacab94
Revert "Revert "[analyzer] Add coverage information to plist output, update tests""
...
This reverts commit a39bcab414dd7ace7e490363ecdf01ecce7743fc.
Reverting the revert, fixing tests.
llvm-svn: 341627
2018-09-07 02:02:35 +00:00
George Karpenkov
4762fb5d11
Revert "[analyzer] Add coverage information to plist output, update tests"
...
This reverts commit 03d183b6b94eda27ce66a4f9b87a00b0a148cf9e.
Temporary revert until the tests are fixed.
llvm-svn: 341626
2018-09-07 01:39:23 +00:00
George Karpenkov
bb313b797d
[analyzer] Add coverage information to plist output, update tests
...
Split tests which were still using FileCheck to compare plists.
Differential Revision: https://reviews.llvm.org/D51515
llvm-svn: 341621
2018-09-07 00:44:17 +00:00
Richard Smith
5b2636142a
Move test inputs into Inputs directory.
...
We don't need a new ExpectedOutputs/ convention. Expected outputs are
just another form of test input.
llvm-svn: 339634
2018-08-14 00:18:48 +00:00