[all-commits] [llvm/llvm-project] f4877c: [clang] Improve `-Wnull-dereference` diag to be mo...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Fri Jul 9 02:52:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4877c78c0fc98be47b926439bbfe33d5e1d1b6d
https://github.com/llvm/llvm-project/commit/f4877c78c0fc98be47b926439bbfe33d5e1d1b6d
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/test/Analysis/NewDelete-checker-test.cpp
M clang/test/Analysis/conditional-path-notes.c
M clang/test/Analysis/cxx-for-range.cpp
M clang/test/Analysis/diagnostics/no-prune-paths.c
M clang/test/Analysis/inlining/path-notes.cpp
M clang/test/Analysis/objc-arc.m
M clang/test/Analysis/objc-for.m
M clang/test/Analysis/taint-generic.c
M clang/test/Analysis/valist-uninitialized.c
M clang/test/Parser/expressions.c
M clang/test/Sema/exprs.c
M clang/test/Sema/offsetof.c
M clang/test/SemaCXX/member-pointer.cpp
Log Message:
-----------
[clang] Improve `-Wnull-dereference` diag to be more in-line with reality
* Drop any mention of `volatile`.
Please refer to https://reviews.llvm.org/D105338
* Drop address space check - it really doesn't affect the behavior,
the store will still be dropped: https://godbolt.org/z/dP8fevxG4
More information about the All-commits
mailing list