[clang] 4b98955 - Fix capitalization re review from 0ae9dac

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 21 12:17:08 PDT 2025


Author: erichkeane
Date: 2025-04-21T11:58:53-07:00
New Revision: 4b98955680e0aad33cad0e810f1daaa8bc7c0a23

URL: https://github.com/llvm/llvm-project/commit/4b98955680e0aad33cad0e810f1daaa8bc7c0a23
DIFF: https://github.com/llvm/llvm-project/commit/4b98955680e0aad33cad0e810f1daaa8bc7c0a23.diff

LOG: Fix capitalization re review from 0ae9dac

Added: 
    

Modified: 
    clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp b/clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
index 604fdf369860e..b79baa96a3fc3 100644
--- a/clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
@@ -134,10 +134,10 @@ class OpenACCClauseCIREmitter final
 
       // Ensure we keep the existing ones, and in the correct 'new' order.
       if (existingDeviceTypes) {
-        for (mlir::Attribute Attr : *existingDeviceTypes)
+        for (mlir::Attribute attr : *existingDeviceTypes)
           deviceTypes.push_back(mlir::acc::DeviceTypeAttr::get(
               builder.getContext(),
-              cast<mlir::acc::DeviceTypeAttr>(Attr).getValue()));
+              cast<mlir::acc::DeviceTypeAttr>(attr).getValue()));
       }
 
       for (const DeviceTypeArgument &arg : clause.getArchitectures()) {


        


More information about the cfe-commits mailing list