diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-22 21:46:10 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-22 21:46:10 +0000 |
commit | b430f6e17a2734013ec01da56072d789b9412036 (patch) | |
tree | 745db81d78ced5333f6e749ad03d557f4faeed79 /libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp | |
parent | 4b1eac4dda6eb82d4c1bce1a4a1800e36f777c98 (diff) | |
download | bcm5719-llvm-b430f6e17a2734013ec01da56072d789b9412036.tar.gz bcm5719-llvm-b430f6e17a2734013ec01da56072d789b9412036.zip |
[Sanitizer] Make CommonFlags immutable after initialization.
Summary:
Protect CommonFlags singleton by adding const qualifier to
common_flags() accessor. The only ways to modify the flags are
SetCommonFlagsDefaults(), ParseCommonFlagsFromString() and
OverrideCommonFlags() functions, which are only supposed to be
called during initialization.
Test Plan: regression test suite
Reviewers: kcc, eugenis, glider
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6741
llvm-svn: 224736
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp')
0 files changed, 0 insertions, 0 deletions