[analyzer] Add more FileIDs to PlistDiagnostic map to avoid assertionSome FileIDs that may be used by PlistDiagnostics were not added while buildinga list of pieces. This caused assertion violatio
[analyzer] Add more FileIDs to PlistDiagnostic map to avoid assertionSome FileIDs that may be used by PlistDiagnostics were not added while buildinga list of pieces. This caused assertion violation in GetFID() function.This patch adds some missing FileIDs to avoid the assertion. It also containssmall refactoring of PlistDiagnostics::FlushDiagnosticsImpl().Patch by Aleksei Sidorin, Ilya Palachev.Differential Revision: https://reviews.llvm.org/D22090llvm-svn: 280360
show more ...
[analyzer] Do not assert on reports ending in calls within macros.The crash is triggered by the newly added option (-analyzer-config report-in-main-source-file=true) introduced in r182058.Note, i
[analyzer] Do not assert on reports ending in calls within macros.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 the report location.Previously, we’ve used the last location of the analyzer issue path as the location of thereport. T
[analyzer] Add an option to use the last location in the main source file as the report location.Previously, we’ve used the last location of the analyzer issue path as the location of thereport. This might not provide the best user experience, when one analyzer a sourcefile and the issue appears in the header. Introduce an option to use the last locationof 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.In most cases it is, by just looking at the name. Also, this check prevents the heuristic from working in strange user settings.radar
[analyzer] Do not check if sys/queue.h file is a system header.In most cases it is, by just looking at the name. Also, this check prevents the heuristic from working in strange user settings.radar://13839692llvm-svn: 181615
Move an input header file under an Inputs directory to be consistentwith other auxilliary test inputs and simplify the identification ofinputs to tests.llvm-svn: 172890