Skip to content

Commit 92b5865

Browse files
committed
Fixup remove comment make sure we get Array sections right in Sema
1 parent 01f0382 commit 92b5865

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/Sema/SemaOpenACC.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,9 +2907,6 @@ OpenACCReductionRecipe SemaOpenACC::CreateReductionInitRecipe(
29072907
dyn_cast<ArraySectionExpr>(VarExpr->IgnoreParenImpCasts()))
29082908
VarTy = ArraySectionExpr::getBaseOriginalType(ASE);
29092909

2910-
// TODO: OpenACC: for arrays/bounds versions, we're going to have to do a
2911-
// different initializer, but for now we can go ahead with this.
2912-
29132910
VarDecl *AllocaDecl = CreateAllocaDecl(
29142911
getASTContext(), SemaRef.getCurContext(), VarExpr->getBeginLoc(),
29152912
&getASTContext().Idents.get("openacc.reduction.init"), VarTy);

0 commit comments

Comments
 (0)