Try to fix VS errors about std::to_string()
This commit is contained in:
parent
bed2f66302
commit
7001aa1e81
|
@ -35,7 +35,7 @@ void AnalyzerInformation::close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned int checksum, std::list<ErrorLogger::ErrorMessage> *errors)
|
static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned long long checksum, std::list<ErrorLogger::ErrorMessage> *errors)
|
||||||
{
|
{
|
||||||
tinyxml2::XMLDocument doc;
|
tinyxml2::XMLDocument doc;
|
||||||
tinyxml2::XMLError error = doc.LoadFile(analyzerInfoFile.c_str());
|
tinyxml2::XMLError error = doc.LoadFile(analyzerInfoFile.c_str());
|
||||||
|
@ -58,7 +58,7 @@ static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned int check
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AnalyzerInformation::analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned int checksum, std::list<ErrorLogger::ErrorMessage> *errors)
|
bool AnalyzerInformation::analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned long long checksum, std::list<ErrorLogger::ErrorMessage> *errors)
|
||||||
{
|
{
|
||||||
if (buildDir.empty() || sourcefile.empty())
|
if (buildDir.empty() || sourcefile.empty())
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -50,7 +50,7 @@ public:
|
||||||
|
|
||||||
/** Close current TU.analyzerinfo file */
|
/** Close current TU.analyzerinfo file */
|
||||||
void close();
|
void close();
|
||||||
bool analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned int checksum, std::list<ErrorLogger::ErrorMessage> *errors);
|
bool analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned long long checksum, std::list<ErrorLogger::ErrorMessage> *errors);
|
||||||
void reportErr(const ErrorLogger::ErrorMessage &msg, bool verbose);
|
void reportErr(const ErrorLogger::ErrorMessage &msg, bool verbose);
|
||||||
void setFileInfo(const std::string &check, const std::string &fileInfo);
|
void setFileInfo(const std::string &check, const std::string &fileInfo);
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue