Lines Matching refs:getDriver
47 getProgramPaths().push_back(getDriver().getInstalledDir()); in MachO()
48 if (getDriver().getInstalledDir() != getDriver().Dir) in MachO()
49 getProgramPaths().push_back(getDriver().Dir); in MachO()
264 SmallString<128> P(getDriver().ClangExecutable); in AddLinkARCArgs()
291 SmallString<128> Dir(getDriver().ResourceDir); in AddLinkRuntimeLib()
327 SmallString<128> P(getDriver().ResourceDir); in addProfileRTLibs()
389 getDriver().Diag(diag::err_drv_unsupported_rtlib_for_platform) in AddLinkRuntimeLibArgs()
405 getDriver().Diag(diag::err_drv_unsupported_opt) << A->getAsString(Args); in AddLinkRuntimeLibArgs()
466 const OptTable &Opts = getDriver().getOpts(); in AddDeploymentTarget()
474 getDriver().Diag(clang::diag::warn_missing_sysroot) << A->getValue(); in AddDeploymentTarget()
493 getDriver().Diag(diag::err_drv_argument_not_allowed_with) in AddDeploymentTarget()
499 getDriver().Diag(diag::err_drv_argument_not_allowed_with) in AddDeploymentTarget()
504 getDriver().Diag(diag::err_drv_argument_not_allowed_with) in AddDeploymentTarget()
577 getDriver().Diag(diag::err_drv_invalid_darwin_version) in AddDeploymentTarget()
587 getDriver().Diag(diag::err_drv_conflicting_deployment_targets) in AddDeploymentTarget()
595 getDriver().Diag(diag::err_drv_conflicting_deployment_targets) in AddDeploymentTarget()
653 getDriver().Diag(diag::err_drv_invalid_version_number) in AddDeploymentTarget()
660 getDriver().Diag(diag::err_drv_invalid_version_number) in AddDeploymentTarget()
666 getDriver().Diag(diag::err_drv_invalid_version_number) in AddDeploymentTarget()
672 getDriver().Diag(diag::err_drv_invalid_version_number) in AddDeploymentTarget()
743 SmallString<128> P(getDriver().ResourceDir); in AddCCKextLibArgs()
766 const OptTable &Opts = getDriver().getOpts(); in TranslateArgs()
801 getDriver().Diag(diag::err_drv_invalid_Xarch_argument_with_args) in TranslateArgs()
805 getDriver().Diag(diag::err_drv_invalid_Xarch_argument_isdriver) in TranslateArgs()
997 const OptTable &Opts = getDriver().getOpts(); in TranslateArgs()
1047 getDriver().Diag(clang::diag::err_drv_invalid_libcxx_deployment) << where; in TranslateArgs()
1211 getDriver().Diag(diag::err_arc_unsupported_on_toolchain); in CheckObjCARC()
2317 getProgramPaths().push_back(getDriver().getInstalledDir()); in Generic_GCC()
2318 if (getDriver().getInstalledDir() != getDriver().Dir) in Generic_GCC()
2319 getProgramPaths().push_back(getDriver().Dir); in Generic_GCC()
2463 const Driver &D = getDriver(); in AddClangSystemIncludeArgs()
2488 if (!getDriver().SysRoot.empty()) in computeSysRoot()
2489 return getDriver().SysRoot + SelectedMultilib.osSuffix(); in computeSysRoot()
2491 const std::string InstalledDir(getDriver().getInstalledDir()); in computeSysRoot()
2506 getDriver().Diag(diag::err_drv_invalid_stdlib_name) in GetCXXStdlibType()
2524 const auto IncludePaths = Callback(getDriver().getInstalledDir(), in AddClangCXXStdlibIncludeArgs()
2548 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRT()
2562 const Driver &D = getDriver(); in getHexagonTargetDir()
2601 const Driver &D = getDriver(); in getHexagonLibraryPaths()
2678 const Driver &D = getDriver(); in AddClangSystemIncludeArgs()
2690 const Driver &D = getDriver(); in AddClangCXXStdlibIncludeArgs()
2703 getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args); in GetCXXStdlibType()
2758 std::string FilePath(getDriver().Dir + "/../"); in NaClToolChain()
2761 std::string ProgPath(getDriver().Dir + "/../"); in NaClToolChain()
2764 std::string ToolPath(getDriver().ResourceDir + "/lib/"); in NaClToolChain()
2800 const Driver &D = getDriver(); in AddClangSystemIncludeArgs()
2857 const Driver &D = getDriver(); in AddClangCXXStdlibIncludeArgs()
2895 getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args); in GetCXXStdlibType()
2930 std::string Path(getDriver().Dir); in TCEToolChain()
2951 SmallString<128> P(getDriver().Dir); in CloudABI()
2962 SmallString<128> P(getDriver().Dir); in AddClangCXXStdlibIncludeArgs()
2983 getFilePaths().push_back(getDriver().Dir + "/../lib"); in OpenBSD()
2997 getFilePaths().push_back(getDriver().Dir + "/../lib"); in Bitrig()
3015 getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args); in GetCXXStdlibType()
3029 getDriver().SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
3033 getDriver().SysRoot + "/usr/include/c++/stdc++"); in AddClangCXXStdlibIncludeArgs()
3035 getDriver().SysRoot + "/usr/include/c++/stdc++/backward"); in AddClangCXXStdlibIncludeArgs()
3040 getDriver().SysRoot + "/usr/include/c++/stdc++/x86_64" + in AddClangCXXStdlibIncludeArgs()
3043 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + in AddClangCXXStdlibIncludeArgs()
3074 D.getVFS().exists(getDriver().SysRoot + "/usr/lib32/crt1.o")) in FreeBSD()
3075 getFilePaths().push_back(getDriver().SysRoot + "/usr/lib32"); in FreeBSD()
3077 getFilePaths().push_back(getDriver().SysRoot + "/usr/lib"); in FreeBSD()
3088 getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args); in GetCXXStdlibType()
3104 getDriver().SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
3108 getDriver().SysRoot + "/usr/include/c++/4.2"); in AddClangCXXStdlibIncludeArgs()
3110 getDriver().SysRoot + "/usr/include/c++/4.2/backward"); in AddClangCXXStdlibIncludeArgs()
3162 if (getDriver().UseStdLib) { in NetBSD()
3225 getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args); in GetCXXStdlibType()
3259 getDriver().SysRoot + "/usr/include/c++/"); in AddClangCXXStdlibIncludeArgs()
3263 getDriver().SysRoot + "/usr/include/g++"); in AddClangCXXStdlibIncludeArgs()
3265 getDriver().SysRoot + "/usr/include/g++/backward"); in AddClangCXXStdlibIncludeArgs()
3274 getFilePaths().push_back(getDriver().Dir + "/../lib"); in Minix()
3302 addPathIfExists(D, getDriver().getInstalledDir(), Paths); in Solaris()
3303 if (getDriver().getInstalledDir() != getDriver().Dir) in Solaris()
3304 addPathIfExists(D, getDriver().Dir, Paths); in Solaris()
3306 addPathIfExists(D, getDriver().SysRoot + getDriver().Dir + "/../lib", Paths); in Solaris()
3323 addPathIfExists(D, getDriver().SysRoot + LibPath, Paths); in Solaris()
3345 getDriver().SysRoot + "/usr/gcc/" + in AddClangCXXStdlibIncludeArgs()
3350 getDriver().SysRoot + "/usr/gcc/" + Version.MajorStr + in AddClangCXXStdlibIncludeArgs()
3817 if (!getDriver().SysRoot.empty()) in computeSysRoot()
3818 return getDriver().SysRoot; in computeSysRoot()
3848 const Driver &D = getDriver(); in AddClangSystemIncludeArgs()
4046 DetectLibcxxIncludePath(getDriver().Dir + "/../include/c++"), in AddClangCXXStdlibIncludeArgs()
4051 DetectLibcxxIncludePath(getDriver().SysRoot + "/usr/include/c++")}; in AddClangCXXStdlibIncludeArgs()
4075 getDriver(), GCCInstallation.getTriple(), getDriver().SysRoot); in AddClangCXXStdlibIncludeArgs()
4077 getMultiarchTriple(getDriver(), getTriple(), getDriver().SysRoot); in AddClangCXXStdlibIncludeArgs()
4172 getProgramPaths().push_back(getDriver().getInstalledDir()); in DragonFly()
4173 if (getDriver().getInstalledDir() != getDriver().Dir) in DragonFly()
4174 getProgramPaths().push_back(getDriver().Dir); in DragonFly()
4176 getFilePaths().push_back(getDriver().Dir + "/../lib"); in DragonFly()
4227 const OptTable &Opts = getDriver().getOpts(); in TranslateArgs()
4248 getDriver().Diag(diag::err_drv_invalid_Xarch_argument_with_args) in TranslateArgs()
4252 getDriver().Diag(diag::err_drv_invalid_Xarch_argument_isdriver) in TranslateArgs()
4376 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
4475 getDriver().Diag(clang::diag::warn_drv_ps4_sdk_dir) << EnvValue; in PS4CPU()
4478 PS4SDKDir = getDriver().Dir; in PS4CPU()
4490 getDriver().Diag(clang::diag::warn_missing_sysroot) << PrefixDir; in PS4CPU()
4501 getDriver().Diag(clang::diag::warn_drv_unable_to_find_directory_expected) in PS4CPU()
4513 getDriver().Diag(clang::diag::warn_drv_unable_to_find_directory_expected) in PS4CPU()