llvm-project/clang/lib/AST
Peter Collingbourne e655e74a31 AST: Create __va_list in the std namespace even in C.
This ensures that the mangled type names match between C and C++,
which is significant when using -fsanitize=cfi-icall. Ideally we
wouldn't have created this namespace at all, but it's now part of
the ABI (e.g. in mangled names), so we can't change it.

Differential Revision: https://reviews.llvm.org/D104830
2021-06-23 18:59:10 -07:00
..
Interp Interp.h - AddSubMulHelper - avoid APSInt::toString std::string wrapper. NFCI 2021-06-09 11:09:31 +01:00
APValue.cpp [NFC] Move readAPValue/writeAPValue up the inheritance hierarchy 2021-01-06 16:44:50 -08:00
ASTConcept.cpp
ASTConsumer.cpp
ASTContext.cpp AST: Create __va_list in the std namespace even in C. 2021-06-23 18:59:10 -07:00
ASTDiagnostic.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
ASTDumper.cpp Undo Revert "Ignore template instantiations if not in AsIs mode" 2020-11-03 13:59:01 -08:00
ASTImporter.cpp [clang][AST] Set correct DeclContext in ASTImporter lookup table for template params. 2021-06-17 11:20:27 +02:00
ASTImporterLookupTable.cpp [clang][AST] Set correct DeclContext in ASTImporter lookup table for ParmVarDecl. 2021-06-04 14:24:44 +02:00
ASTStructuralEquivalence.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
ASTTypeTraits.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
AttrImpl.cpp [OpenMP] Overhaul `declare target` handling 2021-05-06 02:10:41 -05:00
CMakeLists.txt [Ignore Expressions] Fix performance regression by inlining `Ignore*SingleStep` 2020-09-09 07:32:40 +00:00
CXXABI.h Recommit of a2fdf9d4d7. 2021-02-05 11:27:30 -05:00
CXXInheritance.cpp Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
Comment.cpp
CommentBriefParser.cpp
CommentCommandTraits.cpp Explicitly include <cassert> when using assert 2020-03-02 22:45:28 +01:00
CommentLexer.cpp [clang][NFC] Rearrange Comment Token and Lexer fields to reduce padding 2020-10-27 00:03:43 +00:00
CommentParser.cpp
CommentSema.cpp [AST] Remove DeclCXX.h dep on ASTContext.h 2020-04-06 10:09:01 -07:00
ComparisonCategories.cpp Revert "Revert "Ensure that checkInitIsICE is called exactly once for every variable"" 2020-10-26 12:08:57 -07:00
ComputeDependence.cpp [clang] Make CXXDefaultArgExpr inherit dependence from the inner Expr 2021-06-10 14:51:08 +02:00
DataCollection.cpp Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
Decl.cpp Handle interactions between reserved identifier and user-defined suffixes 2021-06-23 15:38:42 +02:00
DeclBase.cpp [clang] p1099 using enum part 2 2021-06-08 11:11:46 -07:00
DeclCXX.cpp [clang][NFC] Add IsAnyDestructorNoReturn field to CXXRecord instead of calculating it on demand 2021-06-13 14:48:27 +02:00
DeclFriend.cpp
DeclGroup.cpp
DeclObjC.cpp [ObjC] Add a command line flag that disables recognition of objc_direct for testability 2021-04-06 11:17:01 -04:00
DeclOpenMP.cpp [OPENMP]Redesign of OMPExecutableDirective/OMPDeclarativeDirective representation. 2020-08-06 12:25:19 -04:00
DeclPrinter.cpp [clang] p1099 using enum part 2 2021-06-08 11:11:46 -07:00
DeclTemplate.cpp PR50337, PR50561: Fix determination of whether a template parameter list 2021-06-02 13:06:40 -07:00
DeclarationName.cpp [clang][AST] Encapsulate DeclarationNameLoc, NFCI 2021-01-27 11:21:01 +00:00
Expr.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
ExprCXX.cpp [Clang] Check for returns_nonnull when deciding to add allocation null checks 2021-06-23 17:15:12 -07:00
ExprClassification.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
ExprConcepts.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
ExprConstant.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
ExprObjC.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
ExternalASTMerger.cpp Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
ExternalASTSource.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
FormatString.cpp [Sema] Emit a -Wformat warning for printf("%s", (void*)p) 2020-07-10 15:10:24 -04:00
FormatStringParsing.h
InheritViz.cpp
ItaniumCXXABI.cpp Recommit of a2fdf9d4d7. 2021-02-05 11:27:30 -05:00
ItaniumMangle.cpp SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one. 2021-05-28 12:31:12 +01:00
JSONNodeDumper.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
Linkage.h [c++20] For P0732R2 / P1907R1: Basic code generation and name 2020-11-09 22:10:27 -08:00
Mangle.cpp [clang/Basic] Make TargetInfo.h not use DataLayout again 2021-04-27 22:26:10 -04:00
MicrosoftCXXABI.cpp Recommit of a2fdf9d4d7. 2021-02-05 11:27:30 -05:00
MicrosoftMangle.cpp [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
NSAPI.cpp [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
NestedNameSpecifier.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
ODRHash.cpp Revert "Following up on PR48517, fix handling of template arguments that refer" 2021-01-20 15:55:35 +01:00
OSLog.cpp [clang][NFC] Add 'override' keyword to virtual function overrides 2020-07-14 08:59:57 -07:00
OpenMPClause.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
ParentMap.cpp
ParentMapContext.cpp [ASTMatchers] Fix hasParent while ignoring unwritten nodes 2021-02-18 15:04:03 +00:00
PrintfFormatString.cpp [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
QualTypeNames.cpp Fully-qualify template args of outer types in getFullyQualifiedType 2021-06-03 10:50:00 -07:00
RawCommentList.cpp [clang] fix undefined behaviour in RawComment::getFormattedText() 2020-04-06 10:48:25 +02:00
RecordLayout.cpp [AIX] Implement AIX special alignment rule about double/long double 2020-07-27 15:13:03 -04:00
RecordLayoutBuilder.cpp [AIX] Implement AIX special bitfield related alignment rules 2021-05-17 11:30:29 -04:00
ScanfFormatString.cpp
SelectorLocationsKind.cpp
Stmt.cpp [cfe] Support target-specific escaped character in inline asm 2021-05-24 21:39:21 -07:00
StmtCXX.cpp
StmtIterator.cpp
StmtObjC.cpp
StmtOpenMP.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
StmtPrinter.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
StmtProfile.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
StmtViz.cpp
TemplateBase.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
TemplateName.cpp [NFC] Refactor DiagnosticBuilder and PartialDiagnostic 2020-10-19 17:48:04 -04:00
TextNodeDumper.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
Type.cpp Handle unexpanded packs appearing in type-constraints. 2021-05-12 18:45:34 -07:00
TypeLoc.cpp [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
TypePrinter.cpp SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one. 2021-05-28 12:31:12 +01:00
VTTBuilder.cpp
VTableBuilder.cpp [NFC] [Clang]: fix spelling mistake in assert message 2021-04-12 14:10:52 +08:00