diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-03-11 11:35:10 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-03-11 11:35:10 +0000 |
| commit | 7533ae94377aed5aa7866ebd67cbcf616efabb3c (patch) | |
| tree | 3f34f4e56a1b175c57d56ebecf6d0ffc75167052 /lib/CodeGen/ModuleBuilder.cpp | |
| parent | ff4bb588943f0bf05c17415b7e440a81f73bbce7 (diff) | |
| download | clang-7533ae94377aed5aa7866ebd67cbcf616efabb3c.tar.gz clang-7533ae94377aed5aa7866ebd67cbcf616efabb3c.tar.bz2 clang-7533ae94377aed5aa7866ebd67cbcf616efabb3c.tar.xz | |
Sema: demote invalid atomic ordering message to warning.
Someone could write:
if (0) {
__c11_atomic_load(ptr, memory_order_release);
}
or the equivalent, which is perfectly valid, so we shouldn't outright reject
invalid orderings on purely static grounds.
rdar://problem/16242991
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
