diff options
Diffstat (limited to 'src/tools/clangbackend/ipcsource/highlightingmark.h')
-rw-r--r-- | src/tools/clangbackend/ipcsource/highlightingmark.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/tools/clangbackend/ipcsource/highlightingmark.h b/src/tools/clangbackend/ipcsource/highlightingmark.h index 9d3f2f8fee..a749a5c922 100644 --- a/src/tools/clangbackend/ipcsource/highlightingmark.h +++ b/src/tools/clangbackend/ipcsource/highlightingmark.h @@ -47,9 +47,9 @@ public: HighlightingMark(const CXCursor &cxCursor, CXToken *cxToken, CXTranslationUnit cxTranslationUnit, - std::vector<CXSourceRange> ¤tOutputArgumentRanges); - HighlightingMark(uint line, uint column, uint length, HighlightingTypes types); - HighlightingMark(uint line, uint column, uint length, HighlightingType type); + std::vector<CXSourceRange> &m_currentOutputArgumentRanges); + HighlightingMark(uint m_line, uint m_column, uint m_length, HighlightingTypes m_types); + HighlightingMark(uint m_line, uint m_column, uint m_length, HighlightingType type); bool hasInvalidMainType() const; bool hasMainType(HighlightingType type) const; @@ -80,22 +80,22 @@ private: friend std::ostream &operator<<(std::ostream &os, const HighlightingMark& highlightingMark); private: - std::vector<CXSourceRange> *currentOutputArgumentRanges = nullptr; - Cursor originalCursor; - uint line; - uint column; - uint length; - uint offset = 0; - HighlightingTypes types; + std::vector<CXSourceRange> *m_currentOutputArgumentRanges = nullptr; + Cursor m_originalCursor; + uint m_line; + uint m_column; + uint m_length; + uint m_offset = 0; + HighlightingTypes m_types; }; inline bool operator==(const HighlightingMark &first, const HighlightingMark &second) { - return first.line == second.line - && first.column == second.column - && first.length == second.length - && first.types == second.types; + return first.m_line == second.m_line + && first.m_column == second.m_column + && first.m_length == second.m_length + && first.m_types == second.m_types; } } // namespace ClangBackEnd |