lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files
This commit is contained in:
parent
3f4e8e81a9
commit
6e4e3dfbfb
|
@ -155,4 +155,3 @@ inline Check::Check(const std::string &aname)
|
|||
/// @}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -88,4 +88,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -95,4 +95,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -110,4 +110,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ static bool for_condition(const Token *tok2, unsigned int varid, std::string &mi
|
|||
while (tok2 && tok2->str() != ";") {
|
||||
if (tok2->str() == "(")
|
||||
tok2 = tok2->link();
|
||||
else if (tok2->str() == ")") // unexpected ")" => break
|
||||
else if (tok2->str() == ")") // unexpected ")" => break
|
||||
break;
|
||||
if (tok2->str() == "&&" || tok2->str() == "||") {
|
||||
if (for_condition(tok2->next(), varid, min_value, max_value, maxMinFlipped))
|
||||
|
|
|
@ -221,7 +221,7 @@ private:
|
|||
void bufferNotZeroTerminatedError(const Token *tok, const std::string &varname, const std::string &function);
|
||||
void negativeIndexError(const Token *tok, MathLib::bigint index);
|
||||
void cmdLineArgsError(const Token *tok);
|
||||
void pointerOutOfBoundsError(const Token *tok, const std::string &object); // UB when result of calculation is out of bounds
|
||||
void pointerOutOfBoundsError(const Token *tok, const std::string &object); // UB when result of calculation is out of bounds
|
||||
void arrayIndexThenCheckError(const Token *tok, const std::string &indexName);
|
||||
void possibleBufferOverrunError(const Token *tok, const std::string &src, const std::string &dst, bool cat);
|
||||
void possibleReadlinkBufferOverrunError(const Token *tok, const std::string &funcname, const std::string &varname);
|
||||
|
@ -258,6 +258,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -251,4 +251,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -126,4 +126,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -134,4 +134,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2739,4 +2739,3 @@ void CheckMemoryLeakNoVar::functionCallLeak(const Token *loc, const std::string
|
|||
{
|
||||
reportError(loc, Severity::error, "leakNoVarFunctionCall", "Allocation with " + alloc + ", " + functionCall + " doesn't release it.");
|
||||
}
|
||||
|
||||
|
|
|
@ -66,4 +66,3 @@ void CheckNonReentrantFunctions::nonReentrantFunctions()
|
|||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -155,4 +155,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -84,4 +84,3 @@ void CheckObsoleteFunctions::obsoleteFunctions()
|
|||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -146,4 +146,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -479,4 +479,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -74,4 +74,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -232,4 +232,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -93,4 +93,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@ private:
|
|||
/// @}
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -483,4 +483,3 @@ void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -208,4 +208,3 @@ bool Path::acceptFile(const std::string &filename)
|
|||
{
|
||||
return(Path::isCPP(filename) || Path::isC(filename));
|
||||
}
|
||||
|
||||
|
|
|
@ -271,4 +271,3 @@ private:
|
|||
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
|
||||
|
|
|
@ -290,4 +290,3 @@ std::list<Suppressions::SuppressionEntry> Suppressions::getUnmatchedGlobalSuppre
|
|||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
|
@ -619,4 +619,3 @@ private:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -81,5 +81,4 @@ private:
|
|||
bool _stopped;
|
||||
};
|
||||
|
||||
|
||||
#endif // TIMER_H
|
||||
|
|
Loading…
Reference in New Issue