summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/diagnostics/Inputs/include
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Add more FileIDs to PlistDiagnostic map to avoid assertionAleksei Sidorin2016-09-012-0/+10
| | | | | | | | | | | | | Some FileIDs that may be used by PlistDiagnostics were not added while building a list of pieces. This caused assertion violation in GetFID() function. This patch adds some missing FileIDs to avoid the assertion. It also contains small refactoring of PlistDiagnostics::FlushDiagnosticsImpl(). Patch by Aleksei Sidorin, Ilya Palachev. Differential Revision: https://reviews.llvm.org/D22090 llvm-svn: 280360
* [analyzer] Do not assert on reports ending in calls within macros.Anna Zaks2013-05-221-1/+25
| | | | | | | | | The crash is triggered by the newly added option (-analyzer-config report-in-main-source-file=true) introduced in r182058. Note, ideally, we’d like to report the issue within the main source file here as well. For now, just do not crash. llvm-svn: 182445
* [analyzer] Add an option to use the last location in the main source file as ↵Anna Zaks2013-05-161-0/+19
| | | | | | | | | | | | | the report location. Previously, we’ve used the last location of the analyzer issue path as the location of the report. This might not provide the best user experience, when one analyzer a source file and the issue appears in the header. Introduce an option to use the last location of the path that is in the main source file as the report location. New option can be enabled with -analyzer-config report-in-main-source-file=true. llvm-svn: 182058
* [analyzer] Do not check if sys/queue.h file is a system header.Anna Zaks2013-05-101-1/+0
| | | | | | | In most cases it is, by just looking at the name. Also, this check prevents the heuristic from working in strange user settings. radar://13839692 llvm-svn: 181615
* Move an input header file under an Inputs directory to be consistentChandler Carruth2013-01-191-0/+5
with other auxilliary test inputs and simplify the identification of inputs to tests. llvm-svn: 172890
OpenPOWER on IntegriCloud