diff options
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r-- | clang/lib/Index/USRGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp index b128b69931a..62ae7108fc6 100644 --- a/clang/lib/Index/USRGeneration.cpp +++ b/clang/lib/Index/USRGeneration.cpp @@ -599,7 +599,7 @@ bool USRGenerator::GenLoc(const Decl *D, bool IncludeOffset) { D = D->getCanonicalDecl(); IgnoreResults = - IgnoreResults || printLoc(Out, D->getLocStart(), + IgnoreResults || printLoc(Out, D->getBeginLoc(), Context->getSourceManager(), IncludeOffset); return IgnoreResults; |