1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-09 11:43:08 +00:00

Apply clang-format to the whole code tree

This commit is contained in:
Carles Fernandez
2019-10-11 11:57:33 +02:00
parent 5c62b0da4b
commit 054a20b5bf
470 changed files with 12552 additions and 12480 deletions

View File

@@ -18,8 +18,8 @@
*/
#include "volk_gnsssdr/volk_gnsssdr_malloc.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*

View File

@@ -16,12 +16,13 @@
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
*/
// clang-format off
#include <volk_gnsssdr_rank_archs.h>
#include <volk_gnsssdr/volk_gnsssdr_prefs.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// clang-format on
#if __GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ >= 4
#define __popcnt __builtin_popcount

View File

@@ -16,15 +16,17 @@
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
*/
// clang-format off
#include <volk_gnsssdr/volk_gnsssdr_common.h>
#include "volk_gnsssdr_machines.h"
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
#include <volk_gnsssdr/volk_gnsssdr_cpu.h>
#include "volk_gnsssdr_rank_archs.h"
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
// clang-format on
static size_t __alignment = 0;
static intptr_t __alignment_mask = 0;

View File

@@ -16,10 +16,12 @@
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
*/
// clang-format off
#include <volk_gnsssdr/volk_gnsssdr_cpu.h>
#include <volk_gnsssdr/volk_gnsssdr_config_fixed.h>
#include <stdlib.h>
#include <string.h>
// clang-format on
struct VOLK_CPU volk_gnsssdr_cpu;

View File

@@ -16,11 +16,11 @@
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
*/
// clang-format off
#include <volk_gnsssdr/volk_gnsssdr_common.h>
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
#include "volk_gnsssdr_machines.h"
// clang-format off
struct volk_gnsssdr_machine *volk_gnsssdr_machines[] = {
%for machine in machines:
#ifdef LV_MACHINE_${machine.name.upper()}