llvm-project/clang/test/Analysis
Artem Dergachev 9b1e4a8218 [analyzer] Fix NSErrorChecker false positives on constructors.
Constructors and delete operators cannot return a boolean value.
Therefore they cannot possibly follow the NS/CFError-related coding
conventions.

Patch by Valeriy Savchenko!

Differential Revision: https://reviews.llvm.org/D77551
2020-04-06 20:33:38 +03:00
..
Checkers [analyzer] RunLoopAutoreleaseLeakChecker: Come up with a test for r348822. 2018-12-13 01:30:47 +00:00
Inputs [Analyzer] Iterator Modeling - Model `std::advance()`, `std::prev()` and `std::next()` 2020-03-23 15:29:55 +01:00
cert [analyzer] CERT: POS34-C 2020-02-19 18:12:19 +01:00
copypaste Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
diagnostics [analyzer] Fix SARIF column locations 2020-01-14 15:38:30 -05:00
engine
exploded-graph-rewriter [analyzer] Fix scan-build and exploded-graph-rewriter tests on Windows. 2020-04-06 20:33:37 +03:00
exploration_order [analyzer] Fix the filename for the exploration_order test. 2018-05-11 20:38:39 +00:00
html_diagnostics [analyzer] Fix a couple of bugs in HTML report generation. 2020-02-05 17:16:38 +03:00
inlining Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
objc Fix typos in clang 2018-04-06 15:14:32 +00:00
scan-build [analyzer] Fix scan-build and exploded-graph-rewriter tests on Windows. 2020-04-06 20:33:37 +03:00
unified-sources [analyzer] Enable analysis of WebKit "unified sources". 2018-04-25 21:51:26 +00:00
z3 [Analyzer][Z3] Test fixes for Z3 constraint manager 2018-06-06 06:25:51 +00:00
CFContainers-invalid.c
CFContainers.mm [analyzer] ObjCContainers: Track index values. 2018-12-15 02:06:13 +00:00
CFNumber.c
CFRetainRelease_NSAssertionHandler.m
CGColorSpace.c
CheckNSError.m
DeallocMissingRelease.m
DeallocUseAfterFreeErrors.m
DeleteWithNonVirtualDtor.cpp [analyzer] Add new delete with non-virtual destructor check 2017-09-22 10:16:33 +00:00
DynamicTypePropagation.m [analyzer] Fix a crash when an ObjC object is constructed in AllocaRegion. 2017-06-12 17:59:50 +00:00
MPIMock.h
Malloc+MismatchedDeallocator+NewDelete.cpp Revert rC349281 '[analyzer][MallocChecker][NFC] Document and reorganize some functions' 2018-12-17 12:07:57 +00:00
Malloc+MismatchedDeallocator_intersections.cpp
Malloc+NewDelete_intersections.cpp
MemRegion.cpp
MismatchedDeallocator-checker-test.mm [analyzer] NFC: Run many existing C++ tests with a custom operator new(). 2018-01-24 21:24:10 +00:00
MismatchedDeallocator-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
MissingDealloc.m [analyzer] ObjCDealloc: Fix a crash when a class attempts to deallocate a class. 2018-12-15 02:09:02 +00:00
NSContainers.m [analyzer] Fix skipping the call during inlined defensive check suppression. 2019-11-08 18:27:14 -08:00
NSPanel.m
NSString.m
NSWindow.m
NewDelete+MismatchedDeallocator_intersections.cpp [analyzer] Reimplement dependencies between checkers 2019-01-26 20:06:54 +00:00
NewDelete-atomics.cpp [analyzer] Suppress more MallocChecker positives in smart pointer destructors. 2018-03-21 00:49:47 +00:00
NewDelete-checker-test.cpp [analyzer] Reimplement dependencies between checkers 2019-01-26 20:06:54 +00:00
NewDelete-custom.cpp [analyzer] pr39348: MallocChecker: Realize that sized delete isn't custom delete. 2018-11-01 00:43:35 +00:00
NewDelete-intersections.mm [analyzer] NFC: Run many existing C++ tests with a custom operator new(). 2018-01-24 21:24:10 +00:00
NewDelete-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
NewDelete-sized-deallocation.cpp [analyzer] pr39348: MallocChecker: Realize that sized delete isn't custom delete. 2018-11-01 00:43:35 +00:00
NewDelete-variadic.cpp
NewDeleteLeaks-PR18394.cpp
NewDeleteLeaks-PR19102.cpp [analyzer] Suppress "this" pointer escape during construction. 2018-01-18 00:44:41 +00:00
NoReturn.m
OSAtomic_mac.c [analyzer] Unbreak body farms in presence of multiple declarations. 2019-04-23 02:56:00 +00:00
OSAtomic_mac.cpp
ObjCProperties.m
ObjCPropertiesSyntaxChecks.m
ObjCRetSigs.m
PR2978.m
PR3991.m
PR7218.c
PR9741.cpp
PR12905.c
PR24184.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
PR37855.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
PR38208.c Fix for last commit: adding new test file forgotten. 2018-07-23 10:53:02 +00:00
PR40625.cpp [Analyzer] Fix for test file of bug 40625 2019-02-15 12:33:42 +00:00
SpecialFunctionsCFError.cpp [analyzer] Fix NSErrorChecker false positives on constructors. 2020-04-06 20:33:38 +03:00
_Bool-increment-decrement.c [Analyzer] More accurate modeling about the increment operator of the operand with type bool. 2018-03-06 12:29:09 +00:00
a_flaky_crash.cpp [CFG] Fix a flaky crash in CFGBlock::getLastCondition(). 2019-11-21 21:55:58 -08:00
additive-folding-range-constraints.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
additive-folding.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
aggrinit-cfg-output.cpp [CFG] Add an option to expand CXXDefaultInitExpr into aggregate initialization 2019-12-17 17:56:06 -08:00
analyzeOneFunction.m Fix typos in clang 2018-04-06 15:14:32 +00:00
analyzer-checker-config.c [analyzer] Add CheckerManager::getChecker, make sure that a registry function registers no more than 1 checker 2019-01-26 21:41:50 +00:00
analyzer-checker-option-help.c [analyzer] List checker/plugin options in 3 categories: released, alpha, developer 2019-05-23 22:52:09 +00:00
analyzer-config.c [analyzer] AnalyzerOptions: Remove 'fixits-as-remarks' 2020-03-04 06:56:32 +01:00
analyzer-display-progress.cpp
analyzer-display-progress.m
analyzer-enabled-checkers.c [analyzer] Add core.CallAndMessage to StdCLibraryFunctionArgsChecker's dependency 2020-03-30 17:57:15 +02:00
analyzer-list-configs.c [analyzer] Add a new frontend flag to display all checker options 2019-05-23 20:47:28 +00:00
analyzer-stats.c [analyzer] Prevent AnalyzerStatsChecker from crash 2018-02-21 16:06:56 +00:00
analyzer_test.py [analyzer] [NFC] Introduce separate targets for testing the analyzer: check-clang-analyzer and check-clang-analyzer-z3 2018-08-13 23:12:43 +00:00
arc-zero-init.m [analyzer] Fix zero-initialization of stack VLAs under ObjC ARC. 2017-12-21 18:43:02 +00:00
array-struct-region.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
array-struct-region.cpp Merge and improve code that detects same value in comparisons. 2019-09-21 03:02:26 +00:00
array-struct.c
asm-goto.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
asm.cpp [AST, analyzer] Transform rvalue cast outputs to lvalues (fheinous-gnu-extensions) 2018-10-20 22:49:23 +00:00
atomics.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
auto-obj-dtors-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
autoreleasewritechecker_test.m [analyzer] Extend ObjCAutoreleaseWriteChecker to catch block declarations with autoreleasing variables 2018-05-16 22:47:05 +00:00
base-init.cpp
bitwise-ops.c [analyzer] Fix constraint being dropped when analyzing a program without taint tracking enabled 2018-07-16 13:14:46 +00:00
block-in-critical-section.cpp [analyzer] lock_guard and unique_lock extension for BlockInCriticalSection checker 2017-10-30 10:09:55 +00:00
block-in-critical-section.m Add missing expected-no-diagnostics comment to test. 2017-10-30 09:01:48 +00:00
blocks-no-inline.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
blocks.m [analyzer] Fix false positive on introspection of a block's internal layout. 2019-12-06 13:24:20 -08:00
blocks.mm Defer capture initialization for blocks until after we've left the 2019-05-31 00:45:09 +00:00
bool-assignment.c Revert "[analyzer] Support generating and reasoning over more symbolic constraint types" 2017-07-12 21:43:42 +00:00
bool-increment.cpp [Analyzer] More accurate modeling about the increment operator of the operand with type bool. 2018-03-06 12:29:09 +00:00
bsd-string.c [analyzer] CStringChecker: Fix a crash on unknown value passed to strlcat. 2019-12-13 18:00:24 -08:00
bstring.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
bstring.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
bug_hash_test.cpp [analyzer] Use the signature of the primary template for issue hash calculation 2017-10-30 12:16:07 +00:00
bug_hash_test.m [analyzer] Make issue hash related tests more concise 2017-10-30 12:02:23 +00:00
builtin-functions.cpp [analyzer] When failing to evaluate a __builtin_constant_p, presume it's false. 2019-04-03 01:53:40 +00:00
builtin_signbit.cpp
c11lock.c [analyzer] Add FuchsiaLockChecker and C11LockChecker 2020-01-27 13:55:56 -08:00
call-invalidation.cpp Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
call_once.cpp [analyzer] Do not crash on callback for call_once passed by value 2018-05-16 00:29:13 +00:00
cast-to-struct.cpp
cast-value-logic.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cast-value-notes.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cast-value-state-dump.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cast-value-weird.cpp [analyzer] pr43179: Make CallDescription defensive against C variadic functions. 2019-09-06 20:55:24 +00:00
castexpr-callback.c
casts.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
casts.cpp [analyzer] pr38668: Do not attempt to cast loaded integers to floats. 2018-12-22 02:06:51 +00:00
casts.m
cfg-indirect-goto-determinism.cpp [Analyzer] Stable iteration on indirect goto LabelDecl's to avoid non-determinism (attempt 2) 2017-11-21 11:27:47 +00:00
cfg-openmp.cpp [OPENMP]Dow not emit warnings for uninitialized loop counters. 2019-10-17 20:35:08 +00:00
cfg-rich-constructors.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
cfg-rich-constructors.mm [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
cfg.cpp Improve -Wtautological-overlap-compare 2019-09-21 02:37:10 +00:00
cfref_PR2519.c
cfref_rdar6080742.c
check-analyzer-fixit.py [analyzer] decode() a bytes object to make Python3 happy 2020-03-04 17:12:48 +00:00
check-deserialization.cpp
checker-dependencies.c [analyzer] Fix an assertion failure if plugins added dependencies 2019-04-19 11:01:35 +00:00
checker-plugins.c [analyzer] Disable the checker-plugins test on Darwin. 2019-08-13 23:04:44 +00:00
chroot.c
comparison-implicit-casts.cpp
complex-init-list.cpp
complex.c [analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType 2019-05-18 12:34:08 +00:00
compound-literals.c [Sema] Mark GNU compound literal array init as an rvalue. 2019-02-11 22:54:27 +00:00
concrete-address.c
conditional-operator.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
conditional-path-notes.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
const-method-call.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
constant-folding.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
constraint_manager_negate_difference.c [Analyzer] Constraint Manager - Calculate Effective Range for Differences 2019-03-28 13:05:59 +00:00
container-modeling-no-aggressive-binary-operation-simplification-warn.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
container-modeling.cpp [Analyzer] Only add container note tags to the operations of the affected container 2020-03-26 09:44:16 +01:00
conversion.c [analyzer] ConversionChecker: handle floating point 2018-11-16 01:00:55 +00:00
copy-elision.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
copy-elision.mm [analyzer] Fix a crash when doing RVO from within blocks. 2019-05-07 22:33:13 +00:00
coverage.c
crash-trace.c Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
cstring-plist.c [analyzer][NFC] Prettify some RUN: lines in test files. 2019-05-23 15:49:04 +00:00
cstring-ranges.c [analyzer] CStringChecker: Improve warning messages. 2019-12-11 11:22:36 -08:00
cstring-syntax-cxx.cpp
cstring-syntax-weird.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
cstring-syntax-weird2.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
cstring-syntax.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
ctor.mm [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
ctu-different-triples.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
ctu-hdr.h [analyzer][ctu] fix unsortable diagnostics 2018-07-04 14:12:58 +00:00
ctu-import-threshold.c [analyzer] Add analyzer option to limit the number of imported TUs 2019-07-08 12:37:10 +00:00
ctu-main.c [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00
ctu-main.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
ctu-unknown-parts-in-triples.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cxx-callgraph.cpp [CallGraph] Take into accound calls that aren't within any function bodies. 2019-08-20 02:22:37 +00:00
cxx-crashes.cpp
cxx-for-range-cfg.cpp
cxx-for-range.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
cxx-inherited-ctor-init-expr.cpp [analyzer] Skip analysis of inherited ctor as top-level function 2020-03-09 12:05:11 +01:00
cxx-inherited-ctor-is-skipped-as-top-level.cpp [analyzer] Skip analysis of inherited ctor as top-level function 2020-03-09 12:05:11 +01:00
cxx-method-names.cpp
cxx-uninitialized-object-inheritance.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-no-dereference.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-notes-as-warnings.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-ptr-ref.cpp [analyzer][UninitializedObjectChecker] PR41611: Regard vector types as primitive 2019-04-30 08:47:56 +00:00
cxx-uninitialized-object-unguarded-access.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-unionlike-constructs.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object.cpp [analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType 2019-05-18 12:34:08 +00:00
cxx11-crashes.cpp
cxxnewexpr-callback-inline.cpp [analyzer] operator new: Fix callback order for CXXNewExpr. 2018-01-18 00:53:50 +00:00
cxxnewexpr-callback-noinline.cpp [analyzer] operator new: Fix callback order for CXXNewExpr. 2018-01-18 00:53:50 +00:00
dead-stores.c [analyzer] AnalyzerOptions: Remove 'fixits-as-remarks' 2020-03-04 06:56:32 +01:00
dead-stores.cpp [analyzer] Add a checker option to detect nested dead stores 2019-09-03 15:22:43 +00:00
dead-stores.m [analyzer] Add a checker option to detect nested dead stores 2019-09-03 15:22:43 +00:00
deadstores-driverkit.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
debug-CallGraph.cpp [[Clang CallGraph]] CallGraph should still record calls to decls. 2020-03-20 08:55:23 -07:00
debug-container-modeling.cpp [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
debug-exprinspection-istainted.c [analyzer][taint] Add isTainted debug expression inspection check 2020-03-03 14:40:23 +01:00
debug-iterator-modeling.cpp [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
default-analyze.m
default-diagnostic-visitors.c
delayed-template-parsing-crash.cpp
delegates.m
derived-to-base.cpp
designated-initializer-values.c [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
designated-initializer.c [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
disable-all-checks.c [analyzer][NFC] Reimplement checker options 2019-04-19 12:32:10 +00:00
dispatch-once.m
div-zero.cpp
division-by-zero.c
domtest.c [analyzer][IDF] Add a control dependency calculator + a new debug checker 2019-07-05 12:17:44 +00:00
domtest.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
dtor-cxx11.cpp Remove explicit cfg-temporary-dtors=true 2018-05-04 14:13:14 +00:00
dtor.cpp [analyzer] Fix a crash when destroying a non-region. 2019-08-20 21:41:17 +00:00
dtors-in-dtor-cfg-output.cpp
dump_egraph.c [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test. 2019-10-18 20:48:21 +00:00
dump_egraph.cpp [analyzer] Fix FieldRegion dumps. 2019-10-18 20:15:39 +00:00
dynamic-cast.cpp
dynamic_type_check.m Fix typos in clang 2018-04-06 15:14:32 +00:00
edges-new.mm [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
egraph-asm-goto-no-crash.cpp [analyzer] Fix clang-tidy crash on GCCAsmStmt 2019-06-27 22:46:40 +00:00
elementtype.c
end-function-return-stmt.cpp [analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor. 2018-08-02 22:31:03 +00:00
enum-cast-out-of-range.c [analyzer] Avoid unnecessary enum range check on LValueToRValue casts 2019-08-23 14:21:13 +00:00
enum-cast-out-of-range.cpp [analyzer] Avoid unnecessary enum range check on LValueToRValue casts 2019-08-23 14:21:13 +00:00
enum.cpp [analyzer] Start fixing modeling of bool based types 2017-07-11 00:30:14 +00:00
exceptions.mm
exercise-ps.c [analyzer] Fix autodetection of binding types. 2017-10-04 15:59:40 +00:00
explain-svals.c
explain-svals.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
explain-svals.m
expr-inspection.c [analyzer] Escape symbols conjured into specific regions during a conservative EvalCall 2019-12-11 11:44:10 -08:00
expr-inspection.cpp [analyzer] pr38668: Do not attempt to cast loaded integers to floats. 2018-12-22 02:06:51 +00:00
fields.c
free.c [analyzer] Add CheckerManager::getChecker, make sure that a registry function registers no more than 1 checker 2019-01-26 21:41:50 +00:00
fuchsia_handle.cpp [analyzer] Fix handle leak false positive when the handle dies too early 2020-01-27 09:52:06 -08:00
fuchsia_lock.c [analyzer] Move fuchsia.Lock checker to alpha 2020-02-05 16:11:06 -08:00
fuchsia_lock_impl.c [analyzer] Move fuchsia.Lock checker to alpha 2020-02-05 16:11:06 -08:00
func-mapping-test.cpp [CrossTU] Handle case when no USR could be generated during Decl search. 2019-08-06 12:10:16 +00:00
func.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
gcdantipatternchecker_test.m [analyzer] Fix GCDAntipatternChecker to only fire when the semaphore is initialized to zero 2018-07-16 20:32:57 +00:00
generics.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
global-region-invalidation.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
global_region_invalidation.mm [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
globals.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
gmalloc.c
gtest.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
handle_constructors_for_default_arguments.cpp [analyzer] Add test cases for the unsupported C++ constructor modeling. 2019-11-07 17:15:53 -08:00
handle_constructors_with_new_array.cpp [analyzer] Add test cases for the unsupported C++ constructor modeling. 2019-11-07 17:15:53 -08:00
hangs.c [analyzer] Improve performance of the SVal simplification mechanism. 2018-05-31 17:22:38 +00:00
html-diag-singlefile.c [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
html-diag-singlefile.h [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
html-diags-analyze-headers.c [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
html-diags-analyze-headers.h [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
html-diags-multifile.c [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
html-diags-multifile.h
html-diags.c Fixup for r310950: Also remove the new instance of %T from html-diags.c 2017-08-15 19:54:04 +00:00
identical-expressions.cpp
implicit-ctor-undef-value.cpp [analyzer] UndefinedAssignmentChecker: Better warning message in implicit ctors. 2018-02-27 22:05:55 +00:00
index-type.c [analyzer] Use sufficiently large types for index bounds calculation. 2018-06-28 00:42:11 +00:00
initialization.c [analyzer] const init: handle non-explicit cases more accurately 2018-05-29 14:14:22 +00:00
initialization.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
initializer.cpp [CFG] Add branch to skip vbase inits when they're handled by superclass. 2019-05-24 23:37:08 +00:00
initializers-cfg-output.cpp [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
inline-if-constexpr.cpp [analyzer] Treat functions without run-time branches as "small". 2019-04-30 03:01:02 +00:00
inline-not-supported.c
inline-plist.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
inline-unique-reports.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
inline.c
inline.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
inline2.c
inline3.c
inline4.c
inner-pointer.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
invalid-a-na-ly-zer-con-fig-value.c [driver] [analyzer] Fix --analyze -Xanalyzer after r349863. 2018-12-21 01:11:21 +00:00
invalid-analyzer-config-value.c [driver] [analyzer] Fix --analyze -Xanalyzer after r349863. 2018-12-21 01:11:21 +00:00
invalid-checker-option.c [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
invalidated-iterator.cpp [Analyzer] Iterator Checkers: Replace `UnknownVal` in comparison result by a conjured value 2019-12-11 15:24:06 +01:00
iterator-modeling-no-aggressive-binary-operation-simplification-no-crash.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
iterator-modeling.cpp [Analyzer] Rename test `iterator-modelling.cpp` to `iterator-modeling.cpp` 2020-03-30 09:23:35 +02:00
iterator-range.cpp [Analyzer] Use note tags to track container begin and and changes 2020-03-26 07:56:28 +01:00
ivars.m [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
keychainAPI-diagnostic-visitor.m
keychainAPI.m [analyzer] Fix the "Zombie Symbols" bug. 2018-11-30 03:27:50 +00:00
kmalloc-linux.c [Analyzer][MallocChecker] No warning for kfree of ZERO_SIZE_PTR. 2020-03-30 10:33:14 +02:00
lambda-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
lambdas-generalized-capture.cpp
lambdas.cpp Invalidate static locals when escaping lambdas 2018-08-10 18:28:04 +00:00
lambdas.mm
left-shift-cxx2a.cpp [cxx2a] P1236R1: the validity of a left shift does not depend on the 2019-06-25 01:45:26 +00:00
lifetime-cfg-output.cpp [analyzer] Enable cfg-temporary-dtors by default. 2018-03-01 18:53:13 +00:00
lifetime-extension.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
lifetime-extension.mm [CFG] [analyzer] Add construction contexts for returning C++ objects in ObjC++. 2018-07-31 19:46:14 +00:00
lit.local.cfg Update the SARIF exporter to SARIF 2.1 2019-08-27 14:43:54 +00:00
live-bindings-test.cpp [analyzer] Fix liveness calculation for C++17 structured bindings 2018-03-31 01:20:06 +00:00
live-stmts.cpp [analyzer] Fix some expressions staying live too long. Add a debug checker. 2018-12-16 23:44:06 +00:00
live-variables.cpp
live-variables.m
llvm-conventions.cpp Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 2019-01-20 21:19:56 +00:00
localization-aggressive.m [analyzer] LocalizationChecker: Fix a crash on synthesized accessor stubs. 2019-12-11 11:22:36 -08:00
localization.m Fix typos in clang 2018-04-06 15:14:32 +00:00
logical-ops.c [analyzer] PR37501: Disable assertion for logical op short circuit evaluation. 2019-03-29 22:43:34 +00:00
loop-block-counts.c [analyzer] StackFrameContext: Add NodeBuilderContext::blockCount() to its profile 2019-08-01 20:41:13 +00:00
loop-unrolling.cpp [analyzer] StackFrameContext: Add NodeBuilderContext::blockCount() to its profile 2019-08-01 20:41:13 +00:00
loop-widening-ignore-static-methods.cpp [analyzer] Avoid querying this-pointers for static-methods. 2018-08-07 23:13:28 +00:00
loop-widening-notes.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
loop-widening-preserve-reference-type.cpp [analyzer] Ensure that loop widening does not invalidate references 2018-06-12 22:22:35 +00:00
loop-widening.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
loop-widening.cpp [analyzer] PR43102: Fix an assertion and an out-of-bounds error for diagnostic location construction 2019-09-18 22:24:26 +00:00
loopexit-cfg-output.cpp [CFG] Add LoopExit information to CFG 2017-08-19 11:19:16 +00:00
lvalue.cpp
main.c [analyzer] Trust global initializers when analyzing main(). 2019-08-28 18:44:32 +00:00
main.cpp [analyzer] Trust global initializers when analyzing main(). 2019-08-28 18:44:32 +00:00
malloc-annotations.c [analyzer] Reimplement dependencies between checkers 2019-01-26 20:06:54 +00:00
malloc-annotations.cpp [analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription 2020-02-25 15:43:33 +01:00
malloc-custom.c [NFC] fix trivial typos in comments 2018-01-22 07:44:38 +00:00
malloc-fnptr-plist.c [analyzer] MallocChecker: Fix one more bug category. 2018-02-08 23:28:29 +00:00
malloc-free-after-return.cpp [analyzer] Associate diagnostics created in checkEndFunction with a return statement, if possible 2018-09-21 20:36:41 +00:00
malloc-interprocedural.c
malloc-overflow.c
malloc-overflow.cpp
malloc-overflow2.c [analyzer] Move zero-size allocation checks to optin.portability. 2017-06-27 11:14:39 +00:00
malloc-plist.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
malloc-protoype.c
malloc-sizeof.c
malloc-sizeof.cpp
malloc-three-arg.c
malloc.c Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
malloc.cpp [Analyzer][MallocChecker] No warning for kfree of ZERO_SIZE_PTR. 2020-03-30 10:33:14 +02:00
malloc.m
malloc.mm [analyzer] Teach MismatchedDealloc about initWithBytesNoCopy with deallocator. 2019-12-18 14:19:17 -08:00
max-nodes-suppress-on-sink.c [analyzer] Further improve suppress-on-sink behavior in incomplete analyses. 2017-07-25 09:25:10 +00:00
max-nodes-suppress-on-sink.cpp [analyzer] Treat throws as sinks for suppress-on-sink purposes. 2017-07-25 09:44:02 +00:00
member-expr.cpp [analyzer] [tests] [quickfix] Make more test more resilient for non-defaut -std. 2018-10-03 22:48:00 +00:00
method-arg-decay.m
method-call-intra-p.cpp
method-call-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
method-call.cpp
mig.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
misc-ps-64.m
misc-ps-arm.m
misc-ps-cxx0x.cpp
misc-ps-eager-assume.m [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
misc-ps-ranges.m
misc-ps-region-store-i386.m
misc-ps-region-store-x86_64.m
misc-ps-region-store.cpp
misc-ps-region-store.m [analyzer] NonNullParamChecker and CStringChecker parameter number in checker message 2019-09-03 17:57:01 +00:00
misc-ps-region-store.mm
misc-ps.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
misc-ps.m [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
mismatched-iterator.cpp [Analyzer][NFC] Separate white-box tests for iterator modelling from iterator checker tests 2019-11-14 16:32:19 +01:00
missing-bind-temporary.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
mmap-writeexec.c [analyzer] MmapWriteExecChecker: Add support for mprotect(). 2018-03-09 01:47:24 +00:00
model-file.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
more-dtors-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
mpichecker.cpp
mpicheckernotes.cpp
new-aligned.cpp [analyzer] Teach CallEvent about C++17 aligned operator new(). 2018-10-15 17:53:18 +00:00
new-ctor-conservative.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
new-ctor-inlined.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
new-ctor-malloc.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-null-throw.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-null.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-recursive.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
new-ctor-symbolic.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
new-dynamic-types.cpp [analyzer] Don't crash when dynamic type of a variable is set via placement new. 2018-02-27 20:54:40 +00:00
new-with-exceptions.cpp
new.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
nil-receiver-undefined-larger-than-voidptr-ret-region.m
nil-receiver-undefined-larger-than-voidptr-ret.m Fixed more -Wreturn-type tests 2019-11-09 18:13:51 +01:00
nil-receiver.mm [analyzer] Fix crash when returning C++ objects from ObjC messages-to-nil. 2019-04-26 02:05:12 +00:00
no-exit-cfg.c
no-outofbounds.c
no-store-suppression.cpp [analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers. 2019-04-05 20:18:53 +00:00
no-unreachable-dtors.cpp
non-diagnosable-assumptions.c
nonnull-global-constants.mm [analyzer] NonnullGlobalConstants: Add support for kCFNull. 2019-12-18 12:08:15 -08:00
nonnull.m
nonnullparamchecker-crash.cpp [analyzer] Explicitly set an -std level for the analyzer test. 2018-03-14 23:50:18 +00:00
novoidtypecrash.c [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. 2019-10-19 01:50:46 +00:00
null-deref-offsets.c
null-deref-path-notes.c [analyzer] CStringChecker: Improve warning messages. 2019-12-11 11:22:36 -08:00
null-deref-path-notes.cpp [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
null-deref-path-notes.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
null-deref-ps-region.c [analyzer] CStringChecker: Improve warning messages. 2019-12-11 11:22:36 -08:00
null-deref-ps.c [analyzer] NonNullParamChecker and CStringChecker parameter number in checker message 2019-09-03 17:57:01 +00:00
null-deref-static.m
nullability-arc.mm Re-apply r347954 "[analyzer] Nullability: Don't detect post factum violation..." 2018-12-03 21:04:30 +00:00
nullability-no-arc.mm
nullability-notes.m [analyzer] Fix Objective-C accessor body farms after 2073dd2d. 2019-11-21 18:59:46 -08:00
nullability.c
nullability.m [analyzer] Nullability: Don't infer nullable when passing as nullable parameter. 2019-11-08 18:27:14 -08:00
nullability.mm Re-apply r347954 "[analyzer] Nullability: Don't detect post factum violation..." 2018-12-03 21:04:30 +00:00
nullability_nullonly.mm
nullptr.cpp PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type 2019-06-14 17:46:38 +00:00
number-object-conversion.c
number-object-conversion.cpp
number-object-conversion.m
number-object-conversion.mm [analyzer] Don't throw NSNumberObjectConversion warning on object initialization in if-expression 2018-03-02 21:34:24 +00:00
objc-arc.m [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
objc-bool.m
objc-boxing.m [analyzer] Fix leak false positives on stuff put in C++/ObjC initializer lists. 2017-10-05 08:43:32 +00:00
objc-encode.m [analyzer] pr28449: Fix support for various array initializers. 2017-10-13 20:54:56 +00:00
objc-for.m [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
objc-message.m
objc-method-coverage.m
objc-properties.m Fix typos in clang 2018-04-06 15:14:32 +00:00
objc-radar17039661.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
objc-string.mm
objc-subscript.m
objc_invalidation.m
objcpp-uninitialized-object.mm [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
offsetofexpr-callback.c [analyzer] Add missing pre-post-statement callbacks for OffsetOfExpr. 2018-02-10 00:55:49 +00:00
openmp-unsupported.c [OPENMP]Fix PR42632: crash on the analysis of the OpenMP constructs. 2019-07-17 18:03:39 +00:00
operator-calls.cpp
os_object_base.h [analyzer] DeadStores: Add a crude suppression files generated by DriverKit IIG. 2019-06-19 23:33:39 +00:00
os_smart_ptr.h [analyzer] [RetainCountChecker] Support 'taggedRetain' and 'taggedRelease' 2019-01-29 19:29:07 +00:00
osobject-retain-release.cpp [analyzer] RetainCountChecker: Add a suppression for OSSymbols. 2020-04-01 18:16:44 +03:00
osobjectcstylecastchecker_test.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
out-of-bounds-new.cpp
out-of-bounds.c
outofbound-notwork.c
outofbound.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
override-werror.c [analyzer] Add werror flag for analyzer warnings 2019-06-07 23:34:00 +00:00
padding_c.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
padding_cpp.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
padding_inherit.cpp [analyzer] Allow padding checker to traverse simple class hierarchies 2018-10-30 01:20:37 +00:00
padding_message.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
placement-new-user-defined.cpp [analyzer] Enable PlacementNewChecker by default 2020-01-21 13:23:10 +01:00
placement-new.cpp [analyzer] Enable PlacementNewChecker by default 2020-01-21 13:23:10 +01:00
plist-diagnostics-template-function.cpp [analyzer] Added template argument lists to the Pathdiagnostic output 2018-05-25 13:18:38 +00:00
plist-diagnostics-template-record.cpp [analyzer] Added template argument lists to the Pathdiagnostic output 2018-05-25 13:18:38 +00:00
plist-html-macros.c [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
plist-macros-with-expansion-ctu.c Fix failing test plist-macros-with-expansion-ctu.c 2019-07-25 12:46:42 +00:00
plist-macros-with-expansion.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
plist-macros.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-output-alternate.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-output.m [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
plist-stats-output.c Revert "Revert "Revert "Revert "[analyzer] Add coverage information to plist output, update tests"""" 2018-09-07 21:58:24 +00:00
pointer-arithmetic.c [analyzer] Implement pointer arithmetic on constants 2017-10-10 11:01:49 +00:00
pointer-escape-on-conservative-calls.c [analyzer] Escape symbols conjured into specific regions during a conservative EvalCall 2019-12-11 11:44:10 -08:00
pointer-to-member.cpp Revert "[analyzer] pr38668: Do not attempt to cast loaded values..." 2018-12-20 19:36:06 +00:00
pr4209.m
pr22954.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
pr37802.cpp [analyzer] Fix size_t in tests. 2018-07-17 01:39:25 +00:00
pr_2542_rdar_6793404.m
pr_4164.c
preprocessor-setup.c [clang-scan-deps] Support for clang --analyze in clang-scan-deps 2019-10-14 20:15:01 +00:00
properties.m [analyzer] Fix more ObjC accessor body farms after 2073dd2d. 2019-12-04 16:29:08 -08:00
properties.mm
pthreadlock.c [analyzer] PthreadLock: Implement mutex escaping. 2020-01-24 18:43:24 +03:00
ptr-arith.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
ptr-arith.cpp [analyzer] Fix crash on modeling of pointer arithmetic 2017-09-25 19:32:33 +00:00
ptr-cmp-const-trunc.cl [analyzer] Handle comparison between non-default AS symbol and constant 2019-03-07 13:01:17 +00:00
ptr-iter.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
ptr-sort.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
qt_malloc.cpp
range_casts.c Revert "[analyzer] Support generating and reasoning over more symbolic constraint types" 2017-07-12 21:43:42 +00:00
rdar-6442306-1.m
rdar-6540084.m
rdar-6541136-region.c
rdar-6562655.m
rdar-6600344-nil-receiver-undefined-struct-ret.m
rdar-7168531.m
redecl.c [analyzer][CrossTU] Extend CTU to VarDecls with initializer 2019-04-23 11:04:41 +00:00
redefined_system.c
refcnt_naming.m
reference.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
reference.mm
region-1.m
region-store.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
region-store.cpp Revert "Revert "[analyzer] Quickfix: do not overflow in calculating offset in RegionManager"" 2018-02-27 00:05:04 +00:00
region_store_overflow.c [analyzer] Fix offset overflow check in MemRegion 2018-06-13 18:32:19 +00:00
reinterpret-cast.cpp
retain-count-alloc.cpp [analyzer] MallocChecker: Prevent Integer Set Library false positives 2019-07-18 00:03:55 +00:00
retain-release-arc.m [analyzer] Quote the type of the leaked/problematic object in diagnostics for readability 2019-01-10 18:15:57 +00:00
retain-release-cache-out.m
retain-release-cf-audited.m
retain-release-cpp-classes.cpp [analyzer] Fix the "Zombie Symbols" bug. 2018-11-30 03:27:50 +00:00
retain-release-inline.m [analyzer] Add support for reference counting of parameters on the callee side 2017-08-17 04:19:07 +00:00
retain-release-path-notes.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
retain-release-region-store.m
retain-release-safe.c [analyzer] RetainCount: Accept more "safe" CFRetain wrappers. 2018-04-19 23:00:22 +00:00
retain-release.m [Fix] Customize warnings for missing built-in types 2019-07-31 05:16:38 +00:00
retain-release.mm [analyzer] RetainCount: Allow offsets in return values. 2019-04-26 02:05:15 +00:00
retaincountchecker-compoundregion.m [analyzer] Quote the type of the leaked/problematic object in diagnostics for readability 2019-01-10 18:15:57 +00:00
return-ptr-range.cpp
return-stmt-merge.cpp [analyzer] Expose return statement from CallExit program point 2018-02-02 02:19:43 +00:00
return-value-guaranteed.cpp [analyzer] Enable control dependency condition tracking by default 2019-08-22 03:08:48 +00:00
rvo.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
scopes-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
security-syntax-checks-no-emit.c [analyzer] PR41185: Fix regression where __builtin_* functions weren't recognized 2019-04-17 19:56:40 +00:00
security-syntax-checks-nscoder.m [analyzer] Add a syntactic security check for ObjC NSCoder API. 2019-12-19 14:54:29 -08:00
security-syntax-checks.c Fix test on PS4 which defaults to gnu99 which does not emit the expected warnings. 2019-04-18 00:00:06 +00:00
security-syntax-checks.m [analyzer] PR41185: Fix regression where __builtin_* functions weren't recognized 2019-04-17 19:56:40 +00:00
self-assign.cpp [analyzer] Fix the "Zombie Symbols" bug. 2018-11-30 03:27:50 +00:00
self-init.m
shallow-mode.m
show-checker-list.c [analyzer] List checkers in 3 categories: released, alpha, developer 2019-05-23 21:46:51 +00:00
silence-checkers-and-packages-core-all.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +00:00
silence-checkers-and-packages-core-div-by-zero.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +00:00
simple-stream-checks.c [analyzer] Fix the "Zombie Symbols" bug. 2018-11-30 03:27:50 +00:00
sizeofpack.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
sizeofpointer.c
smart-ptr.cpp [analyzer] SmartPtrModeling: Fix a null dereference. 2019-04-30 03:00:57 +00:00
stack-addr-ps.c Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
stack-addr-ps.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
stack-block-returned.cpp
stack-capture-leak-arc.mm [analyzer] StackAddrEscape: For now, disable the new async escape checks. 2017-12-12 02:59:09 +00:00
stack-capture-leak-no-arc.mm [analyzer] StackAddrEscape: For now, disable the new async escape checks. 2017-12-12 02:59:09 +00:00
stack-frame-context-revision.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
stackaddrleak.c Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
static_local.m
stats.c
std-c-library-functions-arg-constraints.c [analyzer] StdLibraryFunctionsChecker: match signature based on FunctionDecl 2020-04-06 17:34:08 +02:00
std-c-library-functions-arg-constraints.cpp [analyzer] StdLibraryFunctionsChecker: Add test for function with default parameter 2020-04-06 17:08:58 +02:00
std-c-library-functions-eof.c [analyzer] StdLibraryFunctionsChecker: Use platform dependent EOF and UCharMax 2020-02-13 13:51:51 +01:00
std-c-library-functions-inlined.c [analyzer] Promote StdCLibraryFunctionsChecker to the apiModeling category. 2018-10-02 20:50:40 +00:00
std-c-library-functions.c [analyzer] StdLibraryFunctionsChecker: match signature based on FunctionDecl 2020-04-06 17:34:08 +02:00
std-c-library-functions.cpp [analyzer] Promote StdCLibraryFunctionsChecker to the apiModeling category. 2018-10-02 20:50:40 +00:00
stl-algorithm-modeling-aggressive-std-find-modeling.cpp [Analyzer] Model STL Algoirthms to improve the iterator checkers 2020-02-05 17:59:08 +01:00
stl-algorithm-modeling.cpp [Analyzer] Model STL Algoirthms to improve the iterator checkers 2020-02-05 17:59:08 +01:00
stream.c [Analyzer][StreamChecker] Check for opened stream before operations. 2020-03-09 11:00:03 +01:00
stream.cpp [clang][analyzer] Using CallDescription in StreamChecker. 2019-10-31 12:38:50 +01:00
string-fail.c
string-with-signedness.c [analyzer] pr34779: CStringChecker: Accept non-standard headers. 2017-11-07 10:51:15 +00:00
string.c [analyzer] CStringChecker: Fix overly eager assumption that memcmp args overlap. 2019-12-11 11:22:36 -08:00
string.cpp [analyzer] CStringChecker: Add the forgotten test file. 2018-12-19 21:51:59 +00:00
structured_bindings.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
superclass.m
sval-dump-int128.c Quick fix for rC330605: specify a target arch for test 2018-04-23 16:38:29 +00:00
svalbuilder-float-cast.c [analyzer] pr38668: Do not attempt to cast loaded integers to floats. 2018-12-22 02:06:51 +00:00
svalbuilder-logic.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
svalbuilder-rearrange-comparisons.c lyzer] [HOTFIX!] SValBuilder crash when `aggressive-binary-operation-simplification` enabled 2018-11-30 10:37:44 +00:00
switch-case.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
symbol-escape.cpp Revert "[analyzer] Keep track of escaped locals" 2019-12-10 16:42:03 -08:00
symbol-reaper.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
symbol-reaper.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
taint-diagnostic-visitor.c [analyzer] Add `TaintBugVisitor` to the ArrayBoundV2, DivideZero and VLASize. 2018-05-02 12:11:22 +00:00
taint-dumps.c [analyzer] Move taint API from ProgramState to a separate header. NFC. 2019-03-29 22:49:30 +00:00
taint-generic.c [Sema] Fix pointer-to-int-cast for MSVC build bot 2020-02-16 19:09:59 +01:00
taint-generic.cpp [analyzer] Add support for namespaces to GenericTaintChecker 2019-12-15 12:11:22 +01:00
taint-tester.c Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
taint-tester.cpp
taint-tester.m
temp-obj-dtors-cfg-output.cpp [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
temp-obj-dtors-option.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
templates.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
temporaries-callback-order.cpp [analyzer] Re-enable lifetime extension for temporaries without destructors. 2018-06-28 00:11:42 +00:00
temporaries.cpp [analyzer] Fix off-by-one in operator call parameter binding. 2019-10-23 08:17:02 -07:00
temporaries.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
test-after-div-zero.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
test-include-cpp.cpp
test-include-cpp.h
test-include.c
test-include.h
test-objc-non-nil-return-value-checker.m
test-separate-retaincount.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
test-variably-modified-types.c
this-pointer.cpp [analyzer] Do not invalidate the `this` pointer. 2018-04-15 10:34:06 +00:00
track-control-dependency-conditions.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
track-control-dependency-conditions.m [analyzer] Fix a crash on tracking Objective-C 'self' as a control dependency. 2019-10-19 01:50:43 +00:00
traversal-algorithm.mm
traversal-begin-end-function.c
traversal-path-unification.c
trustnonnullchecker_test.m [analyzer] [quickfix] Temporarily disabling a failing test. 2018-10-04 00:07:45 +00:00
trustnonnullchecker_test.mm [analyzer] Do not crash in CallEvent.getReturnType() 2018-03-24 01:53:12 +00:00
undef-buffers.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
undef-call.c [Analysis] Properly prepare test env in test/Analysis/undef-call.c 2018-12-03 11:28:17 +00:00
uninit-asm-goto.cpp Add triple for non-x86 environments. 2020-03-10 15:26:03 -07:00
uninit-const.c [analyzer] Track the right hand side of the last store regardless of its value 2019-08-13 23:48:10 +00:00
uninit-const.cpp [analyzer] Track the right hand side of the last store regardless of its value 2019-08-13 23:48:10 +00:00
uninit-msg-expr.m
uninit-ps-rdar6145427.m
uninit-sometimes.cpp
uninit-val-const-likeness.c [analysis] Re-discard type sugar when casting values retrieved from the Store. 2019-12-18 18:00:57 -08:00
uninit-vals-union.c
uninit-vals.c [analyzer] Prune calls to functions with linear CFGs that return a non-zero constrained value 2019-08-13 23:22:33 +00:00
uninit-vals.cpp [analyzer] Improve tracing for uninitialized struct fields 2018-08-29 22:48:50 +00:00
uninit-vals.m [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
unions-region.m
unions.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
unix-api.c
unix-api.cpp
unix-fns.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
unreachable-code-path.c Teach Wreturn-type, Wunreachable-code, and alpha.deadcode.UnreachableCode to treat __assume(0) like __builtin_unreachable. 2018-02-13 21:31:47 +00:00
unsupported-types.c
unused-ivars.m
use-after-move.cpp [analyzer] ConditionBRVisitor: Boolean support 2019-05-29 20:34:29 +00:00
valist-as-lazycompound.c
valist-uninitialized-no-undef.c
valist-uninitialized.c [analyzer] Make valist.Uninitialized depend on ValistBase 2019-02-17 19:51:42 +00:00
valist-unterminated.c
variadic-method-types.m
vector.m [analyzer] do not crash on cases where an array subscript is an rvalue 2017-12-05 21:19:59 +00:00
vfork.c [analyzer] VforkChecker: allow execve after vfork. 2020-02-18 09:19:29 +03:00
virtualcall-fixits.cpp [analyzer] AnalyzerOptions: Remove 'fixits-as-remarks' 2020-03-04 06:56:32 +01:00
virtualcall-plist.cpp [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
virtualcall.cpp [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
virtualcall.h [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
vla.c
weak-functions.c [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
yaccignore.c [analyzer] Do not analyze bison-generated files 2018-02-26 22:14:16 +00:00
z3-crosscheck.c [analyzer] fix test case expected warning 2018-06-28 22:08:44 +00:00