================
@@ -825,6 +831,47 @@ void computeSPIRKernelABIInfo(CodeGenModule &CGM, 
CGFunctionInfo &FI);
 }
 } // namespace clang
 
+ABIArgInfo CodeGenTypes::convertABIArgInfo(const llvm::abi::ABIArgInfo 
&abiInfo,
+                                           QualType type) {
+  ABIArgInfo result;
+
+  if (abiInfo.isDirect()) {
+    llvm::Type *CoercedType = nullptr;
+    if (abiInfo.getCoerceToType()) {
----------------
nikic wrote:

Omit braces for one-line if.

https://github.com/llvm/llvm-project/pull/140112
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to