This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy]`pro-bounds-array-to-pointer-decay` ignore predefined expression
ClosedPublic

Authored by HerrCai0907 on Aug 17 2023, 7:52 PM.

Details

Summary

cast PredefinedExpr such as __func__ to const char* should be accpetted.

Diff Detail

Event Timeline

HerrCai0907 created this revision.Aug 17 2023, 7:52 PM
HerrCai0907 requested review of this revision.Aug 17 2023, 7:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 7:52 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Eugene.Zelenko added inline comments.Aug 17 2023, 8:38 PM
clang-tools-extra/docs/ReleaseNotes.rst
191

Please enclose __func__ in double back-ticks.

update release-note

HerrCai0907 marked an inline comment as done.Aug 17 2023, 9:46 PM
This revision is now accepted and ready to land.Aug 18 2023, 5:13 AM