summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-03 19:46:44 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-03 19:46:44 +0000
commit16b0a310f5649d25849d84409841f401e7a9a0e5 (patch)
treeb90a05c793bdbf612a96d15c67adcf18536f1e7c /lib/CodeGen/CGExprConstant.cpp
parentc69e1733cdcf74cde52f596310dd8d07eb28e585 (diff)
downloadclang-16b0a310f5649d25849d84409841f401e7a9a0e5.tar.gz
clang-16b0a310f5649d25849d84409841f401e7a9a0e5.tar.bz2
clang-16b0a310f5649d25849d84409841f401e7a9a0e5.tar.xz
UnresolvedMemberExpr should have an expr location of the member (not the base)
This matches the behavior of MemberExpr and makes diagnostics such as "reference to non-static member function must be called" more legible in the case that the base & member are split over multiple lines (prior to this change the diagnostic would point to the base, not the member - making it very unclear in chained multi-line builder-style calls) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions