From 243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 30 Jul 2024 08:11:09 -0500 Subject: [clang][OpenMP] Rename `varlists` to `varlist`, NFC (#101058) It returns a range of variables (via Expr*), not a range of lists. --- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') 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(cast(RefExpr)->getDecl()); bool PerformInit = VD->getAnyInitializer() && -- cgit v1.1