Home
last modified time | relevance | path

Searched refs:CompileCommand (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h44 struct CompileCommand { struct
45 CompileCommand() = default;
46 CompileCommand(const Twine &Directory, const Twine &Filename, in CompileCommand() argument
68 friend bool operator==(const CompileCommand &LHS, const CompileCommand &RHS) { argument
74 friend bool operator!=(const CompileCommand &LHS, const CompileCommand &RHS) {
129 virtual std::vector<CompileCommand> getCompileCommands(
147 virtual std::vector<CompileCommand> getAllCompileCommands() const;
207 std::vector<CompileCommand>
213 std::vector<CompileCommand> CompileCommands;
221 tooling::CompileCommand transferCompileCommand(tooling::CompileCommand,
H A DCommonOptionsParser.h126 std::vector<CompileCommand>
131 std::vector<CompileCommand> getAllCompileCommands() const override;
137 std::vector<CompileCommand>
138 adjustCommands(std::vector<CompileCommand> Commands) const;
H A DJSONCompilationDatabase.h83 std::vector<CompileCommand>
93 std::vector<CompileCommand> getAllCompileCommands() const override;
122 std::vector<CompileCommand> &Commands) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp28 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
32 std::vector<CompileCommand>
38 std::vector<CompileCommand>
39 addTargetAndMode(std::vector<CompileCommand> Cmds) const { in addTargetAndMode()
H A DExpandResponseFilesCompilationDatabase.cpp41 std::vector<CompileCommand>
46 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
51 std::vector<CompileCommand> expand(std::vector<CompileCommand> Cmds) const { in expand()
H A DCommonOptionsParser.cpp60 std::vector<CompileCommand> ArgumentsAdjustingCompilations::getCompileCommands( in getCompileCommands()
70 std::vector<CompileCommand>
75 std::vector<CompileCommand> ArgumentsAdjustingCompilations::adjustCommands( in adjustCommands()
76 std::vector<CompileCommand> Commands) const { in adjustCommands()
77 for (CompileCommand &Command : Commands) in adjustCommands()
H A DInterpolatingCompilationDatabase.cpp129 CompileCommand Cmd;
137 TransferableCommand(CompileCommand C) in TransferableCommand()
214 CompileCommand transferTo(StringRef Filename) && { in transferTo()
215 CompileCommand Result = std::move(Cmd); in transferTo()
506 std::vector<CompileCommand>
526 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
542 tooling::CompileCommand transferCompileCommand(CompileCommand Cmd, in transferCompileCommand()
H A DJSONCompilationDatabase.cpp225 std::vector<CompileCommand>
238 std::vector<CompileCommand> Commands; in getCompileCommands()
251 std::vector<CompileCommand>
253 std::vector<CompileCommand> Commands; in getAllCompileCommands()
315 std::vector<CompileCommand> &Commands) const { in getCommands()
H A DTooling.cpp567 std::vector<CompileCommand> CompileCommandsForFile = in run()
574 for (CompileCommand &CompileCommand : CompileCommandsForFile) { in run()
583 CompileCommand.Directory)) in run()
585 Twine(CompileCommand.Directory) + "\"!"); in run()
590 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second) in run()
597 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run()
599 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename); in run()
H A DCompilationDatabase.cpp132 std::vector<CompileCommand> CompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
133 std::vector<CompileCommand> Result; in getAllCompileCommands()
383 std::vector<CompileCommand>
385 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningTool.h106 getP1689ModuleDependencyFile(const clang::tooling::CompileCommand &Command,
110 getP1689ModuleDependencyFile(const clang::tooling::CompileCommand &Command, in getP1689ModuleDependencyFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp87 const CompileCommand &Command, StringRef CWD, std::string &MakeformatOutput, in getP1689ModuleDependencyFile()
93 const CompileCommand &Command) in getP1689ModuleDependencyFile()