Lines Matching defs:Cmd
67 tooling::CompileCommand Cmd(llvm::sys::path::parent_path(File),
70 Cmd.Heuristic = "clangd fallback";
71 return Cmd;
768 std::optional<tooling::CompileCommand> Cmd;
773 Cmd = It->second;
775 if (Cmd) {
788 tooling::addExpandedResponseFiles(Cmd->CommandLine, Cmd->Directory,
791 if (!Cmd)
792 Cmd = DelegatingCDB::getCompileCommand(File);
793 if (!Cmd)
796 Mangler(*Cmd, File);
797 return Cmd;
801 auto Cmd = DelegatingCDB::getFallbackCommand(File);
803 Cmd.CommandLine.insert(Cmd.CommandLine.end(), FallbackFlags.begin(),
806 Mangler(Cmd, File);
807 return Cmd;
811 std::optional<tooling::CompileCommand> Cmd) {
818 if (Cmd) {
820 Commands.try_emplace(CanonPath, std::move(*Cmd));
822 if (It->second == *Cmd)
824 It->second = *Cmd;