summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXSourceLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/libclang/CXSourceLocation.h')
-rw-r--r--clang/tools/libclang/CXSourceLocation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/libclang/CXSourceLocation.h b/clang/tools/libclang/CXSourceLocation.h
index 7a502059634..6c5e858aaae 100644
--- a/clang/tools/libclang/CXSourceLocation.h
+++ b/clang/tools/libclang/CXSourceLocation.h
@@ -41,7 +41,7 @@ translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts,
static inline CXSourceLocation translateSourceLocation(ASTContext &Context,
SourceLocation Loc) {
return translateSourceLocation(Context.getSourceManager(),
- Context.getLangOptions(),
+ Context.getLangOpts(),
Loc);
}
@@ -59,7 +59,7 @@ CXSourceRange translateSourceRange(const SourceManager &SM,
static inline CXSourceRange translateSourceRange(ASTContext &Context,
SourceRange R) {
return translateSourceRange(Context.getSourceManager(),
- Context.getLangOptions(),
+ Context.getLangOpts(),
CharSourceRange::getTokenRange(R));
}
OpenPOWER on IntegriCloud