Lines Matching refs:CCmd
39 std::vector<CompileCommand> CCmd; member
42 : CCmd(std::move(Cmd)) {} in AllocatedCXCompileCommands()
50 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName)); in clang_CompilationDatabase_getCompileCommands() local
51 if (!CCmd.empty()) in clang_CompilationDatabase_getCompileCommands()
52 return new AllocatedCXCompileCommands(std::move(CCmd)); in clang_CompilationDatabase_getCompileCommands()
61 std::vector<CompileCommand> CCmd(db->getAllCompileCommands()); in clang_CompilationDatabase_getAllCompileCommands() local
62 if (!CCmd.empty()) in clang_CompilationDatabase_getAllCompileCommands()
63 return new AllocatedCXCompileCommands(std::move(CCmd)); 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()
103 clang_CompileCommand_getDirectory(CXCompileCommand CCmd) in clang_CompileCommand_getDirectory() argument
105 if (!CCmd) in clang_CompileCommand_getDirectory()
108 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getDirectory()
113 clang_CompileCommand_getFilename(CXCompileCommand CCmd) in clang_CompileCommand_getFilename() argument
115 if (!CCmd) in clang_CompileCommand_getFilename()
118 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getFilename()
123 clang_CompileCommand_getNumArgs(CXCompileCommand CCmd) in clang_CompileCommand_getNumArgs() argument
125 if (!CCmd) in clang_CompileCommand_getNumArgs()
128 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); in clang_CompileCommand_getNumArgs()
132 clang_CompileCommand_getArg(CXCompileCommand CCmd, unsigned Arg) in clang_CompileCommand_getArg() argument
134 if (!CCmd) in clang_CompileCommand_getArg()
137 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getArg()
146 clang_CompileCommand_getNumMappedSources(CXCompileCommand CCmd) in clang_CompileCommand_getNumMappedSources() argument
154 clang_CompileCommand_getMappedSourcePath(CXCompileCommand CCmd, unsigned I) in clang_CompileCommand_getMappedSourcePath() argument
162 clang_CompileCommand_getMappedSourceContent(CXCompileCommand CCmd, unsigned I) in clang_CompileCommand_getMappedSourceContent() argument