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
this == nullptr
results in undefined behavior
#6978
Labels
Comments
This warning should now be enabled in Clang by default, though didn't catch this earlier due to |
Line 4852 in 2af598f
|
I had a look IR.cpp and the invalid check is being done part of a Debug only feature; so it's not as critical a concern as ImmutableList. I've also done a sequence of searches in the codebase and I don't think there's anything else. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
‘this’ pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true
Tasks
clang:
-Wundefined-bool-conversion
msvc: ??
IR.cpp
The text was updated successfully, but these errors were encountered: