Skip to content

[libc] Ignore -Winclude-next-absolute-path warning in float-macros.h #83513

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

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

lntue
Copy link
Contributor

@lntue lntue commented Mar 1, 2024

No description provided.

@lntue lntue requested a review from MaskRay March 1, 2024 01:23
@llvmbot llvmbot added the libc label Mar 1, 2024
@llvmbot
Copy link
Member

llvmbot commented Mar 1, 2024

@llvm/pr-subscribers-libc

Author: None (lntue)

Changes

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

1 Files Affected:

  • (modified) libc/include/llvm-libc-macros/float-macros.h (+1)
diff --git a/libc/include/llvm-libc-macros/float-macros.h b/libc/include/llvm-libc-macros/float-macros.h
index a51eab0c7ed2f3..4fe8590c5f70c8 100644
--- a/libc/include/llvm-libc-macros/float-macros.h
+++ b/libc/include/llvm-libc-macros/float-macros.h
@@ -13,6 +13,7 @@
 #ifdef __clang__
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wgnu-include-next"
+#pragma clang diagnostic ignored "-Winclude-next-absolute-path"
 #else // gcc
 #pragma GCC system_header
 #endif //__clang__

@lntue lntue merged commit cf68c04 into llvm:main Mar 1, 2024
@lntue lntue deleted the include_next branch March 1, 2024 02:08
@nickdesaulniers
Copy link
Member

Do you still have the text of the diagnostic handy?

Please try to put that in the commit message when fixing diagnostics going forward (perhaps abridged/abbreviated when fixing numerous diagnostics).

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.

4 participants