Astyle formatting, no functional changes.
This commit is contained in:
parent
5814c3b84c
commit
7ff4d10c43
|
@ -595,7 +595,7 @@ static void PrintCallstack(FILE* f, PEXCEPTION_POINTERS ex)
|
||||||
static void writeMemoryErrorDetails(FILE* f, PEXCEPTION_POINTERS ex, const char* description)
|
static void writeMemoryErrorDetails(FILE* f, PEXCEPTION_POINTERS ex, const char* description)
|
||||||
{
|
{
|
||||||
fputs(description, f);
|
fputs(description, f);
|
||||||
fprintf(f, " (instruction: 0x%p) ", ex->ExceptionRecord->ExceptionAddress);
|
fprintf(f, " (instruction: 0x%p) ", ex->ExceptionRecord->ExceptionAddress);
|
||||||
// Using %p for ULONG_PTR later on, so it must have size identical to size of pointer
|
// Using %p for ULONG_PTR later on, so it must have size identical to size of pointer
|
||||||
// This is not the universally portable solution but good enough for Win32/64
|
// This is not the universally portable solution but good enough for Win32/64
|
||||||
C_ASSERT(sizeof(void*) == sizeof(ex->ExceptionRecord->ExceptionInformation[1]));
|
C_ASSERT(sizeof(void*) == sizeof(ex->ExceptionRecord->ExceptionInformation[1]));
|
||||||
|
|
|
@ -1801,7 +1801,7 @@ Check::FileInfo* CheckBufferOverrun::getFileInfo(const Tokenizer *tokenizer, con
|
||||||
|
|
||||||
void CheckBufferOverrun::analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger)
|
void CheckBufferOverrun::analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger)
|
||||||
{
|
{
|
||||||
(void)settings;
|
(void)settings;
|
||||||
// Merge all fileInfo
|
// Merge all fileInfo
|
||||||
MyFileInfo all;
|
MyFileInfo all;
|
||||||
for (std::list<Check::FileInfo*>::const_iterator it = fileInfo.begin(); it != fileInfo.end(); ++it) {
|
for (std::list<Check::FileInfo*>::const_iterator it = fileInfo.begin(); it != fileInfo.end(); ++it) {
|
||||||
|
|
Loading…
Reference in New Issue