lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files

This commit is contained in:
XhmikosR 2012-09-15 16:32:00 +03:00 committed by PKEuS
parent 3f4e8e81a9
commit 6e4e3dfbfb
28 changed files with 2 additions and 31 deletions

View File

@ -155,4 +155,3 @@ inline Check::Check(const std::string &aname)
/// @}
#endif

View File

@ -88,4 +88,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -95,4 +95,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -110,4 +110,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -76,4 +76,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -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))

View File

@ -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

View File

@ -251,4 +251,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -126,4 +126,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -134,4 +134,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -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.");
}

View File

@ -66,4 +66,3 @@ void CheckNonReentrantFunctions::nonReentrantFunctions()
}
}
//---------------------------------------------------------------------------

View File

@ -108,4 +108,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -155,4 +155,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -84,4 +84,3 @@ void CheckObsoleteFunctions::obsoleteFunctions()
}
}
//---------------------------------------------------------------------------

View File

@ -146,4 +146,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -479,4 +479,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -74,4 +74,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -232,4 +232,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -108,4 +108,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -93,4 +93,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -108,4 +108,3 @@ private:
/// @}
//---------------------------------------------------------------------------
#endif

View File

@ -483,4 +483,3 @@ void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c)
}
}
}

View File

@ -208,4 +208,3 @@ bool Path::acceptFile(const std::string &filename)
{
return(Path::isCPP(filename) || Path::isC(filename));
}

View File

@ -271,4 +271,3 @@ private:
//---------------------------------------------------------------------------
#endif

View File

@ -290,4 +290,3 @@ std::list<Suppressions::SuppressionEntry> Suppressions::getUnmatchedGlobalSuppre
}
return r;
}

View File

@ -619,4 +619,3 @@ private:
};
#endif

View File

@ -81,5 +81,4 @@ private:
bool _stopped;
};
#endif // TIMER_H