OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHARED_LOCK_FUNCTION
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp
12
#define
SHARED_LOCK_FUNCTION
(...) __attribute__ ((
shared_lock_function
(__VA_ARGS__)))
626
#if !__has_attribute(
shared_lock_function
)
627
#error "Should support
shared_lock_function
attribute"
632
void slf_function() __attribute__((
shared_lock_function
));
634
void slf_function_args() __attribute__((
shared_lock_function
(mu1, mu2)));
636
int slf_testfn(int y) __attribute__((
shared_lock_function
));
639
int x __attribute__((
shared_lock_function
)) = y; // \
640
// expected-warning {{'
shared_lock_function
' attribute only applies to functions and methods}}
644
int slf_test_var __attribute__((
shared_lock_function
)); // \
[
all
...]
warn-thread-safety-analysis.cpp
12
#define
SHARED_LOCK_FUNCTION
(...) __attribute__ ((
shared_lock_function
(__VA_ARGS__)))
32
void ReaderLock() __attribute__((
shared_lock_function
));
[
all
...]
Completed in 895 milliseconds