[llvm] [OFFLOAD] Stricter enforcement of user offload disable (PR #133470)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 13:35:46 PDT 2025


================
@@ -46,10 +46,14 @@ class OffloadPolicy {
         Kind = DISABLED;
       }
       return;
-    };
+    }
   }
 
 public:
+  static bool isOffloadDisabled() {
----------------
shiltian wrote:

exceeds 80 chars

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


More information about the llvm-commits mailing list