diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-03-11 10:49:14 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-03-11 10:49:14 +0000 |
| commit | 4ca1d8353203363db381c3c58789303b04994ae9 (patch) | |
| tree | 3509de020e61630e359c8d96eba04c18d57dd05d /lib/CodeGen/ModuleBuilder.cpp | |
| parent | 4bf1fd08303248ee97a83a57a5bf3da84b4af97c (diff) | |
| download | clang-4ca1d8353203363db381c3c58789303b04994ae9.tar.gz clang-4ca1d8353203363db381c3c58789303b04994ae9.tar.bz2 clang-4ca1d8353203363db381c3c58789303b04994ae9.tar.xz | |
Sema: produce error when invalid ordering is passed to atomic builtin
This is a conservative check, because it's valid for the expression to be
non-constant, and in cases like that we just don't know whether it's valid.
rdar://problem/16242991
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
