History log of /external/clang/test/CodeGen/volatile.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
22ce6f959936cbf714e8bdc9a4afe0d1e3570ef5 26-Aug-2010 Argiris Kirtzidis <akyrtzi@gmail.com> Revert r112043, static volatiles are removed by the optimizer. Thanks Chris!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
b9a751e1e9cca15b12dcc6d6005d7465ff799b5e 25-Aug-2010 Argiris Kirtzidis <akyrtzi@gmail.com> Make sure volatile variables are emitted even if static. Fixes rdar://8315219

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112043 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
8079eee9128444d02bebf24410126f9d55399f84 13-Jul-2010 Douglas Gregor <doug.gregor@gmail.com> When forming a function call or message send expression, be sure to
strip cv-qualifiers from the expression's type when the language calls
for it: in C, that's all the time, while C++ only does it for
non-class types.

Centralized the computation of the call expression type in
QualType::getCallResultType() and some helper functions in other nodes
(FunctionDecl, ObjCMethodDecl, FunctionType), and updated all relevant
callers of getResultType() to getCallResultType().

Fixes PR7598 and PR7463, along with a bunch of getResultType() call
sites that weren't stripping references off the result type (nothing
stripped cv-qualifiers properly before this change).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108234 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
3573b2c84372d9484296fa658f5276f6c09acb92 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
a4996b889ffe46f13e7f81d14a31bc22342ed368 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate &&s in tests.
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
9912183aed81a0f645196ab4807dc466a298952e 04-Nov-2009 Mike Stump <mrs@apple.com> Test case for recent checkin.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
43d2805a83b01e6938928a6da5184bc8da963b2d 25-Jul-2009 John McCall <rjmccall@apple.com> Semantic checking for main().

Fix some invalid main() methods in the test suite that were nicely
exposed by the new checks.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77047 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
c30814eed116e442f0e0d12d809dc43bd1c95147 27-May-2009 Mike Stump <mrs@apple.com> Update comment.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72444 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
73b290dc1ece3276a77aed2f03a7d573c5455dbd 27-May-2009 Mike Stump <mrs@apple.com> And an additional testcase that also works.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
b27442c54b4b48d8b519709c7d683349bd2c71dd 27-May-2009 Mike Stump <mrs@apple.com> Fixup codegen for volatile structs in the trivial cases (a a=a and a=a=a).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72439 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
ffd408a50adb01ae9c0ad92fb5f0981e1ca72df5 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
2668dd1ba0f67f69ea6ece1c66b6289d09ad1d5a 19-Nov-2008 Daniel Dunbar <daniel@zuster.org> Fix redundant load of bit-fields on assignment (to get the updated
value).
- Use extra argument to EmitStoreThroughLValue to provide place to
write update bit-field value if caller requires it.
- This fixes several FIXMEs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c
2e630541c19988aa2d05639e37bf46080dedc944 14-Jun-2008 Eli Friedman <eli.friedman@gmail.com> Basic support for volatile loads and stores. Stores the volatile
qualifier in the lvalue, and changes lvalue loads/stores to honor
the volatile flag. Places which need some further attention are marked
with FIXMEs.

Patch by Cédric Venet.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/volatile.c