We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
__has_builtin
clang-tidy sometimes gives the wrong result for __has_builtin.
clang-tidy
For example:
#if !__has_builtin(__builtin_os_log_format) #error "Needs built-in" #endif int main() {}
gives an error (https://godbolt.org/z/fWdz4zx6h), even though the built-in is actually there (https://godbolt.org/z/oE567Yeve)
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-tidy
Sorry, something went wrong.
Apparently this only happens in -std=c++20
-std=c++20
Duplicate of #50087. https://discourse.llvm.org/t/rfc-expand-modular-headers-ppcallbacks-problem-in-c-20/71628
No branches or pull requests
clang-tidy
sometimes gives the wrong result for__has_builtin
.For example:
gives an error (https://godbolt.org/z/fWdz4zx6h), even though the built-in is actually there (https://godbolt.org/z/oE567Yeve)
The text was updated successfully, but these errors were encountered: