diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-07-07 20:01:52 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-07-07 20:01:52 +0000 |
commit | bfa7990b5a5cc72921caa5d3231b3865b09164f3 (patch) | |
tree | 6908f425c0755e4045c9e301b5279e997dc4155c /clang/lib/AST/ExprConstant.cpp | |
parent | eeac9fcfb723bc5ea98b3857536b7f938660d762 (diff) | |
download | bcm5719-llvm-bfa7990b5a5cc72921caa5d3231b3865b09164f3.tar.gz bcm5719-llvm-bfa7990b5a5cc72921caa5d3231b3865b09164f3.zip |
Apply constexpr to the mutex constructor. As a conforming extension, apply constexpr to the condition_variable constructor. These are important because it enables the compiler to construct these types at compile time, even though the object will be non-const. Since they are constructed at compile time, there is no chance of a data race before they are constructed.
llvm-svn: 159901
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions