Lines Matching refs:Cmd
63 tooling::CompileCommand Cmd(llvm::sys::path::parent_path(File), in getFallbackCommand() local
66 Cmd.Heuristic = "clangd fallback"; in getFallbackCommand()
67 return Cmd; in getFallbackCommand()
749 llvm::Optional<tooling::CompileCommand> Cmd; in getCompileCommand() local
754 Cmd = It->second; in getCompileCommand()
756 if (!Cmd) in getCompileCommand()
757 Cmd = DelegatingCDB::getCompileCommand(File); in getCompileCommand()
758 if (!Cmd) in getCompileCommand()
761 Cmd->CommandLine = ArgsAdjuster(Cmd->CommandLine, File); in getCompileCommand()
762 return Cmd; in getCompileCommand()
766 auto Cmd = DelegatingCDB::getFallbackCommand(File); in getFallbackCommand() local
768 Cmd.CommandLine.insert(Cmd.CommandLine.end(), FallbackFlags.begin(), in getFallbackCommand()
771 Cmd.CommandLine = ArgsAdjuster(Cmd.CommandLine, File); in getFallbackCommand()
772 return Cmd; in getFallbackCommand()
776 PathRef File, llvm::Optional<tooling::CompileCommand> Cmd) { in setCompileCommand() argument
783 if (Cmd) in setCompileCommand()
784 Commands[CanonPath] = std::move(*Cmd); in setCompileCommand()