llvm-capstone/clang/test/Import
Balázs Kéri 29a4ed80bb [clang][ASTImporter] Add VaList declaration to lookup table.
The declaration of __builtin_va_list seems to be handled specially
by ASTContext and/or Sema. The normal AST traversal probably can
not find it, therefore it is not added to ASTImporterLookupTable.
If it is not added, errors can occur because a duplicated
VaList declaration is created at import. To fix the problem the
VaList declaration is added manually to ASTImporterLookupTable
at construction.
In special cases this declaration is inside a "invisible" 'std'
namespace that behaves the same way. This namespace must be added
to the table too.

Reviewed By: vabridgers, donat.nagy

Differential Revision: https://reviews.llvm.org/D144273
2023-03-06 09:32:02 +01:00
..
array-init-loop-expr
attr
builtin-template
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
cxx-valist [clang][ASTImporter] Add VaList declaration to lookup table. 2023-03-06 09:32:02 +01:00
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
namespace
objc-arc
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