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/QtXml" -isystem "/usr/include/qt5/QtGui" \
-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 \
-fparse-all-comments \
-Wabi \
@ -228,8 +228,6 @@ CONFIG(debug, debug|release){
-Wdocumentation \
-Wdocumentation-deprecated-sync \
-Wdocumentation-html \
-Wdocumentation-pedantic \
-Wdocumentation-unknown-command \
-Wdollar-in-identifier-extension \
-Wduplicate-decl-specifier \
-Wduplicate-enum \

View File

@ -204,7 +204,7 @@ private:
/**
* @brief AddMeasurement add new measurement
* @param name short measurement name
* @param row measurement
* @param m measurement
*/
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
* @param name name of row
* @param row row
* @param incr increment
*/
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
* @param growth value of growth
* @param height value of height
*/
inline void VContainer::SetHeight(qreal height)
{

View File

@ -46,9 +46,9 @@ VMeasurement::VMeasurement()
* @param description measurement full description
* @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)
: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.
* @param index idex of edge.
* @return
* @return detail without edge with index.
*/
VDetail RemoveEdge(const quint32 &index) const;
/**