astyle formatting
This commit is contained in:
parent
ca6a93816b
commit
1d95416840
|
@ -522,7 +522,7 @@ void CheckOther::checkSizeofForPointerSize()
|
||||||
{
|
{
|
||||||
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
|
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
|
||||||
|
|
||||||
if(!_settings->isEnabled("style"))
|
if (!_settings->isEnabled("style"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) {
|
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) {
|
||||||
|
|
|
@ -383,7 +383,7 @@ int Token::multiCompare(const char *haystack, const char *needle)
|
||||||
|
|
||||||
bool emptyStringFound = false;
|
bool emptyStringFound = false;
|
||||||
const char *needlePointer = needle;
|
const char *needlePointer = needle;
|
||||||
for(;;) {
|
for (;;) {
|
||||||
if (*needlePointer == *haystack) {
|
if (*needlePointer == *haystack) {
|
||||||
if (*needlePointer == '\0')
|
if (*needlePointer == '\0')
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue