Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp521 StringRef RealizedPlatform = A->getPlatform()->getName(); in getRealizedPlatform() local
523 return RealizedPlatform; in getRealizedPlatform()
524 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getRealizedPlatform()
526 return RealizedPlatform.slice(0, suffix); in getRealizedPlatform()
527 return RealizedPlatform; in getRealizedPlatform()
625 StringRef *RealizedPlatform) const { in getAvailability()
628 RealizedPlatform); in getAvailability()
656 if (RealizedPlatform) in getAvailability()
657 *RealizedPlatform = Availability->getPlatform()->getName(); in getAvailability()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp37 StringRef RealizedPlatform = ActualPlatform; in getAttrForPlatform() local
39 size_t suffix = RealizedPlatform.rfind("_app_extension"); in getAttrForPlatform()
41 RealizedPlatform = RealizedPlatform.slice(0, suffix); in getAttrForPlatform()
47 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.endswith("_app_extension")) in DiagnoseObjCImplementedDeprecations()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h694 StringRef *RealizedPlatform = nullptr) const;