HomeSort by relevance Sort by last modified time
    Searched refs:EXCLUSIVE_TRYLOCK_FUNCTION (Results 1 - 3 of 3) 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() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu2);
710 void etf_function_arg() EXCLUSIVE_TRYLOCK_FUNCTION(1);
712 int etf_testfn(int y) EXCLUSIVE_TRYLOCK_FUNCTION(1);
715 int x EXCLUSIVE_TRYLOCK_FUNCTION(1) = y; // \
716 // expected-warning {{'exclusive_trylock_function' attribute only applies to functions and methods}
    [all...]
warn-thread-safety-analysis.cpp 16 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
33 bool TryLock() __attribute__((exclusive_trylock_function(true)));
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 21 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
38 bool TryLock() __attribute__((exclusive_trylock_function(true)));

Completed in 251 milliseconds