diff options
| author | Eric Fiselier <eric@efcs.ca> | 2015-10-04 00:11:02 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2015-10-04 00:11:02 +0000 |
| commit | a3a7c56143f46966b140fef0ff0c1db96b7ecf9f (patch) | |
| tree | 46819a8e9e9365b72d57d328fe3d6da5589162dc /llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp | |
| parent | dde63374c51931f95bb8ce048f606c920648f729 (diff) | |
| download | bcm5719-llvm-a3a7c56143f46966b140fef0ff0c1db96b7ecf9f.tar.gz bcm5719-llvm-a3a7c56143f46966b140fef0ff0c1db96b7ecf9f.zip | |
Diagnose const atomics in __atomic builtins.
Diagnose when a pointer to const T is used as the first argument in at atomic
builtin unless that builtin is a load operation. This is already checked for
C11 atomics builtins but not for __atomic ones.
This patch was given the LGTM by rsmith when it was part
of a larger review. (See http://reviews.llvm.org/D10407)
llvm-svn: 249252
Diffstat (limited to 'llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions

