parent
db99eacbe9
commit
afbfc914bc
|
@ -133,7 +133,7 @@ namespace cppcheck {
|
||||||
}
|
}
|
||||||
|
|
||||||
long long unsignedCharMax() const {
|
long long unsignedCharMax() const {
|
||||||
return max_value(char_bit + 1);
|
return max_value(char_bit + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
long long signedCharMax() const {
|
long long signedCharMax() const {
|
||||||
|
|
|
@ -3647,9 +3647,8 @@ const Enumerator * SymbolDatabase::findEnumerator(const Token * tok) const
|
||||||
|
|
||||||
const std::string tokStr = tok->str();
|
const std::string tokStr = tok->str();
|
||||||
|
|
||||||
if (tokensThatAreNotEnumeratorValues.find(tokStr) != tokensThatAreNotEnumeratorValues.end())
|
if (tokensThatAreNotEnumeratorValues.find(tokStr) != tokensThatAreNotEnumeratorValues.end()) {
|
||||||
{
|
return nullptr;
|
||||||
return nullptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for qualified name
|
// check for qualified name
|
||||||
|
|
Loading…
Reference in New Issue