[clang] [clang][Builtins] Parse clang extended vectors types. (PR #83584)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 11:18:46 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 2b4d67bf59d609321701540a15f48eda04688652 ab12de397fa0c028ad6b92751a31ccabfe89dc7d -- clang/utils/TableGen/ClangBuiltinsEmitter.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/utils/TableGen/ClangBuiltinsEmitter.cpp b/clang/utils/TableGen/ClangBuiltinsEmitter.cpp
index 8aa3bc2503..5bbdb53521 100644
--- a/clang/utils/TableGen/ClangBuiltinsEmitter.cpp
+++ b/clang/utils/TableGen/ClangBuiltinsEmitter.cpp
@@ -96,7 +96,7 @@ private:
       Type += "E" + std::to_string(Lanes);
       if (!T.consume_front(":"))
         PrintFatalError(Loc, "Expected ':' after number of lanes");
-      if(!T.consume_back(">"))
+      if (!T.consume_back(">"))
         PrintFatalError(Loc, "Expected '>' after scalar type");
       ParseType(T);
     } else {

``````````

</details>


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


More information about the cfe-commits mailing list