From 282d4755c37ced7c2b36526d79033c5c76a006a8 Mon Sep 17 00:00:00 2001 From: YingChi Long Date: Thu, 4 Aug 2022 21:15:45 +0800 Subject: [PATCH] [clang] change `auto` to `Expr` in last commit [NFC] --- clang/lib/Sema/SemaChecking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 6428be1..d71114e 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -8716,7 +8716,7 @@ tryAgain: } } } - if (const auto *SLE = maybeConstEvalStringLiteral(S.Context, E)) + if (const Expr *SLE = maybeConstEvalStringLiteral(S.Context, E)) return checkFormatStringExpr(S, SLE, Args, APK, format_idx, firstDataArg, Type, CallType, /*InFunctionCall*/ false, CheckedVarArgs, UncoveredArg, Offset, -- 2.7.4