We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae9dac commit 4b98955Copy full SHA for 4b98955
clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
@@ -134,10 +134,10 @@ class OpenACCClauseCIREmitter final
134
135
// Ensure we keep the existing ones, and in the correct 'new' order.
136
if (existingDeviceTypes) {
137
- for (mlir::Attribute Attr : *existingDeviceTypes)
+ for (mlir::Attribute attr : *existingDeviceTypes)
138
deviceTypes.push_back(mlir::acc::DeviceTypeAttr::get(
139
builder.getContext(),
140
- cast<mlir::acc::DeviceTypeAttr>(Attr).getValue()));
+ cast<mlir::acc::DeviceTypeAttr>(attr).getValue()));
141
}
142
143
for (const DeviceTypeArgument &arg : clause.getArchitectures()) {
0 commit comments