[flang-commits] [flang] [flang][cuda] Implicitly load cudadevice module in device/global subprogram (PR #91668)

via flang-commits flang-commits at lists.llvm.org
Thu May 9 15:00:49 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 dad11097096c05564758e539f9f03ef883365fdd ade9d8153cd01db0b0a84656272ea6fb2daf39fe -- flang/include/flang/Semantics/semantics.h flang/lib/Semantics/check-cuda.cpp flang/lib/Semantics/resolve-names.cpp flang/lib/Semantics/semantics.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/include/flang/Semantics/semantics.h b/flang/include/flang/Semantics/semantics.h
index 367c9224df..167e613816 100644
--- a/flang/include/flang/Semantics/semantics.h
+++ b/flang/include/flang/Semantics/semantics.h
@@ -214,7 +214,7 @@ public:
   // Defines builtinsScope_ from the __Fortran_builtins module
   void UseFortranBuiltinsModule();
   const Scope *GetBuiltinsScope() const { return builtinsScope_; }
-  
+
   const Scope &GetCUDABuiltinsScope();
   const Scope &GetCUDADeviceScope();
 

``````````

</details>


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


More information about the flang-commits mailing list