llvm-project/clang/lib/AST
Raphael Isemann 01b3bd3992 [ASTImporter] Remove ASTNodeImporter::IsStructuralMatch overload for EnumConstantDecl
1. Moves the check to ASTStructuralEquivalence.cpp like all the other checks.

2. Adds the missing checks for identifier and init expression. Also add the
respective tests for that stuff.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D112804
2021-10-30 13:12:12 +02:00
..
Interp Implement if consteval (P1938) 2021-10-05 08:04:14 -04:00
APValue.cpp
ASTConcept.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
ASTConsumer.cpp
ASTContext.cpp [clang] Use llvm::{count,count_if,find_if,all_of,none_of} (NFC) 2021-10-25 09:14:45 -07:00
ASTDiagnostic.cpp Fix missing qualifier in template type diffing 2021-08-16 18:34:18 -07:00
ASTDumper.cpp
ASTImporter.cpp [ASTImporter] Remove ASTNodeImporter::IsStructuralMatch overload for EnumConstantDecl 2021-10-30 13:12:12 +02:00
ASTImporterLookupTable.cpp
ASTStructuralEquivalence.cpp [ASTImporter] Remove ASTNodeImporter::IsStructuralMatch overload for EnumConstantDecl 2021-10-30 13:12:12 +02:00
ASTTypeTraits.cpp Update `DynTypedNode` to support the conversion of `TypeLoc`s. 2021-10-04 19:25:24 +00:00
AttrDocTable.cpp [gn build] manually port 18f9e25ce1 (AttrDocTable) 2021-08-12 21:30:59 -04:00
AttrImpl.cpp [OPENMP51]Initial parsing/sema for append_args clause for 'declare variant' 2021-10-25 09:38:50 -07:00
CMakeLists.txt [gn build] manually port 18f9e25ce1 (AttrDocTable) 2021-08-12 21:30:59 -04:00
CXXABI.h
CXXInheritance.cpp [clang] Use llvm::erase_if (NFC) 2021-10-17 13:50:29 -07:00
Comment.cpp
CommentBriefParser.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
CommentCommandTraits.cpp
CommentLexer.cpp
CommentParser.cpp
CommentSema.cpp [clang] Use llvm::erase_if (NFC) 2021-10-17 13:50:29 -07:00
ComparisonCategories.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
ComputeDependence.cpp
DataCollection.cpp
Decl.cpp [clang] Fix range for forward-declared enums 2021-10-25 13:16:14 +02:00
DeclBase.cpp [clang] Support -clear-ast-before-backend without -disable-free 2021-10-14 13:43:53 -07:00
DeclCXX.cpp [clang] Use llvm::erase_if (NFC) 2021-10-17 13:50:29 -07:00
DeclFriend.cpp
DeclGroup.cpp
DeclObjC.cpp [modules] Fix tracking ObjCInterfaceType decl when there are multiple definitions. 2021-10-21 12:08:06 -07:00
DeclOpenMP.cpp
DeclPrinter.cpp [Clang][AST] Resolve FIXME: Remove ObjCObjectPointer from 2021-10-20 10:32:46 -07:00
DeclTemplate.cpp [clang] set templates as invalid when any of the parameters are invalid 2021-09-25 04:04:47 +02:00
DeclarationName.cpp
Expr.cpp [clang][compiler-rt][atomics] Add `__c11_atomic_fetch_nand` builtin and support `__atomic_fetch_nand` libcall 2021-10-28 02:18:43 +00:00
ExprCXX.cpp
ExprClassification.cpp [clang] NFC: change uses of `Expr->getValueKind` into `is?Value` 2021-07-28 03:09:31 +02:00
ExprConcepts.cpp
ExprConstant.cpp [AST] fail rather than crash when const evaluating invalid c++ foreach 2021-10-27 22:45:32 +02:00
ExprObjC.cpp [clang] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr 2021-07-28 23:27:43 +02:00
ExternalASTMerger.cpp [clang] Use llvm::erase_if (NFC) 2021-10-17 13:50:29 -07:00
ExternalASTSource.cpp
FormatString.cpp
FormatStringParsing.h
InheritViz.cpp
ItaniumCXXABI.cpp Change __builtin_sycl_unique_stable_name to just use an Itanium mangling 2021-09-28 06:41:03 -07:00
ItaniumMangle.cpp Fix unintended fall-through. 2021-10-08 14:25:17 -07:00
JSONNodeDumper.cpp Implement if consteval (P1938) 2021-10-05 08:04:14 -04:00
Linkage.h
Mangle.cpp
MicrosoftCXXABI.cpp Change __builtin_sycl_unique_stable_name to just use an Itanium mangling 2021-09-28 06:41:03 -07:00
MicrosoftMangle.cpp [clang] Fix a few more comment typos to cycle bots 2021-09-20 20:06:03 -04:00
NSAPI.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
NestedNameSpecifier.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
ODRHash.cpp
OSLog.cpp
OpenMPClause.cpp [APInt] Stop using soft-deprecated constructors and methods in clang. NFC. 2021-10-04 09:38:11 +01:00
ParentMap.cpp
ParentMapContext.cpp [AST, CodeGen, Driver] Use llvm::is_contained (NFC) 2021-10-12 09:19:49 -07:00
PrintfFormatString.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
QualTypeNames.cpp
RawCommentList.cpp
RecordLayout.cpp
RecordLayoutBuilder.cpp [AST, CodeGen, Driver] Use llvm::is_contained (NFC) 2021-10-12 09:19:49 -07:00
ScanfFormatString.cpp
SelectorLocationsKind.cpp
Stmt.cpp Implement if consteval (P1938) 2021-10-05 08:04:14 -04:00
StmtCXX.cpp
StmtIterator.cpp
StmtObjC.cpp [clang] Convert ObjCAtTryStmt to llvm::TrailingObjects 2021-10-27 08:57:05 -04:00
StmtOpenMP.cpp [OpenMP] Initial parsing/sema for the 'omp loop' construct 2021-10-28 08:26:43 -07:00
StmtPrinter.cpp [OpenMP] Initial parsing/sema for the 'omp loop' construct 2021-10-28 08:26:43 -07:00
StmtProfile.cpp [OpenMP] Initial parsing/sema for the 'omp loop' construct 2021-10-28 08:26:43 -07:00
StmtViz.cpp
TemplateBase.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
TemplateName.cpp Fully qualify template template parameters when printing 2021-09-02 15:04:34 -07:00
TextNodeDumper.cpp Implement if consteval (P1938) 2021-10-05 08:04:14 -04:00
Type.cpp [modules] Fix tracking ObjCInterfaceType decl when there are multiple definitions. 2021-10-21 12:08:06 -07:00
TypeLoc.cpp Properly determine the end location of an ObjCObjectPointerType. 2021-10-29 13:15:53 -07:00
TypePrinter.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
VTTBuilder.cpp
VTableBuilder.cpp [AST, CodeGen, Driver] Use llvm::is_contained (NFC) 2021-10-12 09:19:49 -07:00