// Get all the compile commands in the given compilation database.
func (cd CompilationDatabase) AllCompileCommands() CompileCommands {
	return CompileCommands{C.clang_CompilationDatabase_getAllCompileCommands(cd.c)}
}
Exemple #2
0
/**
 * \brief Get all the compile commands in the given compilation database.
 */
func (db *CompilationDatabase) GetAllCompileCommands() CompileCommands {
	c_cmds := C.clang_CompilationDatabase_getAllCompileCommands(db.c)
	return CompileCommands{c_cmds}
}