diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-17 20:34:43 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-17 20:34:43 +0000 |
commit | 65c5cd728e9184d69388e8aa8b915b5d32ea2d46 (patch) | |
tree | ee11b8e85563ca4ca2fdafd63f596b4af776a972 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ccd44a507271c2ab68ce63440495c7b72ee3decb (diff) | |
download | bcm5719-llvm-65c5cd728e9184d69388e8aa8b915b5d32ea2d46.tar.gz bcm5719-llvm-65c5cd728e9184d69388e8aa8b915b5d32ea2d46.zip |
Add an RAII ScopedWriter, which allows one to acquire a writer lock for the duration of a scope. Simplify a lot of uses of
writer locks in Constants.cpp by using it.
llvm-svn: 73630
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions