From: Florian Hahn Date: Fri, 12 Feb 2021 20:07:58 +0000 (+0000) Subject: [clang] Remove redundant condition (NFC). X-Git-Tag: llvmorg-14-init~15217 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6280bb4cd80e39b0e54b1c8dd091f2b7175381eb;p=platform%2Fupstream%2Fllvm.git [clang] Remove redundant condition (NFC). --- 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;