This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Correct union & macros handling in modernize-use-equals-default
ClosedPublic

Authored by PiotrZSL on Mar 25 2023, 12:37 PM.

Details

Summary

To this moment this check were ignoring only inline
union special members, From now also out-of-line
special members going to be ignored. Also extended
support for IgnoreMacros to cover also macros used
inside a body, or used preprocesor directives.

Fixes:

Diff Detail

Event Timeline

PiotrZSL created this revision.Mar 25 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald Transcript
PiotrZSL requested review of this revision.Mar 25 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2023, 12:37 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Mar 25 2023, 2:03 PM