diff options
author | Aaron Puchert <aaron.puchert@sap.com> | 2021-07-23 14:45:56 +0200 |
---|---|---|
committer | Aaron Puchert <aaron.puchert@sap.com> | 2021-07-23 14:46:02 +0200 |
commit | 0e64a525c12a0822683d3bdc51b6294b5265f860 (patch) | |
tree | 334b8c48d29030ea43a7ab2ddff31b8e99f97047 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 44fa31fa6da0c573ed972ec1d932c4ca3fb52f8f (diff) | |
download | llvm-0e64a525c12a0822683d3bdc51b6294b5265f860.zip llvm-0e64a525c12a0822683d3bdc51b6294b5265f860.tar.gz llvm-0e64a525c12a0822683d3bdc51b6294b5265f860.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions