From f7bbf2c1d8d780294f3e016aff239ca35eb6516e Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Wed, 7 Aug 2019 21:45:12 +0200
Subject: Tree: clang-format without the include sorting

---
 gnuradio-runtime/lib/pmt/pmt_int.h | 157 +++++++++++++++++++------------------
 1 file changed, 80 insertions(+), 77 deletions(-)

(limited to 'gnuradio-runtime/lib/pmt/pmt_int.h')

diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h
index 5f02518a62..ea3dd5e2c9 100644
--- a/gnuradio-runtime/lib/pmt/pmt_int.h
+++ b/gnuradio-runtime/lib/pmt/pmt_int.h
@@ -39,163 +39,166 @@ namespace pmt {
 class pmt_bool : public pmt_base
 {
 public:
-  pmt_bool();
-  //~pmt_bool(){}
+    pmt_bool();
+    //~pmt_bool(){}
 
-  bool is_bool() const { return true; }
+    bool is_bool() const { return true; }
 };
 
 
 class pmt_symbol : public pmt_base
 {
-  std::string	d_name;
-  pmt_t		d_next;
+    std::string d_name;
+    pmt_t d_next;
 
 public:
-  pmt_symbol(const std::string &name);
-  //~pmt_symbol(){}
+    pmt_symbol(const std::string& name);
+    //~pmt_symbol(){}
 
-  bool is_symbol() const { return true; }
-  const std::string name() { return d_name; }
+    bool is_symbol() const { return true; }
+    const std::string name() { return d_name; }
 
-  pmt_t next() { return d_next; }		// symbol table link
-  void set_next(pmt_t next) { d_next = next; }
+    pmt_t next() { return d_next; } // symbol table link
+    void set_next(pmt_t next) { d_next = next; }
 };
 
 class pmt_integer : public pmt_base
 {
 public:
-  long		d_value;
+    long d_value;
 
-  pmt_integer(long value);
-  //~pmt_integer(){}
+    pmt_integer(long value);
+    //~pmt_integer(){}
 
-  bool is_number()  const { return true; }
-  bool is_integer() const { return true; }
-  long value() const { return d_value; }
+    bool is_number() const { return true; }
+    bool is_integer() const { return true; }
+    long value() const { return d_value; }
 };
 
 class pmt_uint64 : public pmt_base
 {
 public:
-  uint64_t		d_value;
+    uint64_t d_value;
 
-  pmt_uint64(uint64_t value);
-  //~pmt_uint64(){}
+    pmt_uint64(uint64_t value);
+    //~pmt_uint64(){}
 
-  bool is_number()  const { return true; }
-  bool is_uint64() const { return true; }
-  uint64_t value() const { return d_value; }
+    bool is_number() const { return true; }
+    bool is_uint64() const { return true; }
+    uint64_t value() const { return d_value; }
 };
 
 class pmt_real : public pmt_base
 {
 public:
-  double	d_value;
+    double d_value;
 
-  pmt_real(double value);
-  //~pmt_real(){}
+    pmt_real(double value);
+    //~pmt_real(){}
 
-  bool is_number()  const { return true; }
-  bool is_real() const { return true; }
-  double value() const { return d_value; }
+    bool is_number() const { return true; }
+    bool is_real() const { return true; }
+    double value() const { return d_value; }
 };
 
 class pmt_complex : public pmt_base
 {
 public:
-  std::complex<double>	d_value;
+    std::complex<double> d_value;
 
-  pmt_complex(std::complex<double> value);
-  //~pmt_complex(){}
+    pmt_complex(std::complex<double> value);
+    //~pmt_complex(){}
 
-  bool is_number()  const { return true; }
-  bool is_complex() const { return true; }
-  std::complex<double> value() const { return d_value; }
+    bool is_number() const { return true; }
+    bool is_complex() const { return true; }
+    std::complex<double> value() const { return d_value; }
 };
 
-class pmt_null  : public pmt_base
+class pmt_null : public pmt_base
 {
 public:
-  pmt_null();
-  //~pmt_null(){}
+    pmt_null();
+    //~pmt_null(){}
 
-  bool is_null() const { return true; }
+    bool is_null() const { return true; }
 };
 
 class pmt_pair : public pmt_base
 {
 public:
-  pmt_t		d_car;
-  pmt_t		d_cdr;
+    pmt_t d_car;
+    pmt_t d_cdr;
 
-  pmt_pair(const pmt_t& car, const pmt_t& cdr);
-  //~pmt_pair(){};
+    pmt_pair(const pmt_t& car, const pmt_t& cdr);
+    //~pmt_pair(){};
 
-  bool is_pair() const { return true; }
-  pmt_t car() const { return d_car; }
-  pmt_t cdr() const { return d_cdr; }
+    bool is_pair() const { return true; }
+    pmt_t car() const { return d_car; }
+    pmt_t cdr() const { return d_cdr; }
 
-  void set_car(pmt_t car) { d_car = car; }
-  void set_cdr(pmt_t cdr) { d_cdr = cdr; }
+    void set_car(pmt_t car) { d_car = car; }
+    void set_cdr(pmt_t cdr) { d_cdr = cdr; }
 };
 
 class pmt_vector : public pmt_base
 {
-  std::vector<pmt_t>	d_v;
+    std::vector<pmt_t> d_v;
 
 public:
-  pmt_vector(size_t len, pmt_t fill);
-  //~pmt_vector();
+    pmt_vector(size_t len, pmt_t fill);
+    //~pmt_vector();
 
-  bool is_vector() const { return true; }
-  pmt_t ref(size_t k) const;
-  void  set(size_t k, pmt_t obj);
-  void  fill(pmt_t fill);
-  size_t length() const { return d_v.size(); }
+    bool is_vector() const { return true; }
+    pmt_t ref(size_t k) const;
+    void set(size_t k, pmt_t obj);
+    void fill(pmt_t fill);
+    size_t length() const { return d_v.size(); }
 
-  pmt_t _ref(size_t k) const { return d_v[k]; }
+    pmt_t _ref(size_t k) const { return d_v[k]; }
 };
 
 class pmt_tuple : public pmt_base
 {
-  std::vector<pmt_t>	d_v;
+    std::vector<pmt_t> d_v;
 
 public:
-  pmt_tuple(size_t len);
-  //~pmt_tuple();
+    pmt_tuple(size_t len);
+    //~pmt_tuple();
 
-  bool is_tuple() const { return true; }
-  pmt_t ref(size_t k) const;
-  size_t length() const { return d_v.size(); }
+    bool is_tuple() const { return true; }
+    pmt_t ref(size_t k) const;
+    size_t length() const { return d_v.size(); }
 
-  pmt_t _ref(size_t k) const { return d_v[k]; }
-  void _set(size_t k, pmt_t v) { d_v[k] = v; }
+    pmt_t _ref(size_t k) const { return d_v[k]; }
+    void _set(size_t k, pmt_t v) { d_v[k] = v; }
 };
 
 class pmt_any : public pmt_base
 {
-  boost::any	d_any;
+    boost::any d_any;
 
 public:
-  pmt_any(const boost::any &any);
-  //~pmt_any();
+    pmt_any(const boost::any& any);
+    //~pmt_any();
 
-  bool is_any() const { return true; }
-  const boost::any &ref() const { return d_any; }
-  void  set(const boost::any &any) { d_any = any; }
+    bool is_any() const { return true; }
+    const boost::any& ref() const { return d_any; }
+    void set(const boost::any& any) { d_any = any; }
 };
 
 
 class pmt_uniform_vector : public pmt_base
 {
 public:
-  bool is_uniform_vector() const { return true; }
-  virtual const void *uniform_elements(size_t &len) = 0;
-  virtual void *uniform_writable_elements(size_t &len) = 0;
-  virtual size_t length() const = 0;
-  virtual size_t itemsize() const = 0;
-  virtual const std::string string_ref(size_t k) const { return std::string("not implemented"); }
+    bool is_uniform_vector() const { return true; }
+    virtual const void* uniform_elements(size_t& len) = 0;
+    virtual void* uniform_writable_elements(size_t& len) = 0;
+    virtual size_t length() const = 0;
+    virtual size_t itemsize() const = 0;
+    virtual const std::string string_ref(size_t k) const
+    {
+        return std::string("not implemented");
+    }
 };
 } /* namespace pmt */
 
-- 
cgit v1.2.3