forked from OSchip/llvm-project
16b90733c7
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 |
||
---|---|---|
.. | ||
array-init-loop-expr | ||
attr | ||
call-expr | ||
clang-flags | ||
compound-assign-op | ||
conflicting-struct | ||
conversion-decl | ||
cxx-anon-namespace | ||
cxx-casts | ||
cxx-default-init-expr | ||
cxx-for-range | ||
cxx-member-pointers | ||
cxx-noexcept-expr | ||
cxx-record-flags | ||
cxx-scalar-value-init | ||
cxx-try-catch | ||
destructor | ||
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 | ||
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 | ||
objc-definitions-in-expression | ||
objc-method | ||
objc-param-decl | ||
objc-try-catch | ||
overloaded-function | ||
pack-expansion-expr | ||
struct-and-var | ||
struct-in-namespace | ||
struct-layout | ||
switch-stmt | ||
template | ||
template-specialization | ||
while-stmt |