diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-04-14 10:44:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-14 10:44:25 -0300 |
commit | 10a15024212fe9ac06adad7daad2c1bb510a612c (patch) | |
tree | 074903792e3bf54d3d8d7bb2835ead8bbde1ddca /clang/lib/Sema/SemaOpenMP.cpp | |
parent | 4cb1803ff9d052f1b75d90d5be87345e54aebf92 (diff) | |
download | llvm-10a15024212fe9ac06adad7daad2c1bb510a612c.zip llvm-10a15024212fe9ac06adad7daad2c1bb510a612c.tar.gz llvm-10a15024212fe9ac06adad7daad2c1bb510a612c.tar.bz2 |
[clang] AST: remove source locations from [Variable/Dependent]SizedArrayType (#135511)
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
-rw-r--r-- | clang/lib/Sema/SemaOpenMP.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp index a382947..0e44cfa 100644 --- a/clang/lib/Sema/SemaOpenMP.cpp +++ b/clang/lib/Sema/SemaOpenMP.cpp @@ -19120,7 +19120,7 @@ static bool actOnOMPReductionKindClause( Type, new (Context) OpaqueValueExpr(ELoc, Context.getSizeType(), VK_PRValue), - ArraySizeModifier::Normal, /*IndexTypeQuals=*/0, SourceRange()); + ArraySizeModifier::Normal, /*IndexTypeQuals=*/0); } else if (!ASE && !OASE && Context.getAsArrayType(D->getType().getNonReferenceType())) { PrivateTy = D->getType().getNonReferenceType(); @@ -19360,7 +19360,7 @@ static bool actOnOMPReductionKindClause( OpaqueValueExpr(ELoc, S.Context.getSizeType(), VK_PRValue); QualType ArrayTy = S.Context.getVariableArrayType( PrivateTy, Dim, ArraySizeModifier::Normal, - /*IndexTypeQuals=*/0, {ELoc, ELoc}); + /*IndexTypeQuals=*/0); VarDecl *TempArrayVD = buildVarDecl(S, ELoc, ArrayTy, D->getName(), D->hasAttrs() ? &D->getAttrs() : nullptr); |