llvm-project/clang/test/Import
Akira Hatanaka 40568fec7e [CodeGen] Emit destructor calls to destruct compound literals
Fix a bug in IRGen where it wasn't destructing compound literals in C
that are ObjC pointer arrays or non-trivial structs. Also diagnose jumps
that enter or exit the lifetime of the compound literals.

rdar://problem/51867864

Differential Revision: https://reviews.llvm.org/D64464
2020-03-10 14:08:28 -07:00
..
array-init-loop-expr [ASTImporter] Actually test ArrayInitLoopExpr in the array-init-loop-expr test. 2018-08-22 22:50:45 +00:00
attr
builtin-template [ASTImporter] Add support for BuiltinTemplateDecl 2019-10-30 14:53:35 +01:00
call-expr [AST] Store "UsesADL" information in CallExpr. 2018-12-12 21:50:55 +00:00
clang-flags
compound-assign-op
conflicting-struct
conversion-decl
cxx-anon-namespace [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
cxx-casts
cxx-default-init-expr
cxx-for-range [cxx2a] P0614R1: Support init-statements in range-based for loops. 2018-09-28 18:44:09 +00:00
cxx-member-pointers
cxx-noexcept-expr [ASTImporter] Add test for CXXNoexceptExpr 2018-08-21 17:15:57 +00:00
cxx-record-flags [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
cxx-scalar-value-init
cxx-try-catch [ASTImporter] Add test for C++'s try/catch statements. 2018-08-20 22:13:24 +00:00
destructor [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
direct
do-stmt
empty-struct
enum [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
error-in-expression
error-in-import
expr-with-cleanups
extern-c-function
for-stmt
forward-declared-objc-class
forward-declared-struct
if-stmt [AST] Only store the needed data in IfStmt 2018-10-27 21:12:20 +00:00
import-overrides
in-class-initializer
indirect-goto
indirect-struct-member-access
inherited-ctor-init-expr
local-struct
local-struct-use-origins
member-in-struct
missing-import
multiple-forward-declarations
namespace [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
objc-arc [CodeGen] Emit destructor calls to destruct compound literals 2020-03-10 14:08:28 -07:00
objc-autoreleasepool [ASTImporter] Add test for ObjCAutoreleasePoolStmt 2018-08-22 22:45:04 +00:00
objc-definitions-in-expression
objc-method
objc-param-decl [ASTImporter] Add test for ObjCTypeParamDecl 2018-08-22 22:48:40 +00:00
objc-try-catch Re-land [ASTImporter] Add test for ObjCAtTryStmt/ObjCAtCatchStmt/ObjCAtThrowStmt 2018-08-23 16:06:30 +00:00
overloaded-function
pack-expansion-expr [ASTImporter] Add test for PackExpansionExpr 2018-08-24 18:01:56 +00:00
struct-and-var Tighten up CHECK lines added in a9f10ebffa to work on ARM. 2019-12-05 18:35:08 -08:00
struct-in-namespace
struct-layout
switch-stmt Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
template
template-specialization [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
while-stmt [AST] Only store the needed data in WhileStmt 2018-10-30 13:42:41 +00:00