HomePhabricator

[clang-tidy][NFC] Tweak some generation of diag messages

Authored by njames93 on Feb 26 2021, 11:10 AM.

Description

[clang-tidy][NFC] Tweak some generation of diag messages

Fix up cases where diag is called by piecing together a string in favour of placeholders.
Fix up cases where select could be used instead of duplicating the message for sake of 1 word difference.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97488