[all-commits] [llvm/llvm-project] 20e81a: Update with warning message for comparison to NULL...
Krishna Narayanan via All-commits
all-commits at lists.llvm.org
Wed Jun 14 05:33:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20e81a80e9cb6403f850ab981438f3d9d88b5a4b
https://github.com/llvm/llvm-project/commit/20e81a80e9cb6403f850ab981438f3d9d88b5a4b
Author: Krishna Narayanan <krishnanarayanan132002 at gmail.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/conditional-expr.c
M clang/test/Sema/warn-tautological-compare.c
Log Message:
-----------
Update with warning message for comparison to NULL pointer
The tautological comparison warning was not properly looking through
parenthesized expressions, which is now fixed.
Fixes https://github.com/llvm/llvm-project/issues/42992
Differential Revision: https://reviews.llvm.org/D149000
More information about the All-commits
mailing list