Lines Matching defs:OutputPath
526 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile;
527 if (OutputPath == "-")
528 OutputPath = "";
530 /*ShowAllHeaders=*/true, OutputPath,
536 /*ShowAllHeaders=*/true, /*OutputPath=*/"",
809 StringRef OutputPath = getFrontendOpts().OutputFile;
811 if (OutputPath.empty()) {
813 OutputPath = "-";
817 OutputPath = *PathStorage;
821 return createOutputFile(OutputPath, Binary, RemoveFileOnSignal,
831 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary,
835 createOutputFileImpl(OutputPath, Binary, RemoveFileOnSignal, UseTemporary,
840 << OutputPath << errorToErrorCode(OS.takeError()).message();
845 CompilerInstance::createOutputFileImpl(StringRef OutputPath, bool Binary,
855 if (OutputPath != "-" && !llvm::sys::path::is_absolute(OutputPath)) {
859 AbsPath.emplace(OutputPath);
861 OutputPath = *AbsPath;
868 if (OutputPath == "-")
872 llvm::sys::fs::status(OutputPath, Status);
875 if (!llvm::sys::fs::can_write(OutputPath))
893 StringRef OutputExtension = llvm::sys::path::extension(OutputPath);
895 StringRef(OutputPath).drop_back(OutputExtension.size());
911 StringRef Parent = llvm::sys::path::parent_path(OutputPath);
938 OSFile = OutputPath;
949 OutputFiles.emplace_back(((OutputPath != "-") ? OutputPath : "").str(),