This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Add trace code for ASTVisitors
Needs ReviewPublic

Authored by njames93 on Jul 29 2022, 3:03 PM.

Details

Summary

This was some code I wrote to help debug crashes when refactoring the SimplifyBooleanExpr check.
I feel like this could help fix other potential crashes in checks that make use of ASTVisitors.
It would also bring the crashing debug info more in line with what we have for matcher based checks.

Diff Detail

Event Timeline

njames93 created this revision.Jul 29 2022, 3:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 3:03 PM
njames93 requested review of this revision.Jul 29 2022, 3:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 3:03 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript