diff options
| author | hjk <[email protected]> | 2012-04-18 17:35:28 +0200 |
|---|---|---|
| committer | hjk <[email protected]> | 2012-04-19 18:37:31 +0200 |
| commit | 17c114fde8bc7db164ae42ed2afac4990a83b884 (patch) | |
| tree | 7616f81f2b8d3e838a3e83a7ca04c3c0e2ac66d0 /src/libs/cplusplus/pp-engine.h | |
| parent | d4b4a75603b8d311badf951b7dc1d5dd13b59c88 (diff) | |
preprocessor: make CPlusPlus::Internal::ByteArrayRef public
Change-Id: Ief6ea71f750b6ba19b650050bae376f4ad82d9d2
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/libs/cplusplus/pp-engine.h')
| -rw-r--r-- | src/libs/cplusplus/pp-engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/cplusplus/pp-engine.h b/src/libs/cplusplus/pp-engine.h index cbef06bb302..33f4dca26ef 100644 --- a/src/libs/cplusplus/pp-engine.h +++ b/src/libs/cplusplus/pp-engine.h @@ -147,7 +147,7 @@ private: void handleIfDefDirective(bool checkUndefined, PPToken *tk); void handleUndefDirective(PPToken *tk); - static bool isQtReservedWord(const Internal::ByteArrayRef &name); + static bool isQtReservedWord(const ByteArrayRef &name); void pushState(const State &newState); void popState(); @@ -174,7 +174,7 @@ private: inline void out(const char *s) const { if (m_state.m_result) m_state.m_result->append(s); } - inline void out(const Internal::ByteArrayRef &ref) const + inline void out(const ByteArrayRef &ref) const { if (m_state.m_result) m_state.m_result->append(ref.start(), ref.length()); } QString string(const char *first, int len) const; |
