llvm-project/clang/test/Analysis
Aaron Ballman 7d644e1215 [C11/C2x] Change the behavior of the implicit function declaration warning
C89 had a questionable feature where the compiler would implicitly
declare a function that the user called but was never previously
declared. The resulting function would be globally declared as
extern int func(); -- a function without a prototype which accepts zero
or more arguments.

C99 removed support for this questionable feature due to severe
security concerns. However, there was no deprecation period; C89 had
the feature, C99 didn't. So Clang (and GCC) both supported the
functionality as an extension in C99 and later modes.

C2x no longer supports that function signature as it now requires all
functions to have a prototype, and given the known security issues with
the feature, continuing to support it as an extension is not tenable.

This patch changes the diagnostic behavior for the
-Wimplicit-function-declaration warning group depending on the language
mode in effect. We continue to warn by default in C89 mode (due to the
feature being dangerous to use). However, because this feature will not
be supported in C2x mode, we've diagnosed it as being invalid for so
long, the security concerns with the feature, and the trivial
workaround for users (declare the function), we now default the
extension warning to an error in C99-C17 mode. This still gives users
an easy workaround if they are extensively using the extension in those
modes (they can disable the warning or use -Wno-error to downgrade the
error), but the new diagnostic makes it more clear that this feature is
not supported and should be avoided. In C2x mode, we no longer allow an
implicit function to be defined and treat the situation the same as any
other lookup failure.

Differential Revision: https://reviews.llvm.org/D122983
2022-04-20 11:30:12 -04:00
..
Checkers Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Inputs [analyzer][ctu] Only import const and trivial VarDecls 2022-04-01 13:49:39 +02:00
cert Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
copypaste Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
diagnostics [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
engine
exploded-graph-rewriter A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
exploration_order
html_diagnostics A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inlining A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc [analyzer][DirectIvarAssignment] Turn DirectIvarAssignmentForAnnotatedFunctions into a checker option 2020-05-19 15:41:43 +02:00
scan-build [analyzer] Fix scan-build report deduplication. 2021-08-26 13:34:29 -07:00
unified-sources
z3 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
CFContainers-invalid.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
CFContainers.mm
CFNumber.c
CFRetainRelease_NSAssertionHandler.m
CGColorSpace.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
CheckNSError.m [analyzer] Do not report CFError null dereference for nonnull params. 2020-04-20 12:33:01 +03:00
CheckThatArraySubsciptNodeIsNotCollected.cpp [analyzer] Consider array subscripts to be interesting lvalues. 2020-04-23 19:52:45 +03:00
DeallocMissingRelease.m
DeallocUseAfterFreeErrors.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
DeleteWithNonVirtualDtor.cpp
DynamicTypePropagation.m
MPIMock.h
Malloc+MismatchedDeallocator+NewDelete.cpp
Malloc+MismatchedDeallocator_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
NSContainers.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
NSPanel.m
NSString.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
NSWindow.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
NewDelete+MismatchedDeallocator_intersections.cpp
NewDelete-atomics.cpp
NewDelete-checker-test.cpp [analyzer] Fix non-obvious analyzer warning: Use of zero-allocated memory. 2021-10-12 10:41:00 -07:00
NewDelete-custom.cpp
NewDelete-intersections.mm [Sema] turns -Wfree-nonheap-object on by default 2021-01-15 21:38:47 +00:00
NewDelete-path-notes.cpp [analyzer] Correctly propagate ConstructionContextLayer thru ParenExpr 2021-05-24 10:16:52 +02:00
NewDelete-sized-deallocation.cpp
NewDelete-variadic.cpp
NewDeleteLeaks-PR18394.cpp
NewDeleteLeaks-PR19102.cpp [analyzer] Correctly propagate ConstructionContextLayer thru ParenExpr 2021-05-24 10:16:52 +02:00
NewDeleteLeaks.cpp [analyzer] Improve NoOwnershipChangeVisitor's understanding of deallocators 2022-03-03 11:27:56 +01:00
NoReturn.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
OSAtomic_mac.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
OSAtomic_mac.cpp
ObjCProperties.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
ObjCPropertiesSyntaxChecks.m
ObjCRetSigs.m
PR2978.m
PR3991.m
PR7218.c
PR9741.cpp
PR12905.c
PR24184.cpp
PR35418.cpp [analyzer] Introduce reasoning about symbolic remainder operator 2020-05-28 18:56:38 +03:00
PR37855.c
PR38208.c
PR40625.cpp [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
PR46264.cpp [analyzer] Move test case to existing test file and remove duplicated test file. 2021-08-10 19:11:21 +03:00
PR47511.cpp revert test commit 2021-08-10 19:19:27 +03:00
PR49490.cpp [analyzer][solver] Prevent infeasible states (PR49490) 2021-03-12 15:56:48 +03:00
PR49642.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
PR50268.c [analyzer][solver] Prevent use of a null state 2021-05-13 20:16:29 +03:00
SpecialFunctionsCFError.cpp [analyzer] Fix NSErrorChecker false positives on constructors. 2020-04-06 20:33:38 +03:00
UserNullabilityAnnotations.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
_Bool-increment-decrement.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
a_flaky_crash.cpp A test commit as a new contributor to verify commit access is OK. 2020-05-04 21:36:18 +03:00
additive-folding-range-constraints.c
additive-folding.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
addrspace-null.c [analyzer] Fix "RhsLoc and LhsLoc bitwidth must be same" 2022-03-29 17:08:19 -05:00
aggrinit-cfg-output.cpp [CFG] Add an option to expand CXXDefaultInitExpr into aggregate initialization 2019-12-17 17:56:06 -08:00
analyze-function-guide.cpp [analyzer] Remove breaking RUN line in the test case 2022-02-16 10:56:18 +01:00
analyze-function-guide.m Revert "Revert "[analyzer] Prevent misuses of -analyze-function"" 2022-02-16 10:33:21 +01:00
analyzeOneFunction.m
analyzer-checker-config.c
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] Produce SymbolCast symbols for integral types in SValBuilder::evalCast 2022-01-18 16:08:04 +02:00
analyzer-display-progress.cpp [analyzer] Print time taken to analyze each function 2021-07-13 04:52:47 +00:00
analyzer-display-progress.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
analyzer-enabled-checkers.c [clang][analyzer] Add modeling of 'errno'. 2022-03-01 08:20:33 +01: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
analyzer_test.py
arc-zero-init.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
array-struct-region.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
array-struct-region.cpp Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
array-struct.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
asm-goto.cpp [Clang][CFG] check children statements of asm goto 2022-01-07 14:11:08 -08:00
asm.cpp
assume-controlled-environment.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
atomics.c [analyzer] Fix crash when reasoning about C11 atomics (PR49422) 2021-03-30 16:04:19 +03:00
auto-obj-dtors-cfg-output.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
autoreleasewritechecker_test.m [analyzer] ObjCAutoreleaseWriteChecker: Support explicit autoreleasepools. 2020-06-03 19:06:04 +03:00
base-init.cpp
bitwise-ops.c [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
block-in-critical-section.cpp
block-in-critical-section.m
blocks-no-inline.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
blocks-nrvo.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
blocks.m Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05: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
bool-increment.cpp
bsd-string.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
bstring.c [analyzer] Done some changes to detect Uninitialized read by the char array manipulation functions 2022-03-03 23:21:26 +05:30
bstring.cpp
bstring_UninitRead.c [analyzer] Done some changes to detect Uninitialized read by the char array manipulation functions 2022-03-03 23:21:26 +05:30
bug_hash_test.cpp
bug_hash_test.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05: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_bitcast.cpp [analyzer] LValueToRValueBitCasts should evaluate to an r-value 2021-07-01 10:54:22 +02:00
builtin_signbit.cpp [CMake] [Clang] Add option to specify PowerPC long double format 2022-01-27 00:50:53 +08:00
c11lock.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
call-and-message.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
call-and-message.cpp [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
call-and-message.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
call-and-message.mm [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
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] pr47037: CastValueChecker: Support for the new variadic isa<>. 2020-08-27 12:15:25 -07:00
cast-value-notes.cpp [analyzer] Refactor makeNull to makeNullWithWidth (NFC) 2022-03-22 07:35:13 -05:00
cast-value-state-dump.cpp [analyzer] NFC: Store the pointee/referenced type for dynamic type tracking. 2020-08-27 12:15:23 -07: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 Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
casts.cpp
casts.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
cfg-indirect-goto-determinism.cpp
cfg-openmp.cpp [clang][OpenMP5.1] Initial parsing/sema for has_device_addr 2022-04-08 21:19:38 -07:00
cfg-rich-constructors.cpp [NFC] Disallow unused prefixes in clang/test/Analysis 2021-01-25 15:53:00 -08:00
cfg-rich-constructors.mm [NFC] Disallow unused prefixes in clang/test/Analysis 2021-01-25 15:53:00 -08:00
cfg.c Fix the declaration printer to properly handle prototypes in C 2022-02-17 13:54:09 -05:00
cfg.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
cfref_PR2519.c [AIX][ZOS] Handle unsupported builtin function CFStringMakeConstantString 2022-01-17 11:24:16 -05:00
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 [Support] Fix formatted_raw_ostream for UTF-8 2020-07-06 16:18:15 +01:00
chroot.c
class-object-state-dump.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
comparison-implicit-casts.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
concrete-address.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
conditional-operator.cpp
conditional-path-notes.c Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
constraint-assignor.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
constraint_manager_conditions.cpp [analyzer][solver] Fix CmpOpTable handling bug 2021-10-06 18:28:03 +02:00
constraint_manager_negate_difference.c [analyzer] Improved RangeSet::Negate support of unsigned ranges 2020-05-25 18:52:22 +03: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-tracking-notes.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
conversion.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
conversion.cpp [analyzer] Expand conversion check to check more expressions for overflow and underflow 2021-12-15 11:41:34 +01:00
copy-elision.cpp [analyzer] Catch leaking stack addresses via stack variables 2021-08-27 11:31:16 +02:00
copy-elision.mm [analyzer] Fix a crash when doing RVO from within blocks. 2019-05-07 22:33:13 +00:00
coverage.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
crash-trace.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
cstring-addrspace.c [analyzer] Avoid checking addrspace pointers in cstring checker 2022-03-31 17:34:56 +02:00
cstring-plist.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
cstring-ranges.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
cstring-syntax.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
ctor.mm [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
ctu-cxxdefaultinitexpr.cpp [clang][ASTImporter] Fix a bug when importing CXXDefaultInitExpr. 2022-03-28 10:55:26 +02:00
ctu-different-triples.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-hdr.h
ctu-implicit.c [ASTImporter] Add Visitor for TypedefNameDecl's 2020-07-28 11:52:29 -05:00
ctu-import-threshold.c [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
ctu-inherited-default-ctor.cpp [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
ctu-lookup-name-with-space.cpp [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
ctu-main.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
ctu-main.cpp [analyzer][ctu] Only import const and trivial VarDecls 2022-04-01 13:49:39 +02:00
ctu-on-demand-parsing.c [analyzer] ctu-on-demand-parsing tests: replace linux -> system-linux 2020-07-13 14:29:47 +02:00
ctu-on-demand-parsing.cpp [analyzer] ctu-on-demand-parsing tests: replace linux -> system-linux 2020-07-13 14:29:47 +02:00
ctu-unknown-parts-in-triples.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02: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-dynamic-memory-analysis-order.cpp [analyzer][NFC] Introduce CXXDeallocatorCall, deploy it in MallocChecker 2020-05-19 00:18:38 +02:00
cxx-for-range-cfg.cpp
cxx-for-range.cpp Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04: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] Catch leaking stack addresses via stack variables 2021-08-27 11:31:16 +02: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
cxxctr-evalcall-analysis-order.cpp [analyzer] Enable constructor support in evalCall event. 2020-06-25 09:47:13 -07:00
cxxnewexpr-callback-inline.cpp
cxxnewexpr-callback-noinline.cpp
dead-stores.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
debug-iterator-modeling.cpp [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
default-analyze.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
default-diagnostic-visitors.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
delayed-template-parsing-crash.cpp
delegates.m
derived-to-base.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
designated-initializer-values.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
designated-initializer.c Fix the declaration printer to properly handle prototypes in C 2022-02-17 13:54:09 -05:00
disable-all-checks.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
dispatch-once.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
div-zero.cpp
division-by-zero-track-zero.c [Analyzer] Track RValue expressions 2021-03-30 14:48:38 +02:00
division-by-zero-track-zero.cpp [Analyzer] Track RValue expressions 2021-03-30 14:48:38 +02:00
division-by-zero.c
domtest.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
domtest.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
double-ranges-bug.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
dtor-cxx11.cpp
dtor.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
dtors-in-dtor-cfg-output.cpp
dump_egraph.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05: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 Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
end-function-return-stmt.cpp
enum-cast-out-of-range.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05: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
equality_tracking.c Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
errno.c [clang][analyzer] Add modeling of 'errno'. 2022-03-01 08:20:33 +01:00
eval-predefined-exprs.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
exceptions.mm
exercise-ps.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
explain-svals.c [Analyzer] [NFC] Parameter Regions 2020-06-09 12:08:56 +02:00
explain-svals.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
explain-svals.m Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
expr-inspection-printState-diseq-info.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
expr-inspection-printState-eq-classes.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
expr-inspection.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
expr-inspection.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
fields.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
find-binop-constraints.cpp [Analyzer][solver] Simplify existing eq classes and constraints when a new constraint is added 2021-06-14 12:19:09 +02:00
flexible-array-members.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
flexignore.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
free.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
free.cpp [clang] removes check against integral-to-pointer conversion... 2021-03-04 17:00:54 +00:00
fuchsia_handle.cpp [analyzer] Update Fuchsia checker to catch releasing unowned handles. 2021-01-06 16:23:49 -08:00
fuchsia_lock.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
fuchsia_lock_impl.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
func-mapping-test.cpp [analyzer][ctu] Only import const and trivial VarDecls 2022-04-01 13:49:39 +02:00
func.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
gcdantipatternchecker_test.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
generics.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
global-region-invalidation-errno.c [clang][analyzer] Add modeling of 'errno'. 2022-03-01 08:20:33 +01:00
global-region-invalidation.c [clang][analyzer] Add modeling of 'errno'. 2022-03-01 08:20:33 +01:00
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
gtest.cpp
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
html-diag-singlefile.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
html-diag-singlefile.h A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
html-diags-analyze-headers.c
html-diags-analyze-headers.h A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
html-diags-multifile.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
html-diags-multifile.h
html-diags.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
identical-expressions.cpp
implicit-ctor-undef-value.cpp
incorrect-checker-names.cpp [analyzer][StackAddressEscape] Tie warnings to the diagnostic checkers rather then core.StackAddrEscapeBase 2020-05-20 02:26:40 +02:00
incorrect-checker-names.mm [analyzer][RetainCount] Tie diagnostics to osx.cocoa.RetainCount rather then RetainCountBase, for the most part 2020-05-27 00:01:47 +02:00
index-type.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
initialization.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
initialization.cpp [analyzer] Fix region cast between the same types with different qualifiers. 2021-11-15 19:23:00 +02: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inline-plist.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inline-unique-reports.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inline.c Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
inline.cpp
inline2.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inline3.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
inline4.c
inner-pointer.cpp Treat `std::move`, `forward`, etc. as builtins. 2022-04-17 13:26:16 -07:00
invalid-a-na-ly-zer-con-fig-value.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
invalid-analyzer-config-value.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
invalid-checker-option.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
invalid-deref.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
invalidated-iterator.cpp [Analyzer] Handle pointer implemented as iterators in iterator checkers 2020-07-01 09:04:28 +02: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] Model iterator random incrementation symmetrically 2020-08-04 11:04:12 +02:00
iterator-range.cpp [analyzer] Crash fix for alpha.cplusplus.IteratorRange 2021-03-10 12:42:24 +01:00
ivars.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
keychainAPI-diagnostic-visitor.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
keychainAPI.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
kmalloc-linux.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
lifetime-extension.cpp
lifetime-extension.mm
lit.local.cfg [test] Default clang/test to FileCheck --allow-unused-prefixes=false 2021-02-02 11:22:46 -08:00
live-bindings-test.cpp
live-stmts.cpp [analyzer][Liveness][NFC] Get rid of statement liveness, because such a thing doesn't exist 2020-09-15 17:43:02 +02:00
live-stmts.mm [analyzer][Liveness][NFC] Get rid of statement liveness, because such a thing doesn't exist 2020-09-15 17:43:02 +02:00
live-variables.cpp
live-variables.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
llvm-conventions.cpp
localization-aggressive.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
localization.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
logical-ops.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
loop-block-counts.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
loop-unrolling.cpp [analyzer] LoopUnrolling: fix crash when a loop counter is captured in a lambda by reference 2021-07-12 17:06:07 +03:00
loop-widening-ignore-static-methods.cpp
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] LoopWidening: fix crash by avoiding aliased references invalidation 2020-06-09 12:55:54 +03:00
loop-widening.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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
lvalue.cpp
main.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
main.cpp [analyzer] Trust global initializers when analyzing main(). 2019-08-28 18:44:32 +00:00
malloc-annotations.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-annotations.cpp [analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription 2020-02-25 15:43:33 +01:00
malloc-bodyfarms.c [analyzer] Fix a crash in NoStateChangeVisitor with body-farmed stack frames. 2022-02-17 10:13:34 -08:00
malloc-bodyfarms.cpp [analyzer] Fix a crash in NoStateChangeVisitor with body-farmed stack frames. 2022-02-17 10:13:34 -08:00
malloc-custom.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-fnptr-plist.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-free-after-return.cpp
malloc-interprocedural.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-overflow.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-overflow.cpp
malloc-overflow2.c
malloc-plist.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-protoype.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-sizeof.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc-sizeof.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
malloc-three-arg.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
malloc.c Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
malloc.cpp [analyzer] Check the checker name, rather than the ProgramPointTag when silencing a checker 2021-05-19 12:40:09 +02:00
malloc.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
malloc.mm [analyzer] Teach MismatchedDealloc about initWithBytesNoCopy with deallocator. 2019-12-18 14:19:17 -08:00
max-nodes-suppress-on-sink.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
max-nodes-suppress-on-sink.cpp
member-expr.cpp
memory-model.cpp [analyzer] DynamicSize: Debug facility 2021-04-05 19:17:52 +02: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
misc-ps-cxx0x.cpp
misc-ps-eager-assume.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
misc-ps-ranges.m
misc-ps-region-store-i386.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
misc-ps-region-store-x86_64.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
misc-ps-region-store.cpp
misc-ps-region-store.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
misc-ps-region-store.mm
misc-ps.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
misc-ps.m Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
mismatched-iterator.cpp [Analyzer] Handle pointer implemented as iterators in iterator checkers 2020-07-01 09:04:28 +02:00
missing-bind-temporary.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
missing-z3-nocrash.c [analyzer] Don't crash if the analyzer-constraint is set to Z3, but llvm is not built with it 2022-02-25 17:51:37 +01:00
mmap-writeexec.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
mpichecker.cpp
mpicheckernotes.cpp
ms-seh.cpp [analyzer] Engine: fix crash with SEH __leave keyword 2021-05-17 20:10:26 +02:00
mutually_exclusive_null_fp.cpp [analyzer][solver] Track symbol disequalities 2020-07-22 13:02:39 +03:00
new-aligned.cpp
new-ctor-conservative.cpp [analyzer] Enable constructor support in evalCall event. 2020-06-25 09:47:13 -07:00
new-ctor-inlined.cpp
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
new-ctor-symbolic.cpp
new-dynamic-types.cpp
new-with-exceptions.cpp
new.cpp [analyzer][MallocChecker] Make NewDeleteLeaks depend on DynamicMemoryModeling rather than NewDelete 2020-05-27 00:03:53 +02:00
nil-receiver-undefined-larger-than-voidptr-ret-region.m
nil-receiver-undefined-larger-than-voidptr-ret.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
nonnull-global-constants.mm [analyzer] NonnullGlobalConstants: Add support for kCFNull. 2019-12-18 12:08:15 -08:00
nonnull.cpp [analyzer] Do not report CFError null dereference for nonnull params. 2020-04-20 12:33:01 +03:00
nonnull.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
nonnullparamchecker-crash.cpp
novoidtypecrash.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
null-deref-offsets.c
null-deref-path-notes.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
null-deref-path-notes.cpp [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
null-deref-path-notes.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
null-deref-ps-region.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
null-deref-ps.c Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
null-deref-static.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
nullability-arc.mm
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 [C89/C2x] Diagnose calls to a function without a prototype but passes arguments 2022-04-15 09:08:54 -04:00
nullability.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
nullability.mm
nullability_nullonly.mm
nullptr.cpp [Analyzer] Track RValue expressions 2021-03-30 14:48:38 +02:00
number-object-conversion.c
number-object-conversion.cpp
number-object-conversion.m
number-object-conversion.mm
objc-arc.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-bool.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-boxing.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-encode.m
objc-for.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-indirect-copy-restore.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-live-crash.mm [analyzer][NFC] Don't bind values to ObjCForCollectionStmt, replace it with a GDM trait 2020-09-11 15:58:48 +02:00
objc-message.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-method-coverage.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
objc-properties.m
objc-radar17039661.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
openmp-unsupported.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
operator-calls.cpp
os_object_base.h [analyzer] RetainCountChecker: Disable reference counting for OSMetaClass. 2021-05-27 13:12:19 -07:00
os_smart_ptr.h
osobject-retain-release.cpp [analyzer] RetainCountChecker: Disable reference counting for OSMetaClass. 2021-05-27 13:12:19 -07:00
osobjectcstylecastchecker_test.cpp [analyzer] Support allocClassWithName in OSObjectCStyleCast checker 2021-03-30 15:58:06 +03:00
out-of-bounds-false-positive.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
out-of-bounds-new.cpp
out-of-bounds.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
outofbound-notwork.c
outofbound.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
override-werror.c [analyzer] Add werror flag for analyzer warnings 2019-06-07 23:34:00 +00:00
padding_c.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
padding_cpp.cpp [NFC][AIX]Disable failed tests due to aggressive byval alignment warning on AIX 2022-02-01 11:49:53 -05:00
padding_inherit.cpp
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
padding_no_unique_address.cpp [analyzer] Fix calculating offset for fields with an empty type 2021-07-04 06:57:11 +03:00
pch_crash.cpp [analyzer] Fix StdLibraryFunctionsChecker crash on macOS 2020-06-16 16:10:07 +03:00
placement-new-user-defined.cpp [analyzer] Enable PlacementNewChecker by default 2020-01-21 13:23:10 +01:00
placement-new.cpp [analyzer] Improve PlacementNewChecker 2020-05-14 15:50:39 +02:00
plist-diagnostics-template-function.cpp
plist-diagnostics-template-record.cpp Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
plist-html-macros.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
plist-macros-with-expansion-ctu.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
plist-macros-with-expansion.c [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
plist-macros-with-expansion.cpp [analyzer] Use the MacroExpansionContext for macro expansions in plists 2021-02-22 11:12:18 +01: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
plist-output.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
plist-stats-output.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
pointer-arithmetic.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
pointer-escape-on-conservative-calls.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
pointer-to-member.cpp [analyzer] Fix static_cast on pointer-to-member handling 2021-02-15 11:44:37 +03:00
pr4209.m
pr22954.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
pr37802.cpp
pr_2542_rdar_6793404.m
pr_4164.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
preprocessor-setup.c [clang-scan-deps] Support for clang --analyze in clang-scan-deps 2019-10-14 20:15:01 +00:00
produce-symbolcast_x64.cpp [analyzer] Produce SymbolCast symbols for integral types in SValBuilder::evalCast 2022-01-18 16:08:04 +02:00
produce-symbolcast_x86.cpp [analyzer] Produce SymbolCast symbols for integral types in SValBuilder::evalCast 2022-01-18 16:08:04 +02:00
properties.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
properties.mm [analyzer] Fix body farm for Obj-C++ properties 2021-04-07 13:44:43 +03:00
pthreadlock.c [clang][Checkers] Fix PthreadLockChecker state cleanup at dead symbol. 2021-04-06 11:15:29 +02:00
pthreadlock_state.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
pthreadlock_state_nottracked.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
ptr-arith.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
ptr-arith.cpp
ptr-cmp-const-trunc.cl
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
rdar-6442306-1.m
rdar-6540084.m
rdar-6541136-region.c
rdar-6562655.m
rdar-6600344-nil-receiver-undefined-struct-ret.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
rdar-7168531.m
redecl.c [analyzer][CrossTU] Extend CTU to VarDecls with initializer 2019-04-23 11:04:41 +00:00
redefined_system.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
refcnt_naming.m
reference.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
region-1.m
region-store.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
region-store.cpp
region_store_overflow.c
reinterpret-cast-pointer-to-member.cpp [analyzer][NFC] Fix test failures for builds w/o assertions 2021-02-15 16:38:15 +03:00
reinterpret-cast.cpp
report-uniqueing.cpp [Analyzer] Remove inclusion of uniqueing decl from diagnostic profile. 2020-07-30 09:52:28 +02:00
retain-count-alloc.cpp [analyzer] MallocChecker: Prevent Integer Set Library false positives 2019-07-18 00:03:55 +00:00
retain-release-arc.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-cache-out.m
retain-release-cf-audited.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-compound-literal.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-cpp-classes.cpp
retain-release-inline.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-path-notes.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-region-store.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release-safe.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
retain-release.mm [NFC][clang] Inclusive language: replace masterPort with mainPort 2021-11-18 11:51:06 -06:00
retaincountchecker-compoundregion.m
return-ptr-range.cpp [clang][analyzer] Improve bug report in alpha.security.ReturnPtrRange 2021-08-11 13:04:55 +02:00
return-stmt-merge.cpp
return-value-guaranteed.cpp [analyzer] Don't track function calls as control dependencies 2022-04-08 10:16:58 +02:00
returns_nonnull-attribute.cpp [analyzer] Add support for __attribute__((returns_nonnull)). 2022-02-02 11:46:52 -08:00
rvo.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
scopes-cfg-output.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
security-syntax-checks-no-emit.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
self-assign.cpp [analyzer][NFC] Make test/Analysis/self-assign.cpp readable 2021-08-13 16:14:54 +02: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
silence-checkers.cpp [analyzer] Make checker silencing work for non-pathsensitive bug reports 2021-06-17 10:27:34 +02:00
simple-stream-checks.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
sizeofpack.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
sizeofpointer.c
smart-ptr-text-output.cpp [analyzer] Handle std::make_unique 2021-07-18 19:54:28 +05:30
smart-ptr.cpp [analyzer] Fix for faulty namespace test in SmartPtrModelling 2021-07-21 18:23:35 +05:30
solver-sym-simplification-adjustment.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
solver-sym-simplification-bool.cpp [analyzer] Cleanup a FIXME in SValBuilder.cpp 2021-08-10 16:12:52 -05:00
solver-sym-simplification-concreteint.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
solver-sym-simplification-no-crash.c [Analyzer][solver] Fix crashes during symbol simplification 2021-06-25 11:49:26 +02:00
solver-sym-simplification-no-crash2.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
solver-sym-simplification-ptr-bool.cl [analyzer] Do not assume that all pointers have the same bitwidth as void* 2021-07-16 03:22:57 -05:00
solver-sym-simplification-with-proper-range-type.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stack-addr-ps.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stack-addr-ps.cpp [analyzer] Catch leaking stack addresses via stack variables 2021-08-27 11:31:16 +02:00
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
static_local.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stats.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-POSIX-lookup.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-POSIX-socket-sockaddr.cpp [analyzer][StdLibraryFunctionsChecker] Add POSIX networking functions 2020-07-20 22:46:24 +02:00
std-c-library-functions-POSIX.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-arg-constraints-notes.cpp [Analyzer][StdLibraryFunctionsChecker] Describe arg constraints 2021-04-23 17:27:54 +02:00
std-c-library-functions-arg-constraints-tracking-notes.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-arg-constraints.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-arg-constraints.cpp [Analyzer][StdLibraryFunctionsChecker] Describe arg constraints 2021-04-23 17:27:54 +02:00
std-c-library-functions-arg-cstring-dependency.c [analyzer][StdLibraryFunctionsChecker] Remove strcasecmp 2020-09-10 12:29:39 +02:00
std-c-library-functions-arg-enabled-checkers.c [clang][analyzer] Add modeling of 'errno'. 2022-03-01 08:20:33 +01:00
std-c-library-functions-arg-weakdeps.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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
std-c-library-functions-lookup.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-lookup.cpp [analyzer] StdLibraryFunctionsChecker: Add support to lookup types 2020-05-29 17:42:05 +02:00
std-c-library-functions-restrict.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
std-c-library-functions-restrict.cpp [analyzer][StdLibraryFunctionsChecker] Do not match based on the restrict qualifier in C++ 2020-09-04 11:48:38 +02:00
std-c-library-functions-vs-stream-checker.c Fix the declaration printer to properly handle prototypes in C 2022-02-17 13:54:09 -05:00
std-c-library-functions.c Fix the declaration printer to properly handle prototypes in C 2022-02-17 13:54:09 -05:00
std-c-library-functions.cpp
std-c-library-posix-crash.c [analyzer][StdLibraryFunctionsChecker] Fix typos in summaries of mmap and mmap64 2020-11-30 18:06:28 +01:00
std-string.cpp [analyzer] Fix StringChecker for Unknown params 2021-10-26 18:15:00 +02: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-error.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stream-note.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stream.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
stream.cpp [Analyzer][StreamChecker] Add note tags for file opening. 2020-06-22 11:15:35 +02:00
string-fail.c
string-with-signedness.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
string.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
string.cpp
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
svalbuilder-float-cast.c [C89/C2x] Diagnose calls to a function without a prototype but passes arguments 2022-04-15 09:08:54 -04:00
svalbuilder-logic.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
svalbuilder-rearrange-comparisons.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
svalbuilder-simplify-compound-svals.cpp [Analyzer][Core] Make SValBuilder to better simplify svals with 3 symbols in the tree 2021-11-30 11:24:59 +01:00
svalbuilder-simplify-in-evalbinop.cpp [Analyzer][Core] Better simplification in SimpleSValBuilder::evalBinOpNN 2021-11-23 16:38:01 +01:00
svalbuilder-simplify-intsym.cpp [Analyzer][Core] Simplify IntSym in SValBuilder 2021-11-22 17:33:43 +01:00
switch-case.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
symbol-escape.cpp Revert "[analyzer] Keep track of escaped locals" 2019-12-10 16:42:03 -08:00
symbol-reaper.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
symbol-reaper.cpp
symbol-simplification-bo-div.c [analyzer] Fix crash in RangedConstraintManager.cpp 2022-03-23 08:26:40 -05:00
symbol-simplification-disequality-info.cpp [Analyzer][solver] Simplification: Do a fixpoint iteration before the eq class merge 2021-12-01 22:23:41 +01:00
symbol-simplification-fixpoint-iteration-unreachable-code.cpp [analyzer][solver] Iterate to a fixpoint during symbol simplification with constants 2021-11-12 11:44:49 +01:00
symbol-simplification-fixpoint-one-iteration.cpp [Analyzer][solver] Simplification: Do a fixpoint iteration before the eq class merge 2021-12-01 22:23:41 +01:00
symbol-simplification-fixpoint-two-iterations.cpp [Analyzer][solver] Simplification: Do a fixpoint iteration before the eq class merge 2021-12-01 22:23:41 +01:00
symbol-simplification-nonloc-loc.cpp [analyzer][solver] Fix assertion on (NonLoc, Op, Loc) expressions 2021-12-06 18:38:58 +01:00
symbol-simplification-reassume.cpp [analyzer][solver] Iterate to a fixpoint during symbol simplification with constants 2021-11-12 11:44:49 +01:00
taint-checker-callback-order-has-definition.c Revert "Revert "[analyzer] Fix taint rule of fgets and setproctitle_init"" 2022-02-23 12:55:31 +01:00
taint-checker-callback-order-without-definition.c Revert "Revert "[analyzer] Fix taint rule of fgets and setproctitle_init"" 2022-02-23 12:55:31 +01:00
taint-diagnostic-visitor.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
taint-dumps.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
taint-generic.c [analyzer] Fix buildbot failure for D120369 2022-03-07 14:56:04 +01:00
taint-generic.cpp [analyzer] Add support for namespaces to GenericTaintChecker 2019-12-15 12:11:22 +01:00
taint-tester.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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
templates.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
temporaries-callback-order.cpp
temporaries.cpp [Analyzer] Allow creation of stack frame for functions without definition 2020-06-09 12:08:57 +02:00
temporaries.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
test-after-div-zero.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
test-include-cpp.cpp
test-include-cpp.h
test-include.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
test-include.h
test-objc-non-nil-return-value-checker.m
test-separate-retaincount.cpp [analyzer][RetainCount] Tie diagnostics to osx.cocoa.RetainCount rather then RetainCountBase, for the most part 2020-05-27 00:01:47 +02:00
test-variably-modified-types.c
this-pointer.cpp
track-control-dependency-conditions.cpp [analyzer] Don't track function calls as control dependencies 2022-04-08 10:16:58 +02:00
track-control-dependency-conditions.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
transparent_union_bug.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
traversal-algorithm.mm
traversal-begin-end-function.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
traversal-path-unification.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
trustnonnullchecker_test.m Reverting ce420820c8 because it fails expensive checks 2022-02-16 09:25:53 -08:00
trustnonnullchecker_test.mm
undef-buffers.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
undef-call.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
uninit-asm-goto.cpp [Clang][CFG] check children statements of asm goto 2022-01-07 14:11:08 -08:00
uninit-bug-first-iteration-init.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
uninit-const.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
uninit-const.cpp [analyzer] Find better description for tracked symbolic values 2021-04-28 18:37:38 +03:00
uninit-exhaustive-switch-bug.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
uninit-vals.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
uninit-vals.cpp
uninit-vals.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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 A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
unreachable-code-path.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
unsupported-types.c
unused-ivars.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
use-after-move.cpp Treat `std::move`, `forward`, etc. as builtins. 2022-04-17 13:26:16 -07:00
valist-as-lazycompound.c
valist-uninitialized-no-undef.c
valist-uninitialized.c Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04:00
valist-unterminated.c
variadic-method-types.m
vector.m A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
vfork.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05: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-overflow.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
vla.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
weak-dependencies.c [analyzer] Don't allow hidden checkers to emit diagnostics 2020-07-06 15:34:51 +02:00
weak-functions.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
yaccignore.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
z3-crosscheck.c
zero-operands.c [Analyzer] Infer 0 value when the divisible is 0 (bug fix) 2021-03-25 18:25:06 +01:00