mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
3542168be0
Fixed #66047 Before fix,the following testcase expected true. ```cpp TEST_F(StructuralEquivalenceStmtTest, DeclRefENoEq) { std::string Prefix = "enum Test { AAA, BBB };"; auto t = makeStmts( Prefix + "void foo(int i) {if (i > 0) {i = AAA;} else {i = BBB;}}", Prefix + "void foo(int i) {if (i > 0) {i = BBB;} else {i = AAA;}}", Lang_CXX03, ifStmt()); EXPECT_FALSE(testStructuralMatch(t)); // EXPECT_TRUE } ``` |
||
---|---|---|
.. | ||
Interp | ||
APValue.cpp | ||
ASTConcept.cpp | ||
ASTConsumer.cpp | ||
ASTContext.cpp | ||
ASTDiagnostic.cpp | ||
ASTDumper.cpp | ||
ASTImporter.cpp | ||
ASTImporterLookupTable.cpp | ||
ASTStructuralEquivalence.cpp | ||
ASTTypeTraits.cpp | ||
AttrDocTable.cpp | ||
AttrImpl.cpp | ||
CMakeLists.txt | ||
Comment.cpp | ||
CommentBriefParser.cpp | ||
CommentCommandTraits.cpp | ||
CommentLexer.cpp | ||
CommentParser.cpp | ||
CommentSema.cpp | ||
ComparisonCategories.cpp | ||
ComputeDependence.cpp | ||
CXXABI.h | ||
CXXInheritance.cpp | ||
DataCollection.cpp | ||
Decl.cpp | ||
DeclarationName.cpp | ||
DeclBase.cpp | ||
DeclCXX.cpp | ||
DeclFriend.cpp | ||
DeclGroup.cpp | ||
DeclObjC.cpp | ||
DeclOpenMP.cpp | ||
DeclPrinter.cpp | ||
DeclTemplate.cpp | ||
Expr.cpp | ||
ExprClassification.cpp | ||
ExprConcepts.cpp | ||
ExprConstant.cpp | ||
ExprCXX.cpp | ||
ExprObjC.cpp | ||
ExternalASTMerger.cpp | ||
ExternalASTSource.cpp | ||
FormatString.cpp | ||
FormatStringParsing.h | ||
InheritViz.cpp | ||
ItaniumCXXABI.cpp | ||
ItaniumMangle.cpp | ||
JSONNodeDumper.cpp | ||
Linkage.h | ||
Mangle.cpp | ||
MicrosoftCXXABI.cpp | ||
MicrosoftMangle.cpp | ||
NestedNameSpecifier.cpp | ||
NSAPI.cpp | ||
ODRDiagsEmitter.cpp | ||
ODRHash.cpp | ||
OpenMPClause.cpp | ||
OSLog.cpp | ||
ParentMap.cpp | ||
ParentMapContext.cpp | ||
PrintfFormatString.cpp | ||
QualTypeNames.cpp | ||
Randstruct.cpp | ||
RawCommentList.cpp | ||
RecordLayout.cpp | ||
RecordLayoutBuilder.cpp | ||
ScanfFormatString.cpp | ||
SelectorLocationsKind.cpp | ||
Stmt.cpp | ||
StmtCXX.cpp | ||
StmtIterator.cpp | ||
StmtObjC.cpp | ||
StmtOpenMP.cpp | ||
StmtPrinter.cpp | ||
StmtProfile.cpp | ||
StmtViz.cpp | ||
TemplateBase.cpp | ||
TemplateName.cpp | ||
TextNodeDumper.cpp | ||
Type.cpp | ||
TypeLoc.cpp | ||
TypePrinter.cpp | ||
VTableBuilder.cpp | ||
VTTBuilder.cpp |