llvm-project/clang/test/Analysis/diagnostics
Artem Dergachev 388e19ff1f [analyzer] PR41239: Fix a crash on invalid source location in NoStoreFuncVisitor.
It turns out that SourceManager::isInSystemHeader() crashes when an invalid
source location is passed into it. Invalid source locations are relatively
common: not only they come from body farms, but also, say, any function in C
that didn't come with a forward declaration would have an implicit
forward declaration with invalid source locations.

There's a more comfy API for us to use in the Static Analyzer:
CallEvent::isInSystemHeader(), so just use that.

Differential Revision: https://reviews.llvm.org/D59901

llvm-svn: 357329
2019-03-29 22:57:49 +00:00
..
Inputs Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
deref-track-symbolic-region.c [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
deref-track-symbolic-region.cpp Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
dtors.cpp [analyzer] Make sure base-region and its sub-regions are either all alive or all dead. 2019-01-18 00:08:56 +00:00
explicit-suppression.cpp [analyzer] MoveChecker Pt.6: Suppress the warning for the move-safe STL classes. 2018-12-14 20:52:57 +00:00
false-positive-suppression.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
find_last_store.c [analyzer] Prevent crashes in FindLastStoreBRVisitor 2018-09-24 21:20:30 +00:00
implicit-cxx-std-suppression.cpp [analyzer] NFC: Run many existing C++ tests with a custom operator new(). 2018-01-24 21:24:10 +00:00
invalid-srcloc-fix.cpp [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
macro-null-return-suppression.cpp [analyzer] Bugfix for an overly eager suppression for null pointer return from macros. 2018-07-16 20:33:25 +00:00
macros.cpp [analyzer] ConditionBRVisitor: Unknown condition evaluation support 2019-03-16 13:47:55 +00:00
macros.m Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
no-prune-paths.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
no-store-func-path-notes.c [analyzer] PR41239: Fix a crash on invalid source location in NoStoreFuncVisitor. 2019-03-29 22:57:49 +00:00
no-store-func-path-notes.cpp [analyzer] [tests] [quickfix] Make more test more resilient for non-defaut -std. 2018-10-03 22:48:00 +00:00
no-store-func-path-notes.m [analyzer] Extend NoStoreFuncVisitor to follow fields. 2018-08-02 02:02:40 +00:00
plist-diagnostics-include-check.cpp [analyzer] [NFC] Change the tests by making the version check more resilient 2018-09-11 18:45:15 +00:00
plist-multi-file.c [analyzer] [NFC] Change the tests by making the version check more resilient 2018-09-11 18:45:15 +00:00
plist-multi-file.h [analyzer] Make plist-html diagnostic consumer produce multi-file reports. 2018-05-16 00:11:24 +00:00
report-issues-within-main-file.cpp [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
sarif-diagnostics-taint-test.c [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
sarif-multi-diagnostic-test.c [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
shortest-path-suppression.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
text-diagnostics.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
track_subexpressions.cpp [analyzer] Track non-zero values in ReturnVisitor 2018-08-22 23:17:25 +00:00
undef-value-callee.h
undef-value-caller.c [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
undef-value-param.c [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00
undef-value-param.m [analyzer] [NFC] Reverse the argument order for "diff" in tests 2019-01-10 18:15:44 +00:00