Move all file specific globals to anonymous namespace

This commit is contained in:
Alex Beregszaszi
2017-08-29 11:09:18 +01:00
parent b364bd048f
commit 7fb4a64136
8 changed files with 36 additions and 5 deletions
+5
View File
@@ -304,6 +304,9 @@ MemberList::MemberMap Type::boundFunctions(Type const& _type, ContractDefinition
return members;
}
namespace
{
bool isValidShiftAndAmountType(Token::Value _operator, Type const& _shiftAmountType)
{
// Disable >>> here.
@@ -317,6 +320,8 @@ bool isValidShiftAndAmountType(Token::Value _operator, Type const& _shiftAmountT
return false;
}
}
IntegerType::IntegerType(int _bits, IntegerType::Modifier _modifier):
m_bits(_bits), m_modifier(_modifier)
{