Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.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 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()
215 CompileCommand transferTo(StringRef Filename) && { in transferTo()
216 CompileCommand Result = std::move(Cmd); in transferTo()
507 std::vector<CompileCommand>
527 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
543 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.cpp536 std::vector<CompileCommand> CompileCommandsForFile = in run()
543 for (CompileCommand &CompileCommand : CompileCommandsForFile) { in run()
552 CompileCommand.Directory)) in run()
554 Twine(CompileCommand.Directory) + "\"!"); in run()
559 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second) in run()
566 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run()
568 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()
381 std::vector<CompileCommand>
383 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp117 const CompileCommand &Command, StringRef CWD, in getP1689ModuleDependencyFile()
123 const CompileCommand &Command) in getP1689ModuleDependencyFile()
/openbsd-src/gnu/llvm/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp610 std::vector<tooling::CompileCommand> in getCompilationDataBase()
621 std::vector<tooling::CompileCommand> in getCompilationDataBase()
627 tooling::CompileCommand Command; in getCompilationDataBase()
721 std::vector<tooling::CompileCommand> Inputs = in main()
739 const tooling::CompileCommand *Input; in main()
/openbsd-src/gnu/llvm/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py9 from clang.cindex import CompileCommand
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningTool.h109 const clang::tooling::CompileCommand &Command, StringRef CWD,
/openbsd-src/gnu/llvm/clang/bindings/python/clang/
H A Dcindex.py3227 class CompileCommand(object): class
3275 return CompileCommand(cc, self)