summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/assign.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify some complex emission and implement correct semantics forJohn McCall2010-11-161-3/+3
| | | | | | | | | assignment to volatiles in C. This in effect reverts some of mjs's work in and around r72572. Basically, the C++ standard is quite clear, except that it lies about volatile behavior approximating C's, whereas the C standard is almost actively misleading. llvm-svn: 119344
* IRgen: Assignment to Objective-C properties shouldn't reload the value (whichDaniel Dunbar2010-06-291-0/+32
would trigger an extra method call). - While in the area, I also changed Clang to not emit an unnecessary load from 'x' in cases like 'y = (x = 1)'. llvm-svn: 107210
OpenPOWER on IntegriCloud