Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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;
219 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;
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCompilationDatabase.cpp39 std::vector<CompileCommand> CCmd;
41 AllocatedCXCompileCommands(std::vector<CompileCommand> Cmd) in AllocatedCXCompileCommands()
50 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName)); in clang_CompilationDatabase_getCompileCommands()
61 std::vector<CompileCommand> CCmd(db->getAllCompileCommands()); in clang_CompilationDatabase_getAllCompileCommands()
108 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getDirectory()
118 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getFilename()
128 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); in clang_CompileCommand_getNumArgs()
137 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getArg()
/netbsd-src/external/apache2/llvm/dist/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 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 DExpandResponseFilesCompilationDatabase.cpp40 std::vector<CompileCommand>
45 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
50 std::vector<CompileCommand> expand(std::vector<CompileCommand> Cmds) const { in expand()
H A DInterpolatingCompilationDatabase.cpp128 CompileCommand Cmd;
136 TransferableCommand(CompileCommand C) in TransferableCommand()
212 CompileCommand transferTo(StringRef Filename) && { in transferTo()
213 CompileCommand Result = std::move(Cmd); in transferTo()
518 std::vector<CompileCommand>
538 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
554 tooling::CompileCommand transferCompileCommand(CompileCommand Cmd, in transferCompileCommand()
H A DTooling.cpp502 std::vector<CompileCommand> CompileCommandsForFile = in run()
509 for (CompileCommand &CompileCommand : CompileCommandsForFile) { in run()
518 CompileCommand.Directory)) in run()
520 Twine(CompileCommand.Directory) + "\"!"); in run()
525 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second) in run()
532 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run()
534 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename); in run()
H A DJSONCompilationDatabase.cpp228 std::vector<CompileCommand>
241 std::vector<CompileCommand> Commands; in getCompileCommands()
254 std::vector<CompileCommand>
256 std::vector<CompileCommand> Commands; in getAllCompileCommands()
318 std::vector<CompileCommand> &Commands) const { in getCommands()
H A DCompilationDatabase.cpp132 std::vector<CompileCommand> CompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
133 std::vector<CompileCommand> Result; in getAllCompileCommands()
381 std::vector<CompileCommand>
383 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp206 SingleCommandCompilationDatabase(tooling::CompileCommand Cmd) in SingleCommandCompilationDatabase()
209 std::vector<tooling::CompileCommand>
214 std::vector<tooling::CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
219 tooling::CompileCommand Command;
564 for (tooling::CompileCommand Cmd : in main()
593 tooling::CompileCommand Cmd = Input->getAllCompileCommands()[0]; in main()
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py9 from clang.cindex import CompileCommand
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/clang/
H A Dcindex.py3170 class CompileCommand(object): class
3218 return CompileCommand(cc, self)