Clang's warnings.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-01 13:18:55 +03:00
parent 8e912f5245
commit 838f7f77dd
4 changed files with 7 additions and 9 deletions

View File

@ -124,7 +124,7 @@ CONFIG(debug, debug|release){
-isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \ -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \ -isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
-isystem "/usr/include/qt5/QtCore" -isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "/usr/include/qt5/QtCore" -isystem "/usr/include/qt5/QtXmlPatterns" \
-isystem "$${UI_DIR}" -isystem "$${MOC_DIR}" -isystem "$${RCC_DIR}" \ -isystem "$${UI_DIR}" -isystem "$${OUT_PWD}/$${MOC_DIR}" -isystem "$${RCC_DIR}" \
-O0 \ -O0 \
-fparse-all-comments \ -fparse-all-comments \
-Wabi \ -Wabi \
@ -228,8 +228,6 @@ CONFIG(debug, debug|release){
-Wdocumentation \ -Wdocumentation \
-Wdocumentation-deprecated-sync \ -Wdocumentation-deprecated-sync \
-Wdocumentation-html \ -Wdocumentation-html \
-Wdocumentation-pedantic \
-Wdocumentation-unknown-command \
-Wdollar-in-identifier-extension \ -Wdollar-in-identifier-extension \
-Wduplicate-decl-specifier \ -Wduplicate-decl-specifier \
-Wduplicate-enum \ -Wduplicate-enum \

View File

@ -204,7 +204,7 @@ private:
/** /**
* @brief AddMeasurement add new measurement * @brief AddMeasurement add new measurement
* @param name short measurement name * @param name short measurement name
* @param row measurement * @param m measurement
*/ */
inline void VContainer::AddMeasurement(const QString &name, const VMeasurement &m) inline void VContainer::AddMeasurement(const QString &name, const VMeasurement &m)
{ {
@ -226,7 +226,7 @@ inline void VContainer::UpdateMeasurement(const QString &name, VMeasurement m)
/** /**
* @brief UpdateIncrement update increment table row by name * @brief UpdateIncrement update increment table row by name
* @param name name of row * @param name name of row
* @param row row * @param incr increment
*/ */
inline void VContainer::UpdateIncrement(const QString &name, VIncrement incr) inline void VContainer::UpdateIncrement(const QString &name, VIncrement incr)
{ {
@ -309,7 +309,7 @@ inline void VContainer::SetSizeName(const QString &name)
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**
* @brief SetGrowth set value of growth * @brief SetGrowth set value of growth
* @param growth value of growth * @param height value of height
*/ */
inline void VContainer::SetHeight(qreal height) inline void VContainer::SetHeight(qreal height)
{ {

View File

@ -46,9 +46,9 @@ VMeasurement::VMeasurement()
* @param description measurement full description * @param description measurement full description
* @param tagName measurement's tag name in file * @param tagName measurement's tag name in file
*/ */
VMeasurement::VMeasurement(const qreal &base, const qreal &ksize, const qreal &kgrowth, VMeasurement::VMeasurement(const qreal &base, const qreal &ksize, const qreal &kheight,
const QString &gui_text, const QString &description, const QString &tagName) const QString &gui_text, const QString &description, const QString &tagName)
:base(base), ksize(ksize), kheight(kgrowth), gui_text(gui_text), description(description), _tagName(tagName) :base(base), ksize(ksize), kheight(kheight), gui_text(gui_text), description(description), _tagName(tagName)
{} {}
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -228,7 +228,7 @@ public:
/** /**
* @brief RemoveEdge return detail without edge with index. * @brief RemoveEdge return detail without edge with index.
* @param index idex of edge. * @param index idex of edge.
* @return * @return detail without edge with index.
*/ */
VDetail RemoveEdge(const quint32 &index) const; VDetail RemoveEdge(const quint32 &index) const;
/** /**