[clang-tools-extra] [clang-tidy] Improved --verify-config when using literal style in config file (PR #85591)
Danny Mösch via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 18 14:05:59 PDT 2024
================
@@ -454,11 +454,14 @@ static constexpr StringLiteral VerifyConfigWarningEnd = " [-verify-config]\n";
static bool verifyChecks(const StringSet<> &AllChecks, StringRef CheckGlob,
StringRef Source) {
- llvm::StringRef Cur, Rest;
+ llvm::StringRef Cur = CheckGlob;
----------------
SimplyDanny wrote:
Should be empty at first.
https://github.com/llvm/llvm-project/pull/85591
More information about the cfe-commits
mailing list