Astyle formatting
This commit is contained in:
parent
5126e4b1af
commit
18aa968a7a
|
@ -690,7 +690,8 @@ Check::FileInfo * CheckBufferOverrun::loadFileInfoFromXml(const tinyxml2::XMLEle
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Analyse all file infos for all TU */
|
/** @brief Analyse all file infos for all TU */
|
||||||
bool CheckBufferOverrun::analyseWholeProgram(const CTU::FileInfo *ctu, const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger) {
|
bool CheckBufferOverrun::analyseWholeProgram(const CTU::FileInfo *ctu, const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger)
|
||||||
|
{
|
||||||
if (!ctu)
|
if (!ctu)
|
||||||
return false;
|
return false;
|
||||||
bool foundErrors = false;
|
bool foundErrors = false;
|
||||||
|
@ -698,8 +699,7 @@ bool CheckBufferOverrun::analyseWholeProgram(const CTU::FileInfo *ctu, const std
|
||||||
|
|
||||||
const std::map<std::string, std::list<const CTU::FileInfo::CallBase *>> callsMap = ctu->getCallsMap();
|
const std::map<std::string, std::list<const CTU::FileInfo::CallBase *>> callsMap = ctu->getCallsMap();
|
||||||
|
|
||||||
for (Check::FileInfo *fi1 : fileInfo)
|
for (Check::FileInfo *fi1 : fileInfo) {
|
||||||
{
|
|
||||||
const MyFileInfo *fi = dynamic_cast<MyFileInfo*>(fi1);
|
const MyFileInfo *fi = dynamic_cast<MyFileInfo*>(fi1);
|
||||||
if (!fi)
|
if (!fi)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue