Author: YingChi Long Date: 2022-08-04T21:15:45+08:00 New Revision: 282d4755c37ced7c2b36526d79033c5c76a006a8
URL: https://github.com/llvm/llvm-project/commit/282d4755c37ced7c2b36526d79033c5c76a006a8 DIFF: https://github.com/llvm/llvm-project/commit/282d4755c37ced7c2b36526d79033c5c76a006a8.diff LOG: [clang] change `auto` to `Expr` in last commit [NFC] Added: Modified: clang/lib/Sema/SemaChecking.cpp Removed: ################################################################################ diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 6428be13f061..d71114e33f31 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -8716,7 +8716,7 @@ checkFormatStringExpr(Sema &S, const Expr *E, ArrayRef<const Expr *> Args, } } } - 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, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits