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 | b3b0b8034c60c382516448cea0abacdbdff8bc8b (patch) | |
tree | da279943315e3d177a8b4aeba077c362f061db4f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | cd60ed53f6069a79312d31e27298990bd6486436 (diff) | |
download | llvm-b3b0b8034c60c382516448cea0abacdbdff8bc8b.zip llvm-b3b0b8034c60c382516448cea0abacdbdff8bc8b.tar.gz llvm-b3b0b8034c60c382516448cea0abacdbdff8bc8b.tar.bz2 |
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
llvm-svn: 211344
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions