aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2024-07-30 08:11:09 -0500
committerGitHub <noreply@github.com>2024-07-30 08:11:09 -0500
commit243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5 (patch)
tree4107861ff42306bdbfffee2f8d91b68b72e9433e /clang/lib/CodeGen/CodeGenModule.cpp
parent26ca7820ebe06369227efaa282fb2ac96c5aa74a (diff)
downloadllvm-243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5.zip
llvm-243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5.tar.gz
llvm-243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5.tar.bz2
[clang][OpenMP] Rename `varlists` to `varlist`, NFC (#101058)
It returns a range of variables (via Expr*), not a range of lists.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 8057812..5a575c5 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -7484,7 +7484,7 @@ void CodeGenModule::EmitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D) {
// Do not emit threadprivates in simd-only mode.
if (LangOpts.OpenMP && LangOpts.OpenMPSimd)
return;
- for (auto RefExpr : D->varlists()) {
+ for (auto RefExpr : D->varlist()) {
auto *VD = cast<VarDecl>(cast<DeclRefExpr>(RefExpr)->getDecl());
bool PerformInit =
VD->getAnyInitializer() &&