Lines Matching defs:OutputPath
525 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile;
526 if (OutputPath == "-")
527 OutputPath = "";
529 /*ShowAllHeaders=*/true, OutputPath,
535 /*ShowAllHeaders=*/true, /*OutputPath=*/"",
811 StringRef OutputPath = getFrontendOpts().OutputFile;
813 if (OutputPath.empty()) {
815 OutputPath = "-";
819 OutputPath = *PathStorage;
823 return createOutputFile(OutputPath, Binary, RemoveFileOnSignal,
833 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary,
837 createOutputFileImpl(OutputPath, Binary, RemoveFileOnSignal, UseTemporary,
842 << OutputPath << errorToErrorCode(OS.takeError()).message();
847 CompilerInstance::createOutputFileImpl(StringRef OutputPath, bool Binary,
857 if (OutputPath != "-" && !llvm::sys::path::is_absolute(OutputPath)) {
861 AbsPath.emplace(OutputPath);
863 OutputPath = *AbsPath;
870 if (OutputPath == "-")
874 llvm::sys::fs::status(OutputPath, Status);
877 if (!llvm::sys::fs::can_write(OutputPath))
895 StringRef OutputExtension = llvm::sys::path::extension(OutputPath);
897 StringRef(OutputPath).drop_back(OutputExtension.size());
913 StringRef Parent = llvm::sys::path::parent_path(OutputPath);
940 OSFile = OutputPath;
951 OutputFiles.emplace_back(((OutputPath != "-") ? OutputPath : "").str(),