In the comparation of return statement, return value(if it is CXXBoolLiteralExpr) should be handled explicitly, otherwise an incorrect result would be returned.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D159479
[ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation ClosedPublic Authored by jcsxky on Sep 7 2023, 3:40 AM.
Details Summary In the comparation of return statement, return value(if it is CXXBoolLiteralExpr) should be handled explicitly, otherwise an incorrect result would be returned.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 7 2023, 4:18 AM jcsxky retitled this revision from [ASTImport]enhance statement comparing to [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation.Sep 7 2023, 6:00 AM Comment Actions
Fix title and summary. Comment Actions
Thanks for your quick review. This revision was landed with ongoing or failed builds.Sep 7 2023, 11:57 PM Closed by commit rGb0ea2790c41d: [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement… (authored by jcsxky, committed by wangpc). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 556232 clang/lib/AST/ASTStructuralEquivalence.cpp
clang/unittests/AST/StructuralEquivalenceTest.cpp
|