hanchenye-llvm-project/clang/test/Analysis
Ted Kremenek 83e480f50f Now that I have a test file to work with, disable the Filecheck part of this test.
llvm-svn: 163536
2012-09-10 19:50:17 +00:00
..
diagnostics Fix bug in ConditionBRVisitor where for C++ (and not C) we were not ignoring 2012-09-07 06:51:37 +00:00
engine [analyzer] Fix a spurious undef value warning. 2012-06-01 23:48:44 +00:00
inlining Attempt (again) to stabilize the order of the emission of diagnostics 2012-09-08 04:26:37 +00:00
CFContainers.mm Fix off-by-one bug in diagnostic prose of ObjCContainersASTChecker. 2012-09-07 07:13:08 +00:00
CFDateGC.m Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
CFNumber.c Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
CFRetainRelease_NSAssertionHandler.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
CGColorSpace.c Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
CheckNSError.m Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
MissingDealloc.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
NSPanel.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
NSString.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
NSWindow.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
NoReturn.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
OSAtomic_mac.cpp
ObjCProperties.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
ObjCRetSigs.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
PR2599.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
PR2978.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
PR3991.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
PR7218.c
PR9741.cpp
PR12905.c Analyzer: Fix PR12905, a crash when encountering a call to a function named "C". 2012-05-21 19:40:38 +00:00
additive-folding-range-constraints.c [analyzer] Convert many existing tests to use clang_analyzer_eval. 2012-05-16 16:01:10 +00:00
additive-folding.cpp Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
analyzeOneFunction.m
analyze_display_progress.c
analyzer-stats.c
array-struct-region.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
array-struct-region.cpp [analyzer] Fix bad test from r163220. 2012-09-05 17:34:50 +00:00
array-struct.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
auto-obj-dtors-cfg-output.cpp [analyzer] Always include destructors in the analysis CFG. 2012-09-05 22:55:23 +00:00
base-init.cpp [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
blocks-no-inline.c [analyzer] Add a new abstraction over all types of calls: CallEvent 2012-07-02 19:27:35 +00:00
blocks.m [analyzer] Make BlockDataRegions typed, so that they have DynamicTypeInfo. 2012-08-17 20:16:34 +00:00
bool-assignment.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
bool-assignment2.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
bstring.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
casts.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
casts.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
cfref_PR2519.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
cfref_rdar6080742.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
check-deserialization.cpp [analyzer] PCH deserialization optimization. 2012-04-12 22:36:48 +00:00
chroot.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
comparison-implicit-casts.cpp Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
complex-init-list.cpp [analyzer] Fix a crash PR13762. 2012-09-05 22:31:58 +00:00
complex.c Remove BasicConstraintManager. It hasn't been in active service for a while. 2012-08-22 19:47:13 +00:00
concrete-address.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
constant-folding.c [analyzer] Convert many existing tests to use clang_analyzer_eval. 2012-05-16 16:01:10 +00:00
coverage.c [analyzer] Fix lack of coverage after empty inlined function. 2012-06-01 23:48:40 +00:00
cstring-syntax-cxx.cpp [analyzer] Turn on by default the Malloc Checker and a couple of CString 2012-02-20 21:10:37 +00:00
cstring-syntax.c Turn on strncat-size warning implemented a while ago. 2012-08-07 18:36:58 +00:00
ctor-inlining.mm [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
cxx-crashes.cpp [analyzer] Array CompoundLiteralExprs need to be treated like lvalues. 2012-06-16 01:28:03 +00:00
cxx-for-range-cfg.cpp Teach CFG construction about destructors resulting from references to array types. Fixes crash in <rdar://problem/11671507>. 2012-07-18 04:57:57 +00:00
cxx-method-names.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
cxx11-crashes.cpp [analyzer] Don't crash on LValBitCast 2012-05-25 16:02:16 +00:00
dead-stores.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
dead-stores.cpp Tweak DeadStoresChecker to not warn about dead stores to variables that 2012-09-06 22:32:48 +00:00
dead-stores.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
debug-CallGraph.c Add a basic CallGraph to Analysis. 2012-03-08 00:42:23 +00:00
default-analyze.m Add test case for <rdar://problem/8808566>, which is now fixed by inlining support. 2012-03-16 04:59:57 +00:00
default-diagnostic-visitors.c
delegates.m Turn -Wobjc-root-class on by default. <rdar://problem/11203649>. 2012-07-25 07:26:32 +00:00
derived-to-base.cpp [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
div-zero.cpp
domtest.c Refine CFG so that '&&' and '||' don't lead to extra confluence points when used in a branch, but 2012-07-14 05:04:10 +00:00
dtor.cpp [analyzer] Don't attempt to devirtualize calls to base class destructors. 2012-09-06 20:37:08 +00:00
dtors-in-dtor-cfg-output.cpp [analyzer] Always include destructors in the analysis CFG. 2012-09-05 22:55:23 +00:00
dynamic-cast.cpp [analyzer] Don't strip CXXBaseObjectRegions when checking dynamic_casts. 2012-08-13 22:11:34 +00:00
elementtype.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
exceptions.mm [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
exercise-ps.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
fields.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
free.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
func.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
global-region-invalidation.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
html-diags-multifile.c [analyzer diagnostics] Change CompactPathDiagnostic to recursively compact diagnostics in calls into macro pieces. 2012-03-02 01:27:31 +00:00
html-diags-multifile.h [analyzer diagnostics] Change CompactPathDiagnostic to recursively compact diagnostics in calls into macro pieces. 2012-03-02 01:27:31 +00:00
html-diags.c Fix test so that it doesn't keep failing forever when it's failed once. 2012-08-17 04:05:25 +00:00
idempotent-operations-limited-loops.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
idempotent-operations.c [analyzer] Don't use makeIntVal to create a floating-point value. 2012-09-04 19:34:58 +00:00
idempotent-operations.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
idempotent-operations.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
initializer.cpp [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
initializers-cfg-output.cpp [analyzer] Turn -cfg-add-initializers on by default, and remove the flag. 2012-07-31 18:04:59 +00:00
inline-not-supported.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
inline-plist.c Attempt (again) to stabilize the order of the emission of diagnostics 2012-09-08 04:26:37 +00:00
inline-unique-reports.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
inline.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
inline.cpp [analyzer] Cast the result of a placement new-expression to the correct type. 2012-09-08 01:24:38 +00:00
inline2.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
inline3.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
inline4.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
ivars.m [analyzer] Cluster bindings in RegionStore by base region. 2012-08-09 22:55:51 +00:00
keychainAPI-diagnostic-visitor.m
keychainAPI.m [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
lambdas.cpp Include lambda capture init expressions in CFG. 2012-04-12 20:34:52 +00:00
logical-ops.c [analyzer] The result of && or || is always a 1 or 0. 2012-08-20 17:04:45 +00:00
lvalue.cpp
malloc-annotations.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
malloc-interprocedural.c [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
malloc-overflow.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
malloc-overflow.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
malloc-plist.c Fix bug in BugReporter::RemoveUneededCalls() where "prunable" 2012-09-08 07:18:18 +00:00
malloc-sizeof.c [analyzer] Address John's code review for r163407. 2012-09-08 00:09:02 +00:00
malloc.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
malloc.cpp [analyzer] Always include destructors in the analysis CFG. 2012-09-05 22:55:23 +00:00
malloc.m [analyzer] Allow pointers escape through calls containing callback args. 2012-05-03 23:50:28 +00:00
malloc.mm [analyzer] Teach malloc checker that initWith[Bytes|Characters}NoCopy 2012-06-22 22:42:30 +00:00
method-arg-decay.m After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. 2012-02-27 22:55:11 +00:00
method-call-intra-p.cpp
method-call-path-notes.cpp Attempt (again) to stabilize the order of the emission of diagnostics 2012-09-08 04:26:37 +00:00
method-call.cpp [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
misc-ps-64.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-arm.m Having RegionStore lower field bindings to raw offsets, just like ElementRegions. This is a bit 2012-05-08 21:49:54 +00:00
misc-ps-cxx0x.cpp [analyzer] Track null/uninitialized C++ objects used in method calls. 2012-08-03 23:08:49 +00:00
misc-ps-eager-assume.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-ranges.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-region-store-i386.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-region-store-x86_64.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-region-store.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-region-store.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps-region-store.mm Fix analyzer tests. 2012-08-24 20:39:55 +00:00
misc-ps.c Add test case for <rdar://problem/12075238>, which recently got fixed by changes to RegionStore. 2012-09-07 19:09:51 +00:00
misc-ps.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
new.cpp [analyzer] Inline constructors for any object with a trivial destructor. 2012-08-27 17:50:07 +00:00
nil-receiver-undefined-larger-than-voidptr-ret-region.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
nil-receiver-undefined-larger-than-voidptr-ret.m Attempt (again) to stabilize the order of the emission of diagnostics 2012-09-08 04:26:37 +00:00
no-exit-cfg.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
no-outofbounds.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
nonnull.m [analyzer] Convert existing checkers to use check::preCall and check::postCall. 2012-07-02 19:28:21 +00:00
null-deref-ps-region.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
null-deref-ps.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
nullptr.cpp Replace inline asm constraint "=a" by the more general constraint "=r". 2012-05-22 11:03:10 +00:00
objc-arc.m "Teach" RetainCountChecker about dispatch_set_context, which can indirectly free its argument later. Fixes <rdar://problem/11059275>. 2012-03-22 06:29:41 +00:00
objc-bool.m Fix tests that weren't actually verifying anything. 2012-04-15 22:09:44 +00:00
objc-boxing.m [analyzer] Test objC boxing. 2012-05-11 23:15:16 +00:00
objc-for.m [analyzer] Add ObjCLoopChecker: objects from NSArray et al are non-nil. 2012-06-11 16:40:41 +00:00
objc-method-coverage.m [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
objc-subscript.m [analyzer] Combine all ObjC message CallEvents into ObjCMethodCall. 2012-07-18 21:59:51 +00:00
operator-calls.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
out-of-bounds.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
outofbound-notwork.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
outofbound.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
override-werror.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
plist-html-macros.c [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
plist-output-alternate.m Fix bug in BugReporter::RemoveUneededCalls() where "prunable" 2012-09-08 07:18:18 +00:00
plist-output.m Fix bug in BugReporter::RemoveUneededCalls() where "prunable" 2012-09-08 07:18:18 +00:00
pointer-to-member.cpp [analyzer] For now, treat pointers-to-members as non-null void * symbols. 2012-08-23 23:01:43 +00:00
pr4209.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
pr_2542_rdar_6793404.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
pr_4164.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
properties.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
pthreadlock.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
ptr-arith.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-6442306-1.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-6540084.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-6541136-region.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-6562655.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-6600344-nil-receiver-undefined-struct-ret.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
rdar-7168531.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
redefined_system.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
refcnt_naming.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
reference.cpp [analyzer] Be more forgiving about calling methods on struct rvalues. 2012-09-05 17:11:26 +00:00
region-1.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
region-store.c [analyzer] We currently do not fully support CompoundLiterals in 2012-05-08 23:40:38 +00:00
reinterpret-cast.cpp [analyzer] Only adjust the type of 'this' when we devirtualize a method call. 2012-08-15 17:33:34 +00:00
retain-release-gc-only.m [analyzer] More tests for "release and stop tracking". 2012-08-20 22:15:44 +00:00
retain-release-inline.m [analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests. 2012-08-21 21:44:07 +00:00
retain-release-path-notes-gc.m Attempt (again) to stabilize the order of the emission of diagnostics 2012-09-08 04:26:37 +00:00
retain-release-path-notes.m [analyzer] Add plist output checks for all four "path notes" tests. 2012-08-06 21:28:14 +00:00
retain-release-region-store.m Change RetainCountChecker to eagerly "escape" retained objects when they are 2012-03-27 01:12:45 +00:00
retain-release.m Now that I have a test file to work with, disable the Filecheck part of this test. 2012-09-10 19:50:17 +00:00
retain-release.mm [analyzer] RetainCountChecker: don't assume all functions have names. 2012-08-31 18:19:18 +00:00
security-syntax-checks-no-emit.c
security-syntax-checks.m Allow multiple PathDiagnosticConsumers to be used with a BugReporter at the same time. 2012-08-16 17:45:23 +00:00
self-init.m [analyzer] Handle inlining of instance calls to super. 2012-07-30 23:48:36 +00:00
sizeofpointer.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
stack-addr-ps.c Teach analyzer that blocks with no captures are globals. Fixes <rdar://problem/10348049>. 2012-02-18 22:41:01 +00:00
stack-addr-ps.cpp Better wording for reference self-initialization warning. 2012-08-20 08:52:22 +00:00
stack-block-returned.cpp
stackaddrleak.c
stats.c [analyzer] Record the basic blocks covered by the analyzes run. 2012-04-03 02:05:47 +00:00
stream.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
string-fail.c [analyzer] Convert many existing tests to use clang_analyzer_eval. 2012-05-16 16:01:10 +00:00
string.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
svalbuilder-logic.c [analyzer] Fix an assertion failure triggered by the analyzer buildbot. 2012-05-02 00:05:23 +00:00
system-header-simulator-objc.h [analyzer] Fixup to r158958. 2012-06-22 22:08:09 +00:00
system-header-simulator.h [analyzer] Malloc leak false positive: Allow xpc context to escape. 2012-06-20 23:35:57 +00:00
taint-generic.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
taint-tester.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
taint-tester.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00
taint-tester.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
temp-obj-dtors-cfg-output.cpp [analyzer] Always include destructors in the analysis CFG. 2012-09-05 22:55:23 +00:00
templates.cpp [analyzer] Look through SubstNonTypeTemplateParmExprs. 2012-07-27 01:15:02 +00:00
temporaries.cpp [analyzer] C++ objects returned on the stack may be wrapped in ExprWithCleanups. 2012-08-29 01:11:59 +00:00
test-objc-non-nil-return-value-checker.m [analyzer] Add osx.cocoa.NonNilReturnValue checker. 2012-08-22 21:19:56 +00:00
test-variably-modified-types.c [analyzer] Test variable modified types. 2012-05-11 23:34:14 +00:00
traversal-algorithm.mm Make this test invariant to future changes of the max loop unrolling count. 2012-07-02 21:02:22 +00:00
traversal-path-unification.c [analyzer] Remove constraints on dead symbols as part of removeDeadBindings. 2012-09-08 01:24:53 +00:00
undef-buffers.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
uninit-msg-expr.m
uninit-ps-rdar6145427.m
uninit-sometimes.cpp PR13360: When deciding the earliest point which inevitably leads to an 2012-07-13 23:33:44 +00:00
uninit-vals-ps-region.m Fix analyzer tests. 2012-08-24 20:39:55 +00:00
uninit-vals-ps.c
uninit-vals.m
unions-region.m
unix-fns.c
unreachable-code-path.c Fix analyzer tests. 2012-08-24 20:39:55 +00:00
unused-ivars.m [analyzer] Fix a regression in ObjCUnusedIVars checker. 2012-05-15 22:31:56 +00:00
variadic-method-types.m Allow multiple PathDiagnosticConsumers to be used with a BugReporter at the same time. 2012-08-16 17:45:23 +00:00
virtualcall.cpp Fix analyzer tests. 2012-08-24 20:39:55 +00:00