summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/volatile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 'nonnull' parameter or return attribute when producing an llvm pointer ↵Nick Lewycky2014-05-281-1/+1
| | | | | | type in a function type where the C++ type is a reference. Update the tests. llvm-svn: 209723
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-2/+2
| | | | | | tests fail. llvm-svn: 188447
* Fix a bug in the emission of __real/__imag l-values on scalar operands.John McCall2010-12-051-2/+0
| | | | | | | | | Fix a bug in the emission of complex compound assignment l-values. Introduce a method to emit an expression whose value isn't relevant. Make that method evaluate its operand as an l-value if it is one. Fixes our volatile compliance in C++. llvm-svn: 120931
* Expression statements undergo lvalue-to-rvalue conversion in C,John McCall2010-08-251-0/+35
but not in C++, so don't emit aggregate loads of volatile references in null context in C++. Happens to have been caught by an assertion. We do not get the scalar case right. Volatiles are really broken. llvm-svn: 112019
OpenPOWER on IntegriCloud