From afbfc914bcff344ca3dbe2d985140e705a474746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 20 Oct 2017 01:53:20 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/platform.h | 2 +- lib/symboldatabase.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/platform.h b/lib/platform.h index 3e316de8a..cd3b87213 100644 --- a/lib/platform.h +++ b/lib/platform.h @@ -133,7 +133,7 @@ namespace cppcheck { } long long unsignedCharMax() const { - return max_value(char_bit + 1); + return max_value(char_bit + 1); } long long signedCharMax() const { diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 2d013c6c0..0e2016df5 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3647,9 +3647,8 @@ const Enumerator * SymbolDatabase::findEnumerator(const Token * tok) const const std::string tokStr = tok->str(); - if (tokensThatAreNotEnumeratorValues.find(tokStr) != tokensThatAreNotEnumeratorValues.end()) - { - return nullptr; + if (tokensThatAreNotEnumeratorValues.find(tokStr) != tokensThatAreNotEnumeratorValues.end()) { + return nullptr; } // check for qualified name