[all-commits] [llvm/llvm-project] c61ae6: Deduplicate branches and adjust comment [NFC]
Aaron Puchert via All-commits
all-commits at lists.llvm.org
Sat Mar 27 15:09:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c61ae6e6d597984e6ff7d012dce4dfd59c05d792
https://github.com/llvm/llvm-project/commit/c61ae6e6d597984e6ff7d012dce4dfd59c05d792
Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
Date: 2021-03-27 (Sat, 27 Mar 2021)
Changed paths:
M clang/lib/Analysis/ThreadSafety.cpp
Log Message:
-----------
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.
More information about the All-commits
mailing list