Given that we provide an EditGenerator edit(ASTEdit), we can't ever be
sure that the user won't give us an empty replacement.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128887
[clang][transformer] Fix crash on replacement-less ASTEdit. ClosedPublic Authored by courbet on Jun 30 2022, 12:45 AM.
Details Summary Given that we provide an EditGenerator edit(ASTEdit), we can't ever be
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 30 2022, 12:45 AM This revision is now accepted and ready to land.Aug 9 2022, 1:00 PM This revision was landed with ongoing or failed builds.Aug 10 2022, 12:08 AM Closed by commit rG5331e1229aa6: [clang][transformer] Fix crash on replacement-less ASTEdit. (authored by courbet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 451363 clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
clang/lib/Tooling/Transformer/RewriteRule.cpp
|