hanchenye-llvm-project/clang/test/Analysis
Artem Dergachev be86fdb86e [analyzer] Fix off-by-one in operator call parameter binding.
Member operator declarations and member operator expressions
have different numbering of parameters and arguments respectively:
one of them includes "this", the other does not.

Account for this inconsistency when figuring out whether
the parameter needs to be manually rebound from the Environment
to the Store when entering a stack frame of an operator call,
as opposed to being constructed with a constructor and as such
already having the necessary Store bindings.

Differential Revision: https://reviews.llvm.org/D69155
2019-10-23 08:17:02 -07:00
..
Checkers [analyzer] RunLoopAutoreleaseLeakChecker: Come up with a test for r348822. 2018-12-13 01:30:47 +00:00
Inputs [analyzer] NonNullParamChecker and CStringChecker parameter number in checker message 2019-09-03 17:57:01 +00:00
copypaste Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
diagnostics [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
engine
exploded-graph-rewriter [analyzer] exploded-graph-rewriter: Rename Environment to Expressions. 2019-10-18 20:15:41 +00:00
exploration_order
html_diagnostics/relevant_lines [analyzer] [tests] [quickfix] Make the test more resilient for a non-defaut std configuration 2018-10-03 20:46:50 +00:00
inlining [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
objc
unified-sources
z3
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
DynamicTypePropagation.m
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
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
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
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
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
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
PR37855.c
PR38208.c
PR40625.cpp [Analyzer] Fix for test file of bug 40625 2019-02-15 12:33:42 +00:00
_Bool-increment-decrement.c
additive-folding-range-constraints.c
additive-folding.cpp
analyzeOneFunction.m
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] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
analyzer-display-progress.cpp
analyzer-display-progress.m
analyzer-enabled-checkers.c [analyzer] Fix the 'analyzer-enabled-checkers.c' test on non-linux machines. 2019-09-12 22:11:15 +00: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_test.py
arc-zero-init.m
array-struct-region.c
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
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
base-init.cpp
bitwise-ops.c
block-in-critical-section.cpp
block-in-critical-section.m
blocks-no-inline.c
blocks.m
blocks.mm Defer capture initialization for blocks until after we've left the 2019-05-31 00:45:09 +00:00
bool-assignment.c
bool-increment.cpp
bsd-string.c [analyzer][NFC] Prettify some RUN: lines in test files. 2019-05-23 15:49:04 +00:00
bstring.c [analyzer][NFC] Prettify some RUN: lines in test files. 2019-05-23 15:49:04 +00:00
bstring.cpp
bug_hash_test.cpp
bug_hash_test.m
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
call-invalidation.cpp Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
call_once.cpp
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 [analyzer] pr38668: Do not attempt to cast loaded integers to floats. 2018-12-22 02:06:51 +00: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
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-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
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
constant-folding.c
constraint_manager_negate_difference.c [Analyzer] Constraint Manager - Calculate Effective Range for Differences 2019-03-28 13:05:59 +00:00
conversion.c [analyzer] ConversionChecker: handle floating point 2018-11-16 01:00:55 +00:00
copy-elision.cpp
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
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
ctu-different-triples.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
ctu-hdr.h
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-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
cxxnewexpr-callback-noinline.cpp
dead-stores.c [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00: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 Teach CallGraph to look into Generic Lambdas. 2019-09-30 19:12:29 +00:00
default-analyze.m
default-diagnostic-visitors.c
delayed-template-parsing-crash.cpp
delegates.m
derived-to-base.cpp
designated-initializer.c
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
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
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
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
exceptions.mm
exercise-ps.c
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] Fix FieldRegion dumps. 2019-10-18 20:15:39 +00: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
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
gcdantipatternchecker_test.m
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
global_region_invalidation.mm
globals.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
gmalloc.c
gtest.cpp
hangs.c
html-diag-singlefile.c
html-diag-singlefile.h
html-diags-analyze-headers.c
html-diags-analyze-headers.h
html-diags-multifile.c
html-diags-multifile.h
html-diags.c
identical-expressions.cpp
implicit-ctor-undef-value.cpp
index-type.c
initialization.c
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 [CFG] Add branch to skip vbase inits when they're handled by superclass. 2019-05-24 23:37:08 +00: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
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 - Make range errors and invalidated access fatal 2019-08-29 09:35:47 +00:00
iterator-range.cpp [Analyzer] Iterator Checkers - Make range errors and invalidated access fatal 2019-08-29 09:35:47 +00:00
ivars.m
keychainAPI-diagnostic-visitor.m
keychainAPI.m [analyzer] Fix the "Zombie Symbols" bug. 2018-11-30 03:27:50 +00:00
kmalloc-linux.c [analyzer] Support kfree in MallocChecker 2019-07-01 23:29:10 +00: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
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
lifetime-extension.cpp
lifetime-extension.mm
lit.local.cfg Update the SARIF exporter to SARIF 2.1 2019-08-27 14:43:54 +00:00
live-bindings-test.cpp
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][NFC] Fix some incorrect uses of -analyzer-config options 2018-11-02 15:48:10 +00:00
localization.m
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
loop-widening-notes.cpp
loop-widening-preserve-reference-type.cpp
loop-widening.c
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
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-custom.c
malloc-fnptr-plist.c
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
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] Escape pointers stored into top-level parameters with destructors. 2019-04-13 02:01:45 +00:00
malloc.m
malloc.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
max-nodes-suppress-on-sink.c
max-nodes-suppress-on-sink.cpp
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
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
misc-ps.m Revert "[static analyzer] Define __clang_analyzer__ macro in driver" 2019-09-24 03:21:22 +00:00
mismatched-iterator.cpp [Analyzer] Skip symbolic regions based on conjured symbols in comparison of the containers of iterators 2019-03-13 13:55:11 +00:00
missing-bind-temporary.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
mmap-writeexec.c
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
new-ctor-inlined.cpp
new-ctor-malloc.cpp
new-ctor-null-throw.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
new-ctor-null.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
new-ctor-recursive.cpp
new-ctor-symbolic.cpp
new-dynamic-types.cpp
new-with-exceptions.cpp
new.cpp
nil-receiver-undefined-larger-than-voidptr-ret-region.m
nil-receiver-undefined-larger-than-voidptr-ret.m
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: Don't be confused by a _Nonnull attribute. 2019-07-01 23:02:14 +00:00
nonnull.m
nonnullparamchecker-crash.cpp
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
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][NFC] Prettify some RUN: lines in test files. 2019-05-23 15:49:04 +00: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 Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
nullability.c
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
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
objc-encode.m
objc-for.m
objc-message.m
objc-method-coverage.m
objc-properties.m
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
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] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00: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
padding_inherit.cpp [analyzer] Allow padding checker to traverse simple class hierarchies 2018-10-30 01:20:37 +00:00
padding_message.cpp
plist-diagnostics-template-function.cpp
plist-diagnostics-template-record.cpp
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
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
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] Do not try to body-farm Objective-C properties with custom accessors. 2019-01-18 22:52:13 +00:00
properties.mm
pthreadlock.c
ptr-arith.c
ptr-arith.cpp
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
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
reference.mm
region-1.m
region-store.c
region-store.cpp
region_store_overflow.c
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
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
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
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.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
stack-addr-ps.cpp
stack-block-returned.cpp
stack-capture-leak-arc.mm
stack-capture-leak-no-arc.mm
stack-frame-context-revision.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
stackaddrleak.c
static_local.m
stats.c
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] Promote StdCLibraryFunctionsChecker to the apiModeling category. 2018-10-02 20:50:40 +00:00
std-c-library-functions.cpp [analyzer] Promote StdCLibraryFunctionsChecker to the apiModeling category. 2018-10-02 20:50:40 +00:00
stream.c
string-fail.c
string-with-signedness.c
string.c [analyzer] CStringChecker: Modernize to use CallDescriptions. 2019-07-01 23:02:10 +00:00
string.cpp [analyzer] CStringChecker: Add the forgotten test file. 2018-12-19 21:51:59 +00:00
structured_bindings.cpp Rename two clang tests from .cc to .cpp. 2019-08-01 15:06:57 +00:00
superclass.m
sval-dump-int128.c
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
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
symbol-escape.cpp [analyzer] ExprEngine: Escape pointers in bitwise operations 2019-06-25 00:44:33 +00:00
symbol-reaper.c Revert "[analyzer] Remove the "postponed" hack, deal with derived symbols..." 2019-02-06 23:56:43 +00: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
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 Move prop-sink branch to monorepo. 2019-09-08 19:23:43 +00: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
temp-obj-dtors-option.cpp
templates.cpp
temporaries-callback-order.cpp
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
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
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
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-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-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
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
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
vfork.c
virtualcall-fixits.cpp [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00: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
yaccignore.c
z3-crosscheck.c