Home
last modified time | relevance | path

Searched refs:CCmd (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCXCompilationDatabase.cpp39 std::vector<CompileCommand> CCmd; member
42 : CCmd(std::move(Cmd)) {} in AllocatedCXCompileCommands()
51 if (!CCmd.empty()) in clang_CompilationDatabase_getCompileCommands()
62 if (!CCmd.empty()) in clang_CompilationDatabase_getAllCompileCommands()
84 return ACC->CCmd.size(); in clang_CompileCommands_getSize()
96 if (I >= ACC->CCmd.size()) in clang_CompileCommands_getCommand()
99 return &ACC->CCmd[I]; in clang_CompileCommands_getCommand()
105 if (!CCmd) in clang_CompileCommand_getDirectory()
115 if (!CCmd) in clang_CompileCommand_getFilename()
125 if (!CCmd) in clang_CompileCommand_getNumArgs()
[all …]
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c4050 CXCompileCommand CCmd; in index_compile_db() local
4099 CCmd = clang_CompileCommands_getCommand(CCmds, i); in index_compile_db()
4101 wd = clang_CompileCommand_getDirectory(CCmd); in index_compile_db()
4109 numArgs = clang_CompileCommand_getNumArgs(CCmd); in index_compile_db()
4116 cxargs[a] = clang_CompileCommand_getArg(CCmd, a); in index_compile_db()
4308 CXCompileCommand CCmd; in perform_test_compilation_db() local
4354 CCmd = clang_CompileCommands_getCommand(CCmds, j); in perform_test_compilation_db()
4356 wd = clang_CompileCommand_getDirectory(CCmd); in perform_test_compilation_db()
4361 numArgs = clang_CompileCommand_getNumArgs(CCmd); in perform_test_compilation_db()
4364 arg = clang_CompileCommand_getArg(CCmd, a); in perform_test_compilation_db()