Home
last modified time | relevance | path

Searched refs:Cmds (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCXCompilationDatabase.cpp70 clang_CompileCommands_dispose(CXCompileCommands Cmds) in clang_CompileCommands_dispose() argument
72 delete static_cast<AllocatedCXCompileCommands *>(Cmds); in clang_CompileCommands_dispose()
76 clang_CompileCommands_getSize(CXCompileCommands Cmds) in clang_CompileCommands_getSize() argument
78 if (!Cmds) in clang_CompileCommands_getSize()
82 static_cast<AllocatedCXCompileCommands *>(Cmds); in clang_CompileCommands_getSize()
88 clang_CompileCommands_getCommand(CXCompileCommands Cmds, unsigned I) in clang_CompileCommands_getCommand() argument
90 if (!Cmds) in clang_CompileCommands_getCommand()
94 static_cast<AllocatedCXCompileCommands *>(Cmds); in clang_CompileCommands_getCommand()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp39 addTargetAndMode(std::vector<CompileCommand> Cmds) const { in addTargetAndMode()
40 for (auto &Cmd : Cmds) { in addTargetAndMode()
45 return Cmds; in addTargetAndMode()
H A DExpandResponseFilesCompilationDatabase.cpp50 std::vector<CompileCommand> expand(std::vector<CompileCommand> Cmds) const { in expand()
51 for (auto &Cmd : Cmds) { in expand()
70 return Cmds; in expand()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp449 auto Cmds = arg->getCompileCommands(Path); variable
450 if (Cmds.empty()) {
454 if (!llvm::is_contained(Cmds.front().CommandLine, Flag)) {
455 *result_listener << "flags are: " << printArgv(Cmds.front().CommandLine);
H A DBackgroundIndexTests.cpp117 std::vector<tooling::CompileCommand> Cmds; in TEST_F() local
127 Cmds.push_back(std::move(Cmd)); in TEST_F()
154 for (auto &Cmd : Cmds) { in TEST_F()