preprocessor: make CPlusPlus::Internal::ByteArrayRef public

Change-Id: Ief6ea71f750b6ba19b650050bae376f4ad82d9d2
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-04-18 17:35:28 +02:00
committed by hjk
parent d4b4a75603
commit 17c114fde8
9 changed files with 17 additions and 16 deletions

View File

@@ -150,7 +150,7 @@ void Environment::reset()
_hash_count = 401;
}
bool Environment::isBuiltinMacro(const Internal::ByteArrayRef &s)
bool Environment::isBuiltinMacro(const ByteArrayRef &s)
{
if (s.length() != 8)
return false;
@@ -236,7 +236,7 @@ Macro *Environment::resolve(const QByteArray &name) const
return it;
}
Macro *Environment::resolve(const Internal::ByteArrayRef &name) const
Macro *Environment::resolve(const ByteArrayRef &name) const
{
if (! _macros)
return 0;
@@ -262,7 +262,7 @@ unsigned Environment::hashCode(const QByteArray &s)
return hash_value;
}
unsigned Environment::hashCode(const Internal::ByteArrayRef &s)
unsigned Environment::hashCode(const ByteArrayRef &s)
{
unsigned hash_value = 0;