HomeSort by relevance Sort by last modified time
    Searched refs:EXCLUSIVE_TRYLOCK_FUNCTION (Results 1 - 2 of 2) sorted by null

  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 13 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
698 #if !__has_attribute(exclusive_trylock_function)
699 #error "Should support exclusive_trylock_function attribute"
705 void etf_function() __attribute__((exclusive_trylock_function)); // \
708 void etf_function_args() __attribute__((exclusive_trylock_function(1, mu2)));
710 void etf_function_arg() __attribute__((exclusive_trylock_function(1)));
712 int etf_testfn(int y) __attribute__((exclusive_trylock_function(1)));
715 int x __attribute__((exclusive_trylock_function(1))) = y; // \
716 // expected-warning {{'exclusive_trylock_function' attribute only applies to functions and methods}
    [all...]
warn-thread-safety-analysis.cpp 13 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
34 bool TryLock() __attribute__((exclusive_trylock_function(true)));
    [all...]

Completed in 103 milliseconds