hanchenye-llvm-project/clang/test/Import
Shafik Yaghmour 16b90733c7 [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition
Summary:
For a CXXRecordDecl the RecordDeclBits are stored in the DeclContext. Currently when we import the definition of a CXXRecordDecl via the ASTImporter we do not copy over this data.
This change will add support for copying the ArgPassingRestrictions from RecordDeclBits to fix an LLDB expression parsing bug where we would set it to not pass in registers.
Note, we did not copy over any other of the RecordDeclBits since we don't have tests for those. We know that copying over LoadedFieldsFromExternalStorage would be a error and that may be the case for others as well.

The companion LLDB review: https://reviews.llvm.org/D61146

Differential Review: https://reviews.llvm.org/D61140

llvm-svn: 359338
2019-04-26 18:51:28 +00: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
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] Add test for importing anonymous namespaces. 2019-01-21 10:14:31 +00: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
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
destructor [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
direct
do-stmt
empty-struct
enum
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
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
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
while-stmt [AST] Only store the needed data in WhileStmt 2018-10-30 13:42:41 +00:00