projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145549f
)
[clang] Remove redundant condition (NFC).
author
Florian Hahn
<flo@fhahn.com>
Fri, 12 Feb 2021 20:07:58 +0000
(20:07 +0000)
committer
Florian Hahn
<flo@fhahn.com>
Fri, 12 Feb 2021 20:14:24 +0000
(20:14 +0000)
clang/lib/CodeGen/CodeGenFunction.h
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CodeGenFunction.h
b/clang/lib/CodeGen/CodeGenFunction.h
index
ff98751
..
296e4e8
100644
(file)
--- 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;