remove duplicate ";" and fours dots
This commit is contained in:
parent
2d6d1f3250
commit
8ac9b8e7a9
|
@ -42,7 +42,7 @@ namespace {
|
|||
// - http://www.cplusplus.com/reference/cstdio/fgetc/
|
||||
// - http://www.cplusplus.com/reference/cstdio/getc/
|
||||
// - http://www.cplusplus.com/reference/cstdio/getchar/
|
||||
// - http://www.cplusplus.com/reference/cstdio/ungetc/ ....
|
||||
// - http://www.cplusplus.com/reference/cstdio/ungetc/ ...
|
||||
//----------------------------------------------------------------------------------
|
||||
void CheckOther::checkCastIntToCharAndBack()
|
||||
{
|
||||
|
|
|
@ -800,9 +800,9 @@ void Tokenizer::simplifyTypedef()
|
|||
typeOf = true;
|
||||
}
|
||||
|
||||
// function: typedef ... ( .... type )( ... );
|
||||
// typedef ... (( .... type )( ... ));
|
||||
// typedef ... ( * ( .... type )( ... ));
|
||||
// function: typedef ... ( ... type )( ... );
|
||||
// typedef ... (( ... type )( ... ));
|
||||
// typedef ... ( * ( ... type )( ... ));
|
||||
else if ((tokOffset->str() == "(" &&
|
||||
Token::Match(tokOffset->link()->previous(), "%type% ) (") &&
|
||||
Token::Match(tokOffset->link()->next()->link(), ") const|volatile|;")) ||
|
||||
|
|
|
@ -1619,7 +1619,7 @@ private:
|
|||
std::map<std::string, std::string> actual;
|
||||
Settings settings;
|
||||
settings.debug = settings.debugwarnings = true;
|
||||
settings.addEnabled("missingInclude");;
|
||||
settings.addEnabled("missingInclude");
|
||||
Preprocessor preprocessor(&settings, this);
|
||||
preprocessor.preprocess(istr, actual, "file.c");
|
||||
|
||||
|
|
|
@ -7585,7 +7585,7 @@ private:
|
|||
"UINT_PTR uint_ptr;"
|
||||
"WPARAM wparam;"
|
||||
"HALF_PTR half_ptr;"
|
||||
"INT_PTR int_ptr;";;
|
||||
"INT_PTR int_ptr;";
|
||||
|
||||
const char expected[] = "unsigned int sizeof_short ; sizeof_short = 2 ; "
|
||||
"unsigned int sizeof_unsigned_short ; sizeof_unsigned_short = 2 ; "
|
||||
|
|
Loading…
Reference in New Issue