diff options
author | Alex Lorenz <arphaman@gmail.com> | 2016-11-23 16:57:03 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2016-11-23 16:57:03 +0000 |
commit | 675221589e1a2b06c4f3235ffba442ba9760fee7 (patch) | |
tree | 8b48487a230afeb7b3a06d6c4e5e7d2a8b443ca4 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | ac10595b0ddc1bab84ec22fd3354720e1a865594 (diff) | |
download | llvm-675221589e1a2b06c4f3235ffba442ba9760fee7.zip llvm-675221589e1a2b06c4f3235ffba442ba9760fee7.tar.gz llvm-675221589e1a2b06c4f3235ffba442ba9760fee7.tar.bz2 |
[Sema][Atomics] Treat expected pointer in compare exchange atomics as _Nonnull
This commit teaches clang that is has to emit a warning when NULL is passed
as the 'expected' pointer parameter into an atomic compare exchange call.
rdar://18926650
Differential Revision: https://reviews.llvm.org/D26978
llvm-svn: 287776
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions