llvm-project/clang/test
Pavel Labath d527cf89e6 [analyzer] Add very limited support for temporary destructors
This is an improved version of r186498. It enables ExprEngine to reason about
temporary object destructors.  However, these destructor calls are never
inlined, since this feature is still broken. Still, this is sufficient to
properly handle noreturn temporary destructors.

Now, the analyzer correctly handles expressions like "a || A()", and executes the
destructor of "A" only on the paths where "a" evaluted to false.

Temporary destructor processing is still off by default and one has to
explicitly request it by setting cfg-temporary-dtors=true.

Reviewers: jordan_rose

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1259

llvm-svn: 189746
2013-09-02 09:09:15 +00:00
..
ARCMT ObjectiveC migrator: If we find a method that returns a C pointer 2013-08-30 23:52:08 +00:00
ASTMerge Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
Analysis [analyzer] Add very limited support for temporary destructors 2013-09-02 09:09:15 +00:00
CXX Revert "Implement a rudimentary form of generic lambdas." 2013-08-22 12:12:24 +00:00
CodeCompletion Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
CodeGen Revert r189649 because it was breaking sanitizer bots. 2013-08-30 08:53:09 +00:00
CodeGenCUDA CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
CodeGenCXX Revert r189649 because it was breaking sanitizer bots. 2013-08-30 08:53:09 +00:00
CodeGenObjC Debug Info: follow-up patch to r189283. 2013-08-26 23:19:37 +00:00
CodeGenObjCXX CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
CodeGenOpenCL CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
Coverage Objective-C: When using super.prop, property should be 2013-03-11 22:26:33 +00:00
Driver clang-cl: Pass -incremental:no to linker when using ASan 2013-08-30 10:50:52 +00:00
FixIt Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
Format Switch the default mode for clang-format to '-file'. Make 'LLVM' the 2013-09-02 07:42:02 +00:00
Frontend clang/test/Frontend/rewrite-includes.c: Tweak expressions for r'\\', not r'\', on win32. 2013-08-29 16:11:17 +00:00
Headers Add missing definitions to unwind.h. 2013-08-28 23:16:49 +00:00
Index Comment parsing: fix a bug where a line with whitespace between two paragraphs 2013-08-23 18:03:40 +00:00
Lexer Revise -Wnewline-eof test per feedback from Dmitri. 2013-08-23 16:12:49 +00:00
Misc Mention in AST dump whether a class declaration is a definition. 2013-08-30 05:32:29 +00:00
Modules Map from local decl IDs to global decl IDs when lazily deserializing friend decl chains. 2013-08-30 00:23:29 +00:00
OpenMP Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
PCH Don't eagerly load all conversion operators when loading a class declaration 2013-08-30 04:46:40 +00:00
Parser Sema: Properly support Microsoft-mode template arguments 2013-08-23 05:39:39 +00:00
Preprocessor Add support for -march=slm, aka Intel Atom Silvermont. 2013-08-30 14:05:34 +00:00
Rewriter Adjust clang for change to APFloat::toString. 2013-08-29 23:44:43 +00:00
Sema Consolidating the notion of a GNU attribute parameter with the attribute argument list. 2013-08-31 01:11:41 +00:00
SemaCUDA
SemaCXX The diagnostic err_init_conversion_failed uses the enum 2013-08-31 03:50:47 +00:00
SemaObjC Improving objc_ownership attribute test coverage. 2013-09-01 19:11:23 +00:00
SemaObjCXX Don't produce duplicate notes if we have deduction failure notes when resolving 2013-08-14 00:00:44 +00:00
SemaOpenCL Consolidating the notion of a GNU attribute parameter with the attribute argument list. 2013-08-31 01:11:41 +00:00
SemaTemplate Sema: Subst type default template args earlier 2013-08-28 23:48:32 +00:00
TableGen Revert "tg-fixits.td: fixup for Linux" 2013-01-11 02:37:47 +00:00
Tooling Simplify now that llvm::sys::current_path checks $PWD. 2013-08-10 01:40:10 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 14:43:04 +00:00
CMakeLists.txt Re-add clang-format tests to clang/test. 2013-03-25 09:14:25 +00:00
Makefile Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [tests] Reapply r188354, ensure subsitution string is ascii. 2013-08-14 16:32:20 +00:00
lit.site.cfg.in Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
make_test_dirs.pl