[all-commits] [llvm/llvm-project] 0e64a5: Thread safety analysis: Mock getter for private mu...
Aaron Puchert via All-commits
all-commits at lists.llvm.org
Fri Jul 23 05:50:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e64a525c12a0822683d3bdc51b6294b5265f860
https://github.com/llvm/llvm-project/commit/0e64a525c12a0822683d3bdc51b6294b5265f860
Author: Aaron Puchert <aaron.puchert at sap.com>
Date: 2021-07-23 (Fri, 23 Jul 2021)
Changed paths:
M clang/docs/ThreadSafetyAnalysis.rst
Log Message:
-----------
Thread safety analysis: Mock getter for private mutexes can be undefined
Usage in an annotation is no odr-use, so I think there needs to be no
definition. Upside is that in practice one will get linker errors if it
is actually odr-used instead of calling a function that returns 0.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D106375
More information about the All-commits
mailing list