summaryrefslogtreecommitdiffstats
path: root/clang/tools/CIndex/CXSourceLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/CIndex/CXSourceLocation.h')
-rw-r--r--clang/tools/CIndex/CXSourceLocation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/CIndex/CXSourceLocation.h b/clang/tools/CIndex/CXSourceLocation.h
index 0eab273c35a..1f15f0832cc 100644
--- a/clang/tools/CIndex/CXSourceLocation.h
+++ b/clang/tools/CIndex/CXSourceLocation.h
@@ -38,8 +38,8 @@ static inline CXSourceLocation translateSourceLocation(ASTContext &Context,
static inline CXSourceRange translateSourceRange(ASTContext &Context,
SourceRange R) {
CXSourceRange Result = { &Context,
- R.getBegin().getRawEncoding(),
- R.getEnd().getRawEncoding() };
+ R.getBegin().getRawEncoding(),
+ R.getEnd().getRawEncoding() };
return Result;
}
OpenPOWER on IntegriCloud