Skip to content

Commit 6280bb4

Browse files
committed
[clang] Remove redundant condition (NFC).
1 parent 145549f commit 6280bb4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CodeGenFunction.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,6 @@ class CodeGenFunction : public CodeGenTypeCache {
510510
if (CGM.getCodeGenOpts().getFiniteLoops() ==
511511
CodeGenOptions::FiniteLoopsKind::Never)
512512
return false;
513-
if (CGM.getCodeGenOpts().getFiniteLoops() ==
514-
CodeGenOptions::FiniteLoopsKind::Never)
515-
return false;
516513

517514
return getLangOpts().CPlusPlus11 || getLangOpts().CPlusPlus14 ||
518515
getLangOpts().CPlusPlus17 || getLangOpts().CPlusPlus20;

0 commit comments

Comments
 (0)