summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2021-03-27 22:50:22 +0100
committerAaron Puchert <aaronpuchert@alice-dsl.net>2021-03-27 23:08:43 +0100
commitc61ae6e6d597984e6ff7d012dce4dfd59c05d792 (patch)
tree94afc998cd5a92a9f6c965c31a2c57afbe5b4a22 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd2855eba814f6da9a33646ee1076d6f73289c7a4 (diff)
Deduplicate branches and adjust comment [NFC]
Currently we want to allow calling non-const methods even when only a shared lock is held, because -Wthread-safety-reference is already quite sensitive and not all code is const-correct. Even if it is, this might require users to add std::as_const around the implicit object argument. See D52395 for a discussion. Fixes PR46963.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions