Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Clang] Fix a bot failure after 032ad590 #132555

Merged
merged 1 commit into from
Mar 22, 2025
Merged

Conversation

zyn0217
Copy link
Contributor

@zyn0217 zyn0217 commented Mar 22, 2025

@zyn0217 zyn0217 added the skip-precommit-approval PR for CI feedback, not intended for review label Mar 22, 2025
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Mar 22, 2025
@zyn0217 zyn0217 merged commit 868c89f into llvm:main Mar 22, 2025
9 of 14 checks passed
@llvmbot
Copy link
Member

llvmbot commented Mar 22, 2025

@llvm/pr-subscribers-clang

Author: Younan Zhang (zyn0217)

Changes

See #132061


Full diff: https://github.com/llvm/llvm-project/pull/132555.diff

1 Files Affected:

  • (modified) clang/test/SemaCXX/ctad.cpp (+1-1)
diff --git a/clang/test/SemaCXX/ctad.cpp b/clang/test/SemaCXX/ctad.cpp
index 1e4980cc124be..00a861d0f567c 100644
--- a/clang/test/SemaCXX/ctad.cpp
+++ b/clang/test/SemaCXX/ctad.cpp
@@ -79,7 +79,7 @@ using size_t = decltype(sizeof(0));
 
 struct index_type
 {
-  size_t value{~0ull};
+  size_t value = 0;
   index_type() = default;
   constexpr index_type(size_t i) noexcept : value(i) {}
 };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category skip-precommit-approval PR for CI feedback, not intended for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants