]> granicus.if.org Git - clang/commit
Add support for threadsafe statics, and make them the default (matching gcc).
authorAnders Carlsson <andersca@mac.com>
Sat, 6 Feb 2010 23:23:06 +0000 (23:23 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 6 Feb 2010 23:23:06 +0000 (23:23 +0000)
commita508b7de6c5246ab04ed69d0ab4e9977ec1fb4d4
tree9b5b83fb4a534e2d2decf51f1af85d1a68dae007
parent594d5e8bd9870080aad6a761538e272bc2dfcc13
Add support for threadsafe statics, and make them the default (matching gcc).

Daniel, I'd appreciate a review of the driver/cc1 parts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95508 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
lib/CodeGen/CGDeclCXX.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaInit.cpp
test/CodeGenCXX/threadsafe-statics.cpp [new file with mode: 0644]