Add a new attribute on records, __attribute__((adl_invisible)), and define
the x86-64 __va_list_tag with this attribute. The attribute causes the affected type to behave like a fundamental type when considered by ADL. (x86-64 is the only target we currently provide with a struct-based __builtin_va_list) Fixes PR6762. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104941 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/Decl.h 17 additions, 0 deletionsinclude/clang/AST/Decl.h
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Parse/AttributeList.h 1 addition, 0 deletionsinclude/clang/Parse/AttributeList.h
- lib/AST/Decl.cpp 1 addition, 0 deletionslib/AST/Decl.cpp
- lib/Basic/Targets.cpp 1 addition, 1 deletionlib/Basic/Targets.cpp
- lib/Frontend/PCHReaderDecl.cpp 1 addition, 0 deletionslib/Frontend/PCHReaderDecl.cpp
- lib/Frontend/PCHWriterDecl.cpp 1 addition, 0 deletionslib/Frontend/PCHWriterDecl.cpp
- lib/Parse/AttributeList.cpp 1 addition, 0 deletionslib/Parse/AttributeList.cpp
- lib/Sema/SemaDeclAttr.cpp 19 additions, 3 deletionslib/Sema/SemaDeclAttr.cpp
- lib/Sema/SemaLookup.cpp 4 additions, 0 deletionslib/Sema/SemaLookup.cpp
- test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp 11 additions, 0 deletionstest/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
Loading
Please register or sign in to comment