diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-03 19:46:44 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-03 19:46:44 +0000 |
commit | 778627a0107d7fdb2fc00a01fd4704b38d02654f (patch) | |
tree | 46e98a42bac5a9a7e9433536bce03940c0724f18 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 93f33235e532fc3fec7bbb61d1012d42681d9075 (diff) | |
download | llvm-778627a0107d7fdb2fc00a01fd4704b38d02654f.zip llvm-778627a0107d7fdb2fc00a01fd4704b38d02654f.tar.gz llvm-778627a0107d7fdb2fc00a01fd4704b38d02654f.tar.bz2 |
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)
llvm-svn: 183149
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions