[clang] [clang-format] Add 'cl' to enable OpenCL kernel file formatting (PR #134529)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 00:51:11 PDT 2025


================
@@ -126,6 +126,7 @@ def main():
             "pb.txt",
             "textproto",
             "asciipb",  # TextProto
+            "cl", # OpenCL
----------------
wenju-he wrote:

done, moved after line 108. 
> Do we want to add "clcpp", # OpenCL C++?

I actually don't know about the current development status of C++ for OpenCL in clang. So If there is such request, I think it can be added in a separate PR.

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


More information about the cfe-commits mailing list