summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/atomicinit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR18097: Support initializing an _Atomic(T) from an object of C++ class type TRichard Smith2014-07-311-1/+55
| | | | | | | or a class derived from T. We already supported this when initializing _Atomic(T) from T for most (and maybe all) other reasonable values of T. llvm-svn: 214390
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-3/+3
| | | | | | tests fail. llvm-svn: 188447
* Fix some i1/i8 confusion within _Atomic(bool) in IR generation, bothDouglas Gregor2012-04-121-1/+24
| | | | | | | | | | | | | | in general (such an atomic has boolean representation) and specifically for IR generation of __c11_atomic_init. The latter also means actually using initialization semantics for this initialization, rather than just creating a store. On a related note, make sure we actually put in non-atomic-to-atomic conversions when performing an implicit conversion sequence. IR generation is far too kind here, but we still want the ASTs to make sense. llvm-svn: 154612
* Update recently-added test to use new __c11_ form of atomic builtins.Richard Smith2012-04-111-1/+1
| | | | llvm-svn: 154514
* Make __atomic_init() (soon to be __c11_atomic_init()) work with non-scalar ↵David Chisnall2012-04-111-0/+13
| | | | | | types. llvm-svn: 154507
* Allow c++ initialisers to initialise _Atomic fields.David Chisnall2012-04-111-0/+12
llvm-svn: 154499
OpenPOWER on IntegriCloud