Home
last modified time | relevance | path

Searched refs:RealizedPlatform (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp635 StringRef RealizedPlatform = A->getPlatform()->getName(); in getRealizedPlatform() local
637 return RealizedPlatform; in getRealizedPlatform()
638 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getRealizedPlatform()
640 return RealizedPlatform.slice(0, suffix); in getRealizedPlatform()
641 return RealizedPlatform; in getRealizedPlatform()
760 StringRef *RealizedPlatform) const { in getAvailability()
763 RealizedPlatform); in getAvailability()
791 if (RealizedPlatform) in getAvailability()
792 *RealizedPlatform = Availability->getPlatform()->getName(); in getAvailability()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp64 StringRef RealizedPlatform = ActualPlatform; in getAttrForPlatform() local
66 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getAttrForPlatform()
68 RealizedPlatform = RealizedPlatform.slice(0, suffix); in getAttrForPlatform()
74 if (RealizedPlatform == TargetPlatform) { in getAttrForPlatform()
H A DSemaDeclObjC.cpp293 StringRef RealizedPlatform; in DiagnoseObjCImplementedDeprecations() local
296 &RealizedPlatform); in DiagnoseObjCImplementedDeprecations()
301 if (RealizedPlatform.empty()) in DiagnoseObjCImplementedDeprecations()
302 RealizedPlatform = S.Context.getTargetInfo().getPlatformName(); in DiagnoseObjCImplementedDeprecations()
305 if (RealizedPlatform.ends_with("_app_extension")) in DiagnoseObjCImplementedDeprecations()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h744 StringRef *RealizedPlatform = nullptr) const;