reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
 9777 SharedTrylockFunctionAttr *SharedTrylockFunctionAttr::clone(ASTContext &C) const {
 9778   auto *A = new (C) SharedTrylockFunctionAttr(C, *this, successValue, args_, args_Size);
 9778   auto *A = new (C) SharedTrylockFunctionAttr(C, *this, successValue, args_, args_Size);
11984     return cast<SharedTrylockFunctionAttr>(this)->getSpelling();
12564     return cast<SharedTrylockFunctionAttr>(this)->clone(C);
13144     return cast<SharedTrylockFunctionAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrNodeTraverse.inc
  140   void VisitSharedTrylockFunctionAttr(const SharedTrylockFunctionAttr *A) {
  141     const auto *SA = cast<SharedTrylockFunctionAttr>(A); (void)SA;
  141     const auto *SA = cast<SharedTrylockFunctionAttr>(A); (void)SA;
  143     for (SharedTrylockFunctionAttr::args_iterator I = SA->args_begin(), E = SA->args_end(); I != E; ++I)
gen/tools/clang/include/clang/AST/AttrVisitor.inc
  987   bool TraverseSharedTrylockFunctionAttr(SharedTrylockFunctionAttr *A);
  988   bool VisitSharedTrylockFunctionAttr(SharedTrylockFunctionAttr *A) {
 3537 bool VISITORCLASS<Derived>::TraverseSharedTrylockFunctionAttr(SharedTrylockFunctionAttr *A) {
 4444       return getDerived().TraverseSharedTrylockFunctionAttr(cast<SharedTrylockFunctionAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
13187   static SharedTrylockFunctionAttr *CreateImplicit(ASTContext &Ctx, Expr * SuccessValue, Expr * *Args, unsigned ArgsSize, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
13188     auto *A = new (Ctx) SharedTrylockFunctionAttr(Ctx, CommonInfo, SuccessValue, Args, ArgsSize);
13188     auto *A = new (Ctx) SharedTrylockFunctionAttr(Ctx, CommonInfo, SuccessValue, Args, ArgsSize);
13195   static SharedTrylockFunctionAttr *Create(ASTContext &Ctx, Expr * SuccessValue, Expr * *Args, unsigned ArgsSize, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
13196     auto *A = new (Ctx) SharedTrylockFunctionAttr(Ctx, CommonInfo, SuccessValue, Args, ArgsSize);
13196     auto *A = new (Ctx) SharedTrylockFunctionAttr(Ctx, CommonInfo, SuccessValue, Args, ArgsSize);
13202   static SharedTrylockFunctionAttr *CreateImplicit(ASTContext &Ctx, Expr * SuccessValue, Expr * *Args, unsigned ArgsSize, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
13206   static SharedTrylockFunctionAttr *Create(ASTContext &Ctx, Expr * SuccessValue, Expr * *Args, unsigned ArgsSize, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
13230   SharedTrylockFunctionAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
 1138       const auto *A = cast<SharedTrylockFunctionAttr>(At);
 1138       const auto *A = cast<SharedTrylockFunctionAttr>(At);
 1156         return new (C) SharedTrylockFunctionAttr(C, *A, tempInstSuccessValue, tempInstArgs, A->args_size());
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
 2167     New = new (Context) SharedTrylockFunctionAttr(Context, Info, successValue, args.data(), argsSize);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
 1621     const auto *SA = cast<SharedTrylockFunctionAttr>(A);
 1621     const auto *SA = cast<SharedTrylockFunctionAttr>(A);
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/lib/Analysis/ThreadSafety.cpp
 1211   static yes& test(Inner *I, decltype(I->args()) * = nullptr);
 1217   static const bool value = sizeof(test<Ty>(nullptr)) == sizeof(yes);
 1261 static typename std::enable_if<has_arg_iterator_range<AttrTy>::value,
 1263 ClassifyDiagnostic(const AttrTy *A) {
 1540         const auto *A = cast<SharedTrylockFunctionAttr>(Attr);
 1540         const auto *A = cast<SharedTrylockFunctionAttr>(Attr);
 2341       } else if (isa<SharedTrylockFunctionAttr>(Attr)) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  922   D->addAttr(::new (S.Context) SharedTrylockFunctionAttr(
tools/clang/lib/Sema/SemaDeclCXX.cpp
16028     } else if (const auto *STLF = dyn_cast<SharedTrylockFunctionAttr>(A)) {
16028     } else if (const auto *STLF = dyn_cast<SharedTrylockFunctionAttr>(A)) {
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };