]> granicus.if.org Git - clang/commit
Basic support for volatile loads and stores. Stores the volatile
authorEli Friedman <eli.friedman@gmail.com>
Fri, 13 Jun 2008 23:01:12 +0000 (23:01 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 13 Jun 2008 23:01:12 +0000 (23:01 +0000)
commit1e692ace08959399794363e77499b73da5494af9
treef3b2a525ece7b5a7ad2df5328e1d46db215aef4c
parented6c70f63067ec06757aa019750765b80e23b423
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
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/volatile.c [new file with mode: 0644]