[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_USING_IF_EXISTS from fundamental aliases (PR #107220)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 4 04:10:12 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 771b7af1db15e59f370ccadaa98bee8e5270b5f1 4c1dc3f00b65ba4d26818908e6dadd2986085847 --extensions  -- libcxx/include/cstddef libcxx/include/cstdint libcxx/include/cstdio libcxx/include/cstdlib libcxx/include/cstring libcxx/include/ctime libcxx/include/cuchar libcxx/include/cwchar
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/cstdint b/libcxx/include/cstdint
index 88f6f901f9..164c214aed 100644
--- a/libcxx/include/cstdint
+++ b/libcxx/include/cstdint
@@ -158,15 +158,15 @@ Types:
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
-using ::int8_t;
 using ::int16_t;
 using ::int32_t;
 using ::int64_t;
+using ::int8_t;
 
-using ::uint8_t;
 using ::uint16_t;
 using ::uint32_t;
 using ::uint64_t;
+using ::uint8_t;
 
 using ::int_least8_t _LIBCPP_USING_IF_EXISTS;
 using ::int_least16_t _LIBCPP_USING_IF_EXISTS;

``````````

</details>


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


More information about the libcxx-commits mailing list