From 6280bb4cd80e39b0e54b1c8dd091f2b7175381eb Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Fri, 12 Feb 2021 20:07:58 +0000 Subject: [PATCH] [clang] Remove redundant condition (NFC). --- clang/lib/CodeGen/CodeGenFunction.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index ff98751..296e4e8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -510,9 +510,6 @@ public: if (CGM.getCodeGenOpts().getFiniteLoops() == CodeGenOptions::FiniteLoopsKind::Never) return false; - if (CGM.getCodeGenOpts().getFiniteLoops() == - CodeGenOptions::FiniteLoopsKind::Never) - return false; return getLangOpts().CPlusPlus11 || getLangOpts().CPlusPlus14 || getLangOpts().CPlusPlus17 || getLangOpts().CPlusPlus20; -- 2.7.4