1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Apply clang-format

This commit is contained in:
Carles Fernandez 2020-04-03 00:17:22 +02:00
parent 3519107131
commit 865a54ddff
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
15 changed files with 18 additions and 20 deletions

View File

@ -24,7 +24,6 @@
#include "rtklib.h" #include "rtklib.h"
#include <boost/date_time/gregorian/gregorian.hpp> #include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/posix_time/posix_time.hpp>
#include <memory> // for std::shared_ptr
#include <gnuradio/sync_block.h> // for sync_block #include <gnuradio/sync_block.h> // for sync_block
#include <gnuradio/types.h> // for gr_vector_const_void_star #include <gnuradio/types.h> // for gr_vector_const_void_star
#include <pmt/pmt.h> // for pmt_t #include <pmt/pmt.h> // for pmt_t

View File

@ -55,7 +55,6 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility> #include <utility>
#include <memory>
#if GNURADIO_USES_STD_POINTERS #if GNURADIO_USES_STD_POINTERS
#else #else
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>

View File

@ -32,7 +32,6 @@
#include "channel_fsm.h" #include "channel_fsm.h"
#include "fpga_acquisition.h" #include "fpga_acquisition.h"
#include <memory>
#include <glog/logging.h> #include <glog/logging.h>
#include <cstdint> // for uint32_t #include <cstdint> // for uint32_t
#include <memory> // for shared_ptr #include <memory> // for shared_ptr

View File

@ -47,6 +47,12 @@ target_link_libraries(obs_gr_blocks
Matio::matio Matio::matio
) )
if(GNURADIO_USES_STD_POINTERS)
target_compile_definitions(obs_gr_blocks
PUBLIC -DGNURADIO_USES_STD_POINTERS=1
)
endif()
if(ENABLE_CLANG_TIDY) if(ENABLE_CLANG_TIDY)
if(CLANG_TIDY_EXE) if(CLANG_TIDY_EXE)
set_target_properties(obs_gr_blocks set_target_properties(obs_gr_blocks

View File

@ -24,7 +24,6 @@
#include "concurrent_queue.h" #include "concurrent_queue.h"
#include "fpga_switch.h" #include "fpga_switch.h"
#include "gnss_block_interface.h" #include "gnss_block_interface.h"
#include <memory>
#include <pmt/pmt.h> #include <pmt/pmt.h>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>

View File

@ -23,7 +23,6 @@
#define GNSS_SDR_FMCOMMS2_SIGNAL_SOURCE_H #define GNSS_SDR_FMCOMMS2_SIGNAL_SOURCE_H
#include "gnss_block_interface.h" #include "gnss_block_interface.h"
#include <memory>
#include <gnuradio/blocks/file_sink.h> #include <gnuradio/blocks/file_sink.h>
#if GRIIO_INCLUDE_HAS_GNURADIO #if GRIIO_INCLUDE_HAS_GNURADIO
#include <gnuradio/iio/fmcomms2_source.h> #include <gnuradio/iio/fmcomms2_source.h>

View File

@ -24,7 +24,6 @@
#include "concurrent_queue.h" #include "concurrent_queue.h"
#include "gnss_block_interface.h" #include "gnss_block_interface.h"
#include <memory>
#include <gnuradio/blocks/file_sink.h> #include <gnuradio/blocks/file_sink.h>
#include <pmt/pmt.h> #include <pmt/pmt.h>
#include <cstdint> #include <cstdint>

View File

@ -22,7 +22,6 @@
#define GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H #define GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H
#include "gnss_block_interface.h" #include "gnss_block_interface.h"
#include <memory>
#include <gnuradio/blocks/file_sink.h> #include <gnuradio/blocks/file_sink.h>
#if GRIIO_INCLUDE_HAS_GNURADIO #if GRIIO_INCLUDE_HAS_GNURADIO
#include <gnuradio/iio/pluto_source.h> #include <gnuradio/iio/pluto_source.h>

View File

@ -22,13 +22,13 @@
#include "gnss_satellite.h" #include "gnss_satellite.h"
#include <boost/crc.hpp> // for crc_optimal #include <boost/crc.hpp> // for crc_optimal
#include <memory> // for std::shared_ptr
#include <gnuradio/block.h> #include <gnuradio/block.h>
#include <gnuradio/types.h> // for gr_vector_const_void_star #include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstddef> // for size_t #include <cstddef> // for size_t
#include <cstdint> #include <cstdint>
#include <deque> #include <deque>
#include <fstream> #include <fstream>
#include <memory> // for std::shared_ptr
#include <string> #include <string>
#include <utility> // for pair #include <utility> // for pair
#include <vector> #include <vector>

View File

@ -26,7 +26,6 @@
#include "tracking_FLL_PLL_filter.h" // for PLL/FLL filter #include "tracking_FLL_PLL_filter.h" // for PLL/FLL filter
#include "tracking_loop_filter.h" // for DLL filter #include "tracking_loop_filter.h" // for DLL filter
#include <boost/circular_buffer.hpp> #include <boost/circular_buffer.hpp>
#include <memory> // for std::shared_ptr
#include <gnuradio/block.h> // for block #include <gnuradio/block.h> // for block
#include <gnuradio/gr_complex.h> // for gr_complex #include <gnuradio/gr_complex.h> // for gr_complex
#include <gnuradio/types.h> // for gr_vector_int, gr_vector... #include <gnuradio/types.h> // for gr_vector_int, gr_vector...
@ -34,7 +33,7 @@
#include <volk_gnsssdr/volk_gnsssdr_alloc.h> // for volk_gnsssdr::vector #include <volk_gnsssdr/volk_gnsssdr_alloc.h> // for volk_gnsssdr::vector
#include <cstdint> // for int32_t #include <cstdint> // for int32_t
#include <fstream> // for string, ofstream #include <fstream> // for string, ofstream
#include <memory> #include <memory> // for std::shared_ptr
#include <string> #include <string>
#include <utility> // for pair #include <utility> // for pair
#if GNURADIO_USES_STD_POINTERS #if GNURADIO_USES_STD_POINTERS

View File

@ -21,10 +21,10 @@
#ifndef GNSS_SDR_GNSS_SDR_TIME_COUNTER_H #ifndef GNSS_SDR_GNSS_SDR_TIME_COUNTER_H
#define GNSS_SDR_GNSS_SDR_TIME_COUNTER_H #define GNSS_SDR_GNSS_SDR_TIME_COUNTER_H
#include <memory>
#include <gnuradio/block.h> #include <gnuradio/block.h>
#include <gnuradio/types.h> // for gr_vector_const_void_star #include <gnuradio/types.h> // for gr_vector_const_void_star
#include <cstdint> #include <cstdint>
#include <memory>
class gnss_sdr_time_counter; class gnss_sdr_time_counter;