Lines Matching refs:CCmd
41 std::vector<CompileCommand> CCmd; member
44 : CCmd(std::move(Cmd)) {} in AllocatedCXCompileCommands()
52 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName)); in clang_CompilationDatabase_getCompileCommands() local
53 if (!CCmd.empty()) in clang_CompilationDatabase_getCompileCommands()
54 return new AllocatedCXCompileCommands(std::move(CCmd)); in clang_CompilationDatabase_getCompileCommands()
63 std::vector<CompileCommand> CCmd(db->getAllCompileCommands()); in clang_CompilationDatabase_getAllCompileCommands() local
64 if (!CCmd.empty()) in clang_CompilationDatabase_getAllCompileCommands()
65 return new AllocatedCXCompileCommands(std::move(CCmd)); in clang_CompilationDatabase_getAllCompileCommands()
86 return ACC->CCmd.size(); in clang_CompileCommands_getSize()
98 if (I >= ACC->CCmd.size()) in clang_CompileCommands_getCommand()
101 return &ACC->CCmd[I]; in clang_CompileCommands_getCommand()
105 clang_CompileCommand_getDirectory(CXCompileCommand CCmd) in clang_CompileCommand_getDirectory() argument
107 if (!CCmd) in clang_CompileCommand_getDirectory()
110 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getDirectory()
115 clang_CompileCommand_getFilename(CXCompileCommand CCmd) in clang_CompileCommand_getFilename() argument
117 if (!CCmd) in clang_CompileCommand_getFilename()
120 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getFilename()
125 clang_CompileCommand_getNumArgs(CXCompileCommand CCmd) in clang_CompileCommand_getNumArgs() argument
127 if (!CCmd) in clang_CompileCommand_getNumArgs()
130 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); in clang_CompileCommand_getNumArgs()
134 clang_CompileCommand_getArg(CXCompileCommand CCmd, unsigned Arg) in clang_CompileCommand_getArg() argument
136 if (!CCmd) in clang_CompileCommand_getArg()
139 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getArg()
148 clang_CompileCommand_getNumMappedSources(CXCompileCommand CCmd) in clang_CompileCommand_getNumMappedSources() argument
150 if (!CCmd) in clang_CompileCommand_getNumMappedSources()
153 return static_cast<CompileCommand *>(CCmd)->MappedSources.size(); in clang_CompileCommand_getNumMappedSources()
157 clang_CompileCommand_getMappedSourcePath(CXCompileCommand CCmd, unsigned I) in clang_CompileCommand_getMappedSourcePath() argument
159 if (!CCmd) in clang_CompileCommand_getMappedSourcePath()
162 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getMappedSourcePath()
171 clang_CompileCommand_getMappedSourceContent(CXCompileCommand CCmd, unsigned I) in clang_CompileCommand_getMappedSourceContent() argument
173 if (!CCmd) in clang_CompileCommand_getMappedSourceContent()
176 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getMappedSourceContent()