Home
last modified time | relevance | path

Searched refs:PlatformName (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/
H A DOSTargets.cpp24 const llvm::Triple &Triple, StringRef &PlatformName, in getDarwinDefines() argument
55 PlatformName = "macos"; in getDarwinDefines()
58 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines()
64 if (PlatformName == "win32") { in getDarwinDefines()
H A DOSTargets.h76 const llvm::Triple &Triple, StringRef &PlatformName,
84 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines()
353 this->PlatformName = "android"; in getOSDefines()
H A DAArch64.cpp578 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
H A DARM.cpp1089 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp1162 StringRef PlatformName; in parseBuildVersion() local
1164 if (getParser().parseIdentifier(PlatformName)) in parseBuildVersion()
1167 unsigned Platform = StringSwitch<unsigned>(PlatformName) in parseBuildVersion()
1195 checkVersion(Directive, PlatformName, Loc, ExpectedOS); in parseBuildVersion()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetInfo.h121 mutable StringRef PlatformName; variable
1213 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DTargetInfo.cpp132 PlatformName = "unknown"; in TargetInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclAttr.cpp2235 StringRef PlatformName in checkAvailabilityAttr() local
2237 if (PlatformName.empty()) in checkAvailabilityAttr()
2238 PlatformName = Platform->getName(); in checkAvailabilityAttr()
2245 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr()
2253 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
2261 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
7680 S.Diag(Loc, Warning) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning()
7685 << OffendingDecl << PlatformName << Introduced.getAsString() in DoEmitAvailabilityWarning()
7709 std::string PlatformName = in DoEmitAvailabilityWarning() local
8144 << Range << D << PlatformName << Introduced.getAsString(); in DiagnoseDeclAvailability()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCAsmStreamer.cpp559 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in EmitBuildVersion() local
560 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in EmitBuildVersion()