[clang] [OpenACC][CIR] Implement 'device_type' clause lowering for 'init'/'sh… (PR #135102)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 10:09:12 PDT 2025


================
@@ -57,31 +75,90 @@ class OpenACCClauseCIREmitter final
     }
   }
 
+  mlir::acc::DeviceType decodeDeviceType(const IdentifierInfo *II) {
+
----------------
andykaylor wrote:

I've been telling people not to put a blank line here because it seemed inconsistent with the prevailing style in clang. Am I wrong about that?

https://github.com/llvm/llvm-project/pull/135102


More information about the cfe-commits mailing list