summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/volatile-1.c
Commit message (Collapse)AuthorAgeFilesLines
* Update clang tests for r137527.Eli Friedman2011-08-121-127/+127
| | | | llvm-svn: 137535
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-1/+1
| | | | llvm-svn: 134831
* Fix this test case on no-asserts builds by not trying to match the basicJohn McCall2010-12-041-1/+3
| | | | | | block line. llvm-svn: 120893
* Although we currently have explicit lvalue-to-rvalue conversions, they'reJohn McCall2010-12-041-1/+11
| | | | | | | | | | | | | | | | | | | not actually frequently used, because ImpCastExprToType only creates a node if the types differ. So explicitly create an ICE in the lvalue-to-rvalue conversion code in DefaultFunctionArrayLvalueConversion() as well as several other new places, and consistently deal with the consequences throughout the compiler. In addition, introduce a new cast kind for loading an ObjCProperty l-value, and make sure we emit those nodes whenever an ObjCProperty l-value appears that's not on the LHS of an assignment operator. This breaks a couple of rewriter tests, which I've x-failed until future development occurs on the rewriter. Ted Kremenek kindly contributed the analyzer workarounds in this patch. llvm-svn: 120890
* Simplify some complex emission and implement correct semantics forJohn McCall2010-11-161-22/+182
| | | | | | | | | 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
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Don't #include <stdio.h> when tests don't need it, or use clang instead of ↵Daniel Dunbar2009-11-171-1/+1
| | | | | | clang-cc when they do. llvm-svn: 89070
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-2/+2
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* We don't want to validate bad code, Mike Stump2009-05-291-2/+2
| | | | llvm-svn: 72574
* Note another case that doesn't work yet.Mike Stump2009-05-291-0/+4
| | | | llvm-svn: 72573
* Fixup the rest of the trivial cases of the codegen of volatile. IfMike Stump2009-05-291-0/+139
any body can spot codegen bugs with volatile, or knows of any in the bug database, let me know. llvm-svn: 72572
OpenPOWER on IntegriCloud