Home
last modified time | relevance | path

Searched refs:globalMutex (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-negative.cpp94 Mutex globalMutex; variable
98 void f() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex);
99 void fq() EXCLUSIVE_LOCKS_REQUIRED(!::globalMutex);
102 Mutex globalMutex; variable
103 void f() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex);
104 void fq() EXCLUSIVE_LOCKS_REQUIRED(!ns::globalMutex);
107 void testGlobals() EXCLUSIVE_LOCKS_REQUIRED(!ns::globalMutex) { in testGlobals()
114 void testNamespaceGlobals() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex) { in testNamespaceGlobals()