]> granicus.if.org Git - clang/commit
[libclang] For CXXOperatorCallExprs, give a valid source location to the DeclRefExpr
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 8 Feb 2012 01:21:13 +0000 (01:21 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 8 Feb 2012 01:21:13 +0000 (01:21 +0000)
commit46e75477bd24a703da11d354587c9bea69d6888f
tree1d675c793969bcd6117dd0dee739a265f55a21dc
parent82848c26c896d46c0b98e1776a7781e754a8ee25
[libclang] For CXXOperatorCallExprs, give a valid source location to the DeclRefExpr
that is referencing the member function, so we can index the referenced function.

Fixes rdar://10762375&10324915 & http://llvm.org/PR11192

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150033 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclarationName.h
lib/Sema/SemaOverload.cpp
test/Index/annotate-tokens.cpp
test/Index/index-refs.cpp
test/Index/recursive-cxx-member-calls.cpp
tools/libclang/IndexBody.cpp