Rename translateSourceRange(CXSourceRange) translateCXSourceRange, instead of
having overloaded functions with inverse semantics.
llvm-svn: 96155
diff --git a/clang/tools/CIndex/CXSourceLocation.h b/clang/tools/CIndex/CXSourceLocation.h
index 1efe4c6..8bfc6f9 100644
--- a/clang/tools/CIndex/CXSourceLocation.h
+++ b/clang/tools/CIndex/CXSourceLocation.h
@@ -65,7 +65,7 @@
return SourceLocation::getFromRawEncoding(L.int_data);
}
-static inline SourceRange translateSourceRange(CXSourceRange R) {
+static inline SourceRange translateCXSourceRange(CXSourceRange R) {
return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
SourceLocation::getFromRawEncoding(R.end_int_data));
}