diff options
author | Daniel Jasper <djasper@google.com> | 2014-06-20 08:44:22 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2014-06-20 08:44:22 +0000 |
commit | 912088d40a7b0a0b2bddb641a7a583116126c68f (patch) | |
tree | 9c894667b1d0461bad574cfd18a75b1777a499b5 /tools | |
parent | ad5b6350d810c01b57661a37f296f2c1803588e5 (diff) | |
download | clang-912088d40a7b0a0b2bddb641a7a583116126c68f.tar.gz clang-912088d40a7b0a0b2bddb641a7a583116126c68f.tar.bz2 clang-912088d40a7b0a0b2bddb641a7a583116126c68f.tar.xz |
Fix/Improve SourceRange of explicitly defaulted members
When adding the implicit compound statement (required for Codegen?), the
end location was previously overridden by the start location, probably
based on the assumptions:
* The location of the compound statement should be the member's location
* The compound statement if present is the last element of a FunctionDecl
This patch changes the location of the compound statement to the
member's end location.
Code review: http://reviews.llvm.org/D4175
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions