Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-parsing.cpp33 void Unlock() UNLOCK_FUNCTION();
886 int x UNLOCK_FUNCTION() = y; // \ in uf_testfn()
891 int uf_test_var UNLOCK_FUNCTION(); // \
896 int test_field UNLOCK_FUNCTION(); // \
1269 ~SLTemplateClass() UNLOCK_FUNCTION();
1283 ~SLTemplateDerived() UNLOCK_FUNCTION();
1290 ~SLDerived1() UNLOCK_FUNCTION();
1294 ~SLDerived2() UNLOCK_FUNCTION(); // \
1299 ~SLDerived3() UNLOCK_FUNCTION(); // \
1346 void unlock() UNLOCK_FUNCTION() { } in unlock()
[all …]
H A Dwarn-thread-safety-analysis.cpp15 void Unlock() UNLOCK_FUNCTION();
36 ~MutexLock() UNLOCK_FUNCTION();
43 ~ReaderMutexLock() UNLOCK_FUNCTION();
51 void Release() UNLOCK_FUNCTION();
57 ~DoubleMutexLock() UNLOCK_FUNCTION();
2231 void unlock() UNLOCK_FUNCTION();
3457 UNLOCK_FUNCTION(mu1_)
3458 UNLOCK_FUNCTION(mu2_)
3499 UNLOCK_FUNCTION(mu1_, mu2_) in unlocklots()
3500 UNLOCK_FUNCTION(mu2_, mu3_) { in unlocklots()
[all …]
H A Dwarn-thread-safety-negative.cpp13 void Unlock() UNLOCK_FUNCTION();
28 ~MutexLock() UNLOCK_FUNCTION();
160 EXCLUSIVE_LOCKS_REQUIRED(F->mutex()) UNLOCK_FUNCTION(F->mutex()) {} in Function()
H A Dthread-safety-annotations.h9 #define UNLOCK_FUNCTION(...) __attribute__((release_generic_capability(__VA_ARGS__))) macro
20 #define UNLOCK_FUNCTION(...) __attribute__((unlock_function(__VA_ARGS__))) macro
H A Dwarn-thread-safety-verbose.cpp10 void Unlock() UNLOCK_FUNCTION();
/llvm-project-15.0.7/clang/test/PCH/
H A Dthread-safety-attrs.cpp23 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
58 ~ReleasableMutexLock() UNLOCK_FUNCTION();
60 void Release() UNLOCK_FUNCTION();
67 void endNoWarnOnReads() UNLOCK_FUNCTION("*");
69 void endNoWarnOnWrites() UNLOCK_FUNCTION("*");
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c17 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
37 void mutex_unlock(struct Mutex *mu) UNLOCK_FUNCTION(mu);
/llvm-project-15.0.7/clang/docs/
H A DThreadSafetyAnalysis.rst219 ``UNLOCK_FUNCTION``
1014 #define UNLOCK_FUNCTION(...) \