diff options
Diffstat (limited to 'clang/tools/CIndex/CXSourceLocation.h')
-rw-r--r-- | clang/tools/CIndex/CXSourceLocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/CIndex/CXSourceLocation.h b/clang/tools/CIndex/CXSourceLocation.h index 1efe4c6ee68..8bfc6f9da7a 100644 --- a/clang/tools/CIndex/CXSourceLocation.h +++ b/clang/tools/CIndex/CXSourceLocation.h @@ -65,7 +65,7 @@ static inline SourceLocation translateSourceLocation(CXSourceLocation L) { 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)); } |