aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/clangbackend/source/sourcerange.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clangbackend/source/sourcerange.h')
-rw-r--r--src/tools/clangbackend/source/sourcerange.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/clangbackend/source/sourcerange.h b/src/tools/clangbackend/source/sourcerange.h
index e21f32e9a6..9cef453b92 100644
--- a/src/tools/clangbackend/source/sourcerange.h
+++ b/src/tools/clangbackend/source/sourcerange.h
@@ -37,6 +37,7 @@ class SourceRange
friend class FixIt;
friend class Cursor;
friend bool operator==(const SourceRange &first, const SourceRange &second);
+ friend std::ostream &operator<<(std::ostream &os, const SourceRange &sourceRange);
public:
SourceRange();
@@ -63,6 +64,4 @@ private:
CXTranslationUnit cxTranslationUnit = nullptr;
};
-bool operator==(const SourceRange &first, const SourceRange &second);
-std::ostream &operator<<(std::ostream &os, const SourceRange &sourceRange);
} // namespace ClangBackEnd