diff options
| author | 2019-06-23 21:36:31 +0000 | |
|---|---|---|
| committer | 2019-06-23 21:36:31 +0000 | |
| commit | 23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch) | |
| tree | f7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp | |
| parent | sort previous; ok deraadt (diff) | |
| download | wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip | |
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp b/gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp index 01ad3a27721..a7725f9dd97 100644 --- a/gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp +++ b/gnu/llvm/tools/clang/lib/Index/IndexDecl.cpp @@ -263,7 +263,7 @@ public: } else if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(D)) { if (auto TypeNameInfo = Dtor->getNameInfo().getNamedTypeInfo()) { IndexCtx.handleReference(Dtor->getParent(), - TypeNameInfo->getTypeLoc().getLocStart(), + TypeNameInfo->getTypeLoc().getBeginLoc(), Dtor->getParent(), Dtor->getDeclContext()); } } else if (const auto *Guide = dyn_cast<CXXDeductionGuideDecl>(D)) { |
