We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f3cca commit 6a5231eCopy full SHA for 6a5231e
clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -1950,9 +1950,9 @@ class OMPTransformDirectiveScopeRAII {
1950
Scope = new OMPLoopScope(CGF, *Dir);
1951
CGSI = new CodeGenFunction::CGCapturedStmtInfo(CR_OpenMP);
1952
CapInfoRAII = new CodeGenFunction::CGCapturedStmtRAII(CGF, CGSI);
1953
- }
1954
- if (const auto *Dir =
1955
- dyn_cast<OMPCanonicalLoopSequenceTransformationDirective>(S)) {
+ } else if (const auto *Dir =
+ dyn_cast<OMPCanonicalLoopSequenceTransformationDirective>(
+ S)) {
1956
// For simplicity we reuse the loop scope similarly to what we do with
1957
// OMPCanonicalLoopNestTransformationDirective do by being a subclass
1958
// of OMPLoopBasedDirective.
0 commit comments