This patch was generated using clang-tidy:
clang-tidy -checks="-*,google-readability-namespace-comments" -fix
Switch to the format used by clang-tidy to allow easy, automatic,
tool-based maintenance / checking of the comments.
This also found a few instances of comments that were out of sync.
56 files changed:
+} // namespace binding
+} // namespace pv
vector< shared_ptr<prop::Property> > properties_;
};
vector< shared_ptr<prop::Property> > properties_;
};
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_BINDING_HPP
#endif // PULSEVIEW_PV_BINDING_BINDING_HPP
decoder_stack_->begin_decode();
}
decoder_stack_->begin_decode();
}
+} // namespace binding
+} // namespace pv
shared_ptr<pv::data::decode::Decoder> decoder_;
};
shared_ptr<pv::data::decode::Decoder> decoder_;
};
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_DECODER_HPP
#endif // PULSEVIEW_PV_BINDING_DECODER_HPP
return QString("%1x").arg(factor);
}
return QString("%1x").arg(factor);
}
+} // namespace binding
+} // namespace pv
shared_ptr<sigrok::Configurable> configurable_;
};
shared_ptr<sigrok::Configurable> configurable_;
};
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_DEVICE_HPP
#endif // PULSEVIEW_PV_BINDING_DEVICE_HPP
map<string, Glib::VariantBase> options_;
};
map<string, Glib::VariantBase> options_;
};
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_H
#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_H
-} // decode
-} // data
-} // pv
+} // namespace decode
+} // namespace data
+} // namespace pv
(decoder_ == other.decoder_ && row_ < other.row_);
}
(decoder_ == other.decoder_ && row_ < other.row_);
}
-} // decode
-} // data
-} // pv
+} // namespace decode
+} // namespace data
+} // namespace pv
const srd_decoder_annotation_row *row_;
};
const srd_decoder_annotation_row *row_;
};
-} // decode
-} // data
-} // pv
+} // namespace decode
+} // namespace data
+} // namespace pv
#endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP
#endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP
annotations_.push_back(a);
}
annotations_.push_back(a);
}
-} // decode
-} // data
-} // pv
+} // namespace decode
+} // namespace data
+} // namespace pv
vector<Annotation> annotations_;
};
vector<Annotation> annotations_;
};
+} // namespace decode
+} // namespace data
+} // namespace pv
#endif // PULSEVIEW_PV_DATA_DECODE_ROWDATA_HPP
#endif // PULSEVIEW_PV_DATA_DECODE_ROWDATA_HPP
struct MediumSize32Multi;
struct MaxSize32Multi;
struct MaxSize32MultiIterated;
struct MediumSize32Multi;
struct MaxSize32Multi;
struct MaxSize32MultiIterated;
+} // namespace SegmentTest
namespace pv {
namespace data {
namespace pv {
namespace data {
+} // namespace dialogs
+} // namespace pv
pv::StoreSession session_;
};
pv::StoreSession session_;
};
+} // namespace dialogs
+} // namespace pv
#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP
#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP
set_all_channels(false);
}
set_all_channels(false);
}
+} // namespace popups
+} // namespace pv
QSignalMapper check_box_mapper_;
};
QSignalMapper check_box_mapper_;
};
+} // namespace popups
+} // namespace pv
#endif // PULSEVIEW_PV_POPUPS_CHANNELS_HPP
#endif // PULSEVIEW_PV_POPUPS_CHANNELS_HPP
+} // namespace prop
+} // namespace pv
QCheckBox *check_box_;
};
QCheckBox *check_box_;
};
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_BOOL_HPP
#endif // PULSEVIEW_PV_PROP_BOOL_HPP
+} // namespace prop
+} // namespace pv
QDoubleSpinBox *spin_box_;
};
QDoubleSpinBox *spin_box_;
};
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_DOUBLE_HPP
#endif // PULSEVIEW_PV_PROP_DOUBLE_HPP
+} // namespace prop
+} // namespace pv
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_ENUM_HPP
#endif // PULSEVIEW_PV_PROP_ENUM_HPP
+} // namespace prop
+} // namespace pv
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_INT_HPP
#endif // PULSEVIEW_PV_PROP_INT_HPP
+} // namespace prop
+} // namespace pv
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_PROPERTY_HPP
#endif // PULSEVIEW_PV_PROP_PROPERTY_HPP
+} // namespace prop
+} // namespace pv
QLineEdit *line_edit_;
};
QLineEdit *line_edit_;
};
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_STRING_HPP
#endif // PULSEVIEW_PV_PROP_STRING_HPP
class OutputFormat;
class Packet;
class Session;
class OutputFormat;
class Packet;
class Session;
output_stream_.close();
}
output_stream_.close();
}
uint64_t start_sample_, sample_count_;
};
uint64_t start_sample_, sample_count_;
};
#endif // PULSEVIEW_PV_STORESESSION_HPP
#endif // PULSEVIEW_PV_STORESESSION_HPP
+} // namespace widgets
+} // namespace pv
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP
#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP
+} // namespace widgets
+} // namespace pv
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_COLOURPOPUP_HPP
#endif // PULSEVIEW_PV_WIDGETS_COLOURPOPUP_HPP
":/icons/decoder-hidden.svg"));
}
":/icons/decoder-hidden.svg"));
}
+} // namespace widgets
+} // namespace pv
QPushButton show_hide_button_;
};
QPushButton show_hide_button_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_HPP
#endif // PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_HPP
+} // namespace widgets
+} // namespace pv
QSignalMapper mapper_;
};
QSignalMapper mapper_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_DECODERMENU_HPP
#endif // PULSEVIEW_PV_WIDGETS_DECODERMENU_HPP
QToolTip::showText(QCursor::pos(), device_tooltip_);
}
QToolTip::showText(QCursor::pos(), device_tooltip_);
}
+} // namespace widgets
+} // namespace pv
QString device_tooltip_;
};
QString device_tooltip_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_HPP
#endif // PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_HPP
format_selected((*iter).second);
}
format_selected((*iter).second);
}
+} // namespace widgets
+} // namespace pv
QSignalMapper mapper_;
};
QSignalMapper mapper_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP
#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP
format_selected((*iter).second);
}
format_selected((*iter).second);
}
+} // namespace widgets
+} // namespace pv
QSignalMapper mapper_;
};
QSignalMapper mapper_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP
+} // namespace widgets
+} // namespace pv
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_POPUPTOOLBUTTON_HPP
#endif // PULSEVIEW_PV_WIDGETS_POPUPTOOLBUTTON_HPP
list_.setCurrentIndex(best_match);
}
list_.setCurrentIndex(best_match);
}
+} // namespace widgets
+} // namespace pv
ValueType value_type_;
};
ValueType value_type_;
};
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_HPP
#endif // PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_HPP
lineEdit()->setText(newtext);
}
lineEdit()->setText(newtext);
}
+} // namespace widgets
+} // namespace pv
+} // namespace widgets
+} // namespace pv
-} // namespace wellarray
-} // namespace wellarray
pv::util::SIPrefix yotta = pv::util::SIPrefix::yotta;
/* pv::util::TimeUnit Time = pv::util::TimeUnit::Time; // Not currently used */
pv::util::SIPrefix yotta = pv::util::SIPrefix::yotta;
/* pv::util::TimeUnit Time = pv::util::TimeUnit::Time; // Not currently used */
BOOST_AUTO_TEST_SUITE(UtilTest)
BOOST_AUTO_TEST_SUITE(UtilTest)