aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-06-20 08:44:22 +0000
committerDaniel Jasper <djasper@google.com>2014-06-20 08:44:22 +0000
commitb3b0b8034c60c382516448cea0abacdbdff8bc8b (patch)
treeda279943315e3d177a8b4aeba077c362f061db4f /clang/lib/CodeGen/CodeGenModule.cpp
parentcd60ed53f6069a79312d31e27298990bd6486436 (diff)
downloadllvm-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