hanchenye-llvm-project/clang/test/Analysis
Manuel Klimek f67672e41c Work around missing handling of temporaries bound to default arguments.
Yet more problems due to the missing CXXBindTemporaryExpr in the CFG for
default arguments.

Unfortunately we cannot just switch off inserting temporaries for the
corresponding default arguments, as that breaks existing tests
(test/SemaCXX/return-noreturn.cpp:245).

llvm-svn: 215554
2014-08-13 15:25:55 +00:00
..
Inputs
diagnostics [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
engine
inlining Do not inline methods of C++ containers (coming from headers). 2014-06-27 01:03:05 +00:00
objc
CFContainers-invalid.c
CFContainers.mm
CFDateGC.m
CFNumber.c
CFRetainRelease_NSAssertionHandler.m
CGColorSpace.c
CheckNSError.m
Malloc+MismatchedDeallocator+NewDelete.cpp
Malloc+MismatchedDeallocator_intersections.cpp
Malloc+NewDelete_intersections.cpp
MismatchedDeallocator-checker-test.mm
MismatchedDeallocator-path-notes.cpp
MissingDealloc.m
NSContainers.m [analyzer] When checking Foundation method calls, match the selectors exactly. 2014-04-09 01:39:22 +00:00
NSPanel.m
NSString.m
NSWindow.m
NewDelete+MismatchedDeallocator_intersections.cpp
NewDelete-checker-test.cpp
NewDelete-custom.cpp
NewDelete-intersections.mm
NewDelete-path-notes.cpp
NewDelete-variadic.cpp
NewDeleteLeaks-PR18394.cpp Normalize line endings 2014-03-02 18:46:05 +00:00
NewDeleteLeaks-PR19102.cpp [Analyzer] fix for PR19102 2014-08-05 18:26:05 +00:00
NoReturn.m
OSAtomic_mac.cpp
ObjCProperties.m
ObjCRetSigs.m
PR2599.m
PR2978.m
PR3991.m
PR7218.c
PR9741.cpp
PR12905.c
additive-folding-range-constraints.c
additive-folding.cpp
analyzeOneFunction.m
analyze_display_progress.c
analyzer-config.c
analyzer-config.cpp
analyzer-stats.c
array-struct-region.c
array-struct-region.cpp
array-struct.c
auto-obj-dtors-cfg-output.cpp Reapply "Pretty Printer: Fix printing of conversion operator decls and calls." 2014-02-25 18:03:55 +00:00
base-init.cpp
bitwise-ops.c
blocks-no-inline.c
blocks.m
bool-assignment.c
bstring.c
builtin-functions.cpp
call-invalidation.cpp [analyzer] Functions marked __attribute__((const)) don't modify any memory. 2014-05-07 03:29:56 +00:00
casts.c PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00
casts.cpp
casts.m
cfg.cpp Fix some cases of incorrect handling of lifetime extended temporaries. 2014-07-30 08:34:42 +00:00
cfref_PR2519.c
cfref_rdar6080742.c
check-deserialization.cpp
checker-plugins.c
chroot.c
comparison-implicit-casts.cpp
complex-init-list.cpp
complex.c
concrete-address.c
conditional-operator.cpp
conditional-path-notes.c
constant-folding.c
coverage.c
crash-trace.c
cstring-syntax-cxx.cpp
cstring-syntax.c
ctor.mm [analyzer] Improve test from r207486. 2014-04-29 17:08:17 +00:00
cxx-crashes.cpp
cxx-for-range-cfg.cpp
cxx-for-range.cpp
cxx-method-names.cpp
cxx11-crashes.cpp
dead-stores.c Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
dead-stores.cpp
dead-stores.m
debug-CallGraph.c
default-analyze.m
default-diagnostic-visitors.c
delegates.m
derived-to-base.cpp
div-zero.cpp
domtest.c
dtor-cxx11.cpp [analyzer] Remove incorrect workaround for unimplemented temporary destructors. 2014-04-01 16:39:59 +00:00
dtor.cpp [analyzer] Re-enable test I accidentally committed commented-out. 2014-04-07 16:36:08 +00:00
dtors-in-dtor-cfg-output.cpp
dynamic-cast.cpp
edges-new.mm
elementtype.c
enum.cpp
exceptions.mm
exercise-ps.c Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
fields.c
free.c
func.c
global-region-invalidation.c
global_region_invalidation.mm
html-diags-multifile.c
html-diags-multifile.h
html-diags.c
identical-expressions.cpp [analyzer] Check all conditions in a chained if against each other. 2014-03-11 16:52:29 +00:00
initializer.cpp
initializers-cfg-output.cpp
inline-not-supported.c
inline-plist.c
inline-unique-reports.c
inline.c
inline.cpp
inline2.c
inline3.c
inline4.c
ivars.m
keychainAPI-diagnostic-visitor.m
keychainAPI.m
kmalloc-linux.c [analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs. 2014-03-26 17:05:46 +00:00
lambdas.cpp
lit.local.cfg
live-variables.cpp
live-variables.m
logical-ops.c
lvalue.cpp
malloc-annotations.c
malloc-interprocedural.c
malloc-overflow.c
malloc-overflow.cpp
malloc-plist.c
malloc-sizeof.c
malloc-three-arg.c [analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs. 2014-03-26 17:05:46 +00:00
malloc.c
malloc.cpp
malloc.m
malloc.mm
member-expr.cpp [analyzer] Don't assert when combining using .* on a temporary. 2014-04-29 17:08:12 +00:00
method-arg-decay.m
method-call-intra-p.cpp
method-call-path-notes.cpp
method-call.cpp
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 Add -Wtautological-undefined-compare and -Wundefined-bool-conversion warnings 2014-06-06 21:39:26 +00:00
misc-ps-region-store.m Fix testcase for case. 2014-05-20 17:15:31 +00:00
misc-ps-region-store.mm
misc-ps.c
misc-ps.m [analyzer] Check for negative values used as the size of a C variable-length array. 2014-08-12 16:44:22 +00:00
new-with-exceptions.cpp
new.cpp
nil-receiver-undefined-larger-than-voidptr-ret-region.m
nil-receiver-undefined-larger-than-voidptr-ret.m
no-exit-cfg.c
no-outofbounds.c
nonnull.m [analyzer] NonNullParamChecker: don't freak out about nested transparent_unions. 2014-02-26 01:20:19 +00:00
null-deref-path-notes.m
null-deref-ps-region.c
null-deref-ps.c
nullptr.cpp
objc-arc.m
objc-bool.m
objc-boxing.m
objc-for.m
objc-method-coverage.m
objc-properties.m
objc-radar17039661.m Fix a crash in Retain Count checker error reporting 2014-06-13 23:47:38 +00:00
objc-string.mm
objc-subscript.m
objc_invalidation.m Objective-C. Issue more warning diagnostic when certain 2014-07-26 20:52:26 +00:00
operator-calls.cpp
out-of-bounds.c
outofbound-notwork.c
outofbound.c
override-werror.c
plist-html-macros.c
plist-macros.cpp
plist-output-alternate.m
plist-output.m
pointer-to-member.cpp
pr4209.m
pr_2542_rdar_6793404.m
pr_4164.c
properties.m [analyzer] Don't track retain counts of objects directly accessed through ivars. 2014-03-25 17:10:58 +00:00
properties.mm
pthreadlock.c [analyzer] Lock checker: Allow pthread_mutex_init to reinitialize a destroyed lock. 2014-04-01 03:40:53 +00:00
ptr-arith.c PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00
ptr-arith.cpp
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
redefined_system.c
refcnt_naming.m
reference.cpp Add -Wtautological-undefined-compare and -Wundefined-bool-conversion warnings 2014-06-06 21:39:26 +00:00
reference.mm
region-1.m Objective-C. Diagose use of undefined protocols 2014-03-11 17:10:51 +00:00
region-store.c
region-store.cpp
reinterpret-cast.cpp
retain-release-cache-out.m [analyzer] Don't create new PostStmt nodes if we don't have to. 2014-06-18 19:23:30 +00:00
retain-release-cf-audited.m
retain-release-gc-only.m
retain-release-inline.m
retain-release-path-notes-gc.m
retain-release-path-notes.m
retain-release-region-store.m
retain-release.m [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
retain-release.mm
security-syntax-checks-no-emit.c
security-syntax-checks.m
self-init.m
shallow-mode.m
simple-stream-checks.c
sizeofpointer.c
stack-addr-ps.c
stack-addr-ps.cpp Add -Wtautological-undefined-compare and -Wundefined-bool-conversion warnings 2014-06-06 21:39:26 +00:00
stack-block-returned.cpp
stackaddrleak.c PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00
static_local.m
stats.c
stream.c
string-fail.c
string.c
superclass.m [analyzer] Move checker alpha.osx.cocoa.MissingSuperCall out of alpha category. 2014-02-19 05:28:39 +00:00
svalbuilder-logic.c
taint-generic.c
taint-tester.c
taint-tester.cpp
taint-tester.m
temp-obj-dtors-cfg-output.cpp Re-applying r214962. 2014-08-07 10:42:17 +00:00
templates.cpp
temporaries.cpp Work around missing handling of temporaries bound to default arguments. 2014-08-13 15:25:55 +00:00
test-after-div-zero.c [analyzer] Check for code testing a variable for 0 after using it as a denominator. 2014-07-10 16:10:52 +00:00
test-objc-non-nil-return-value-checker.m
test-variably-modified-types.c
traversal-algorithm.mm
traversal-path-unification.c
undef-buffers.c
uninit-const.c [analyzer] Warn when passing pointers to const but uninitialized memory. 2014-03-13 17:55:39 +00:00
uninit-const.cpp [analyzer] Warn when passing pointers to const but uninitialized memory. 2014-03-13 17:55:39 +00:00
uninit-msg-expr.m
uninit-ps-rdar6145427.m
uninit-sometimes.cpp
uninit-vals-ps-region.m
uninit-vals-ps.c
uninit-vals.m
unions-region.m
unions.cpp
unix-fns.c
unreachable-code-path.c
unused-ivars.m
variadic-method-types.m
virtualcall.cpp
virtualcall.h
vla.c [analyzer] Check for negative values used as the size of a C variable-length array. 2014-08-12 16:44:22 +00:00
weak-functions.c PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00