summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-07-07 20:01:52 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-07-07 20:01:52 +0000
commitbfa7990b5a5cc72921caa5d3231b3865b09164f3 (patch)
tree6908f425c0755e4045c9e301b5279e997dc4155c /clang/lib/AST/ExprConstant.cpp
parenteeac9fcfb723bc5ea98b3857536b7f938660d762 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud