Skip to content

Conversation

@a-tarasyuk
Copy link
Member

Fixes #114572

@llvmbot llvmbot added the libc label Nov 1, 2024
@llvmbot
Copy link
Member

llvmbot commented Nov 1, 2024

@llvm/pr-subscribers-libc

Author: Oleksandr T. (a-tarasyuk)

Changes

Fixes #114572


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

1 Files Affected:

  • (modified) libc/src/__support/big_int.h (+3-3)
diff --git a/libc/src/__support/big_int.h b/libc/src/__support/big_int.h
index 246b89f08f2ff9..bea0abc84b2136 100644
--- a/libc/src/__support/big_int.h
+++ b/libc/src/__support/big_int.h
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_LIBC_SRC___SUPPORT_UINT_H
-#define LLVM_LIBC_SRC___SUPPORT_UINT_H
+#ifndef LLVM_LIBC_SRC___SUPPORT_BIG_INT_H
+#define LLVM_LIBC_SRC___SUPPORT_BIG_INT_H
 
 #include "src/__support/CPP/array.h"
 #include "src/__support/CPP/bit.h" // countl_zero
@@ -1373,4 +1373,4 @@ first_trailing_one(T value) {
 
 } // namespace LIBC_NAMESPACE_DECL
 
-#endif // LLVM_LIBC_SRC___SUPPORT_UINT_H
+#endif // LLVM_LIBC_SRC___SUPPORT_BIG_INT_H

Copy link
Contributor

@michaelrj-google michaelrj-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the patch! Do you need me to merge this for you?

@a-tarasyuk
Copy link
Member Author

@michaelrj-google yes, I do. thanks

@michaelrj-google michaelrj-google merged commit 21895a8 into llvm:main Nov 1, 2024
9 checks passed
@michaelrj-google
Copy link
Contributor

Done

smallp-o-p pushed a commit to smallp-o-p/llvm-project that referenced this pull request Nov 3, 2024
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[libc] wrong header guard on libc/src/__support/big_int.h

3 participants