clang-1/test
Manman Ren 63fd408a61 Exploit this-return of a callsite in a this-return function.
For constructors/desctructors that return 'this', if there exists a callsite
that returns 'this' and is immediately before the return instruction, make
sure we are using the return value from the callsite.

We don't need to keep 'this' alive through the callsite. It also enables
optimizations in the backend, such as tail call optimization.

Updated from r177211.
rdar://12818789


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177541 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-20 16:59:38 +00:00
..
ARCMT [arcmt] Make sure the function has an associated parameter for the argument 2013-02-14 17:29:16 +00:00
ASTMerge Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then 2012-12-20 02:22:15 +00:00
Analysis [analyzer] Add an integer version of the Circle tests in uninit-vals.m. 2013-03-19 23:01:57 +00:00
CXX Don't look outside the innermost enclosing namespace when 2013-03-20 01:53:00 +00:00
CodeCompletion PR14381: Never skip constexpr function bodies when code-completing. We may need 2012-11-19 21:13:18 +00:00
CodeGen The flag "-coverage-function-names-in-data" is actually backwards -- we do 2013-03-20 02:14:38 +00:00
CodeGenCUDA CUDA: give static storage class to __shared__ and __constant__ 2012-08-28 20:37:50 +00:00
CodeGenCXX Exploit this-return of a callsite in a this-return function. 2013-03-20 16:59:38 +00:00
CodeGenObjC Simplify/generalize some debug info test cases 2013-03-19 23:10:14 +00:00
CodeGenObjCXX Sema: Preserve attributes on parameters in instantiated function templates. 2013-03-08 22:25:36 +00:00
CodeGenOpenCL Fix indirect byval passing of records in address spaced memory. Allocate memory on stack, and memcpy the actual value before the call. 2013-03-10 12:59:00 +00:00
Coverage Objective-C: When using super.prop, property should be 2013-03-11 22:26:33 +00:00
Driver Fix redundant comparison in gcc::Common::ConstructJob. 2013-03-20 07:34:27 +00:00
FixIt Fix warning text of my last patch. 2013-02-28 23:16:39 +00:00
Frontend [frontend] Initialize the diagnostic client before loading an ast file. 2013-03-18 22:55:24 +00:00
Headers libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against 2013-02-21 02:17:58 +00:00
Index [libclang] Modify clang_getCursorType to be able to handle a function template decl. 2013-03-18 23:54:50 +00:00
Lexer Add -Wc99-compat warning for C11 unicode string and character literals. 2013-03-11 18:01:42 +00:00
Misc Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. 2013-03-18 22:52:47 +00:00
Modules <rdar://problem/10796651> Introduce configuration macros into module maps. 2013-03-20 00:22:05 +00:00
OpenMP Add initial rough support for synthesizing linker options when passed 2013-01-17 13:19:29 +00:00
PCH [PCH] Fix assertion hit related to enum decls inside templated funtions. 2013-03-18 22:23:49 +00:00
Parser Teach statement / declaration disambiguation about C++11-style generalized initializers. 2013-03-20 03:35:02 +00:00
Preprocessor PR15539: Record "evaluating if/elif condition" flag in the right place 2013-03-18 23:22:28 +00:00
Rewriter Objective-C modern translator. Don't put line info 2013-03-18 19:41:18 +00:00
Sema documentation comment parsing. Added couple of 2013-03-18 23:45:52 +00:00
SemaCUDA
SemaCXX Diagnose uses of 'alignof' on functions in -pedantic mode. 2013-03-18 23:37:25 +00:00
SemaObjC Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaObjCXX Add a clarifying note when a return statement is rejected because 2013-03-19 07:04:25 +00:00
SemaOpenCL Add support for the 'endian' attribute for OpenCL. 2013-03-14 09:54:43 +00:00
SemaTemplate Flag that friend function definitions are "late parsed" so that 2013-03-14 05:13:41 +00:00
TableGen Revert "tg-fixits.td: fixup for Linux" 2013-01-11 02:37:47 +00:00
Tooling ClangTool output cleanup 2013-03-15 20:14:01 +00:00
Unit Fixup for r176934. More careful setup of path to llvm-symbolizer 2013-03-15 07:29:58 +00:00
CMakeLists.txt Add llvm-symbolizer as test dependency. 2013-03-13 09:36:02 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Fixup for r176934. More careful setup of path to llvm-symbolizer 2013-03-15 07:29:58 +00:00
lit.site.cfg.in
make_test_dirs.pl