diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-11-15 21:43:28 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-11-15 21:43:28 +0000 |
commit | 9c0e1ec7b3afd833c1b958ce2aeedff71c7eb4c5 (patch) | |
tree | 640f65202776cfd54d06eb35121ea25422b0f1be /lib/Sema/Sema.cpp | |
parent | b86b8dc7ef89405205f94635c1073cdb1a7093eb (diff) |
Fixed plausible overloads location.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index b8dec3cb6b..e3d1ff779a 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -968,7 +968,7 @@ static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads, } NamedDecl *Fn = (*It)->getUnderlyingDecl(); - S.Diag(Fn->getLocStart(), diag::note_possible_target_of_call); + S.Diag(Fn->getLocation(), diag::note_possible_target_of_call); ++ShownOverloads; } |