Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp607 StringRef RealizedPlatform = A->getPlatform()->getName(); in getRealizedPlatform() local
609 return RealizedPlatform; in getRealizedPlatform()
610 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getRealizedPlatform()
612 return RealizedPlatform.slice(0, suffix); in getRealizedPlatform()
613 return RealizedPlatform; in getRealizedPlatform()
711 StringRef *RealizedPlatform) const { in getAvailability()
714 RealizedPlatform); in getAvailability()
742 if (RealizedPlatform) in getAvailability()
743 *RealizedPlatform = Availability->getPlatform()->getName(); in getAvailability()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp38 StringRef RealizedPlatform = ActualPlatform; in getAttrForPlatform() local
40 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getAttrForPlatform()
42 RealizedPlatform = RealizedPlatform.slice(0, suffix); in getAttrForPlatform()
48 if (RealizedPlatform == TargetPlatform) in getAttrForPlatform()
H A DSemaDeclObjC.cpp287 StringRef RealizedPlatform; in DiagnoseObjCImplementedDeprecations() local
290 &RealizedPlatform); in DiagnoseObjCImplementedDeprecations()
295 if (RealizedPlatform.empty()) in DiagnoseObjCImplementedDeprecations()
296 RealizedPlatform = S.Context.getTargetInfo().getPlatformName(); in DiagnoseObjCImplementedDeprecations()
299 if (RealizedPlatform.ends_with("_app_extension")) in DiagnoseObjCImplementedDeprecations()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h740 StringRef *RealizedPlatform = nullptr) const;