[clang] Compiler messages on HIP SDK for Windows (PR #97668)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 20:39:16 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 845dee36ba4161df153ba05009cea615e20eda5a eb83f777e5e15f2602b34b0ba48d1cf5ac803d16 -- clang/lib/Driver/ToolChains/AMDGPU.cpp clang/lib/Driver/ToolChains/ROCm.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Driver/ToolChains/ROCm.h b/clang/lib/Driver/ToolChains/ROCm.h
index e2492b1630..242e84a32e 100644
--- a/clang/lib/Driver/ToolChains/ROCm.h
+++ b/clang/lib/Driver/ToolChains/ROCm.h
@@ -196,7 +196,7 @@ public:
   bool hasHIPStdParLibrary() const { return HasHIPStdParLibrary; }
 
   /// Check whether the target triple is for Windows.
-  bool isWindows() const { return hostTriple.isOSWindows();}
+  bool isWindows() const { return hostTriple.isOSWindows(); }
 
   /// Print information about the detected ROCm installation.
   void print(raw_ostream &OS) const;

``````````

</details>


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


More information about the cfe-commits mailing list