Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DCompilationDatabase.h44 struct CompileCommand { struct
45 CompileCommand() = default;
46 CompileCommand(Twine Directory, Twine Filename, in CompileCommand() argument
63 friend bool operator==(const CompileCommand &LHS, const CompileCommand &RHS) { argument
68 friend bool operator!=(const CompileCommand &LHS, const CompileCommand &RHS) {
123 virtual std::vector<CompileCommand> getCompileCommands(
141 virtual std::vector<CompileCommand> getAllCompileCommands() const;
195 std::vector<CompileCommand>
201 std::vector<CompileCommand> CompileCommands;
H A DCommonOptionsParser.h139 std::vector<CompileCommand>
144 std::vector<CompileCommand> getAllCompileCommands() const override;
150 std::vector<CompileCommand>
151 adjustCommands(std::vector<CompileCommand> Commands) const;
H A DJSONCompilationDatabase.h84 std::vector<CompileCommand>
94 std::vector<CompileCommand> getAllCompileCommands() const override;
123 std::vector<CompileCommand> &Commands) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DCommonOptionsParser.cpp61 std::vector<CompileCommand> ArgumentsAdjustingCompilations::getCompileCommands( in getCompileCommands()
71 std::vector<CompileCommand>
76 std::vector<CompileCommand> ArgumentsAdjustingCompilations::adjustCommands( in adjustCommands()
77 std::vector<CompileCommand> Commands) const { in adjustCommands()
78 for (CompileCommand &Command : Commands) in adjustCommands()
H A DJSONCompilationDatabase.cpp220 std::vector<CompileCommand>
233 std::vector<CompileCommand> Commands; in getCompileCommands()
246 std::vector<CompileCommand>
248 std::vector<CompileCommand> Commands; in getAllCompileCommands()
267 std::vector<CompileCommand> &Commands) const { in getCommands()
H A DTooling.cpp467 std::vector<CompileCommand> CompileCommandsForFile = in run()
474 for (CompileCommand &CompileCommand : CompileCommandsForFile) { in run()
483 CompileCommand.Directory)) in run()
485 Twine(CompileCommand.Directory) + "\n!"); in run()
490 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second) in run()
497 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run()
499 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename); in run()
H A DInterpolatingCompilationDatabase.cpp126 CompileCommand Cmd;
134 TransferableCommand(CompileCommand C) in TransferableCommand()
203 CompileCommand transferTo(StringRef Filename) const { in transferTo()
204 CompileCommand Result = Cmd; in transferTo()
510 std::vector<CompileCommand>
530 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
H A DCompilationDatabase.cpp135 std::vector<CompileCommand> CompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
136 std::vector<CompileCommand> Result; in getAllCompileCommands()
388 std::vector<CompileCommand>
390 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()