[flang-commits] [flang] Add support for assume_aligned directive (PR #81747)

via flang-commits flang-commits at lists.llvm.org
Wed Feb 14 07:46:35 PST 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 dd1897c6cb028bda7d4d541d1bb33965eccf0a68 4439a97c51da335e60975baee362811dcf40321b -- flang/include/flang/Parser/dump-parse-tree.h flang/include/flang/Parser/parse-tree.h flang/lib/Parser/Fortran-parsers.cpp flang/lib/Parser/unparse.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/include/flang/Parser/parse-tree.h b/flang/include/flang/Parser/parse-tree.h
index f8f4074f9a..28215219b4 100644
--- a/flang/include/flang/Parser/parse-tree.h
+++ b/flang/include/flang/Parser/parse-tree.h
@@ -3309,8 +3309,7 @@ struct CompilerDirective {
   struct LoopCount {
     WRAPPER_CLASS_BOILERPLATE(LoopCount, std::list<std::uint64_t>);
   };
-  struct AssumeAligned
-  {
+  struct AssumeAligned {
     TUPLE_CLASS_BOILERPLATE(AssumeAligned);
     std::tuple<common::Indirection<Designator>, uint64_t> t;
   };

``````````

</details>


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


More information about the flang-commits mailing list