aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-12 23:52:36 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-12 23:52:36 +0000
commit54ed6428b4337e1466390fe108c83c97156240d9 (patch)
tree49407d72282d13c34412f46a256ed6c677d3a2f7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentf159a389df95b77eeb32d1d653b2492b0b8b963f (diff)
downloadllvm-54ed6428b4337e1466390fe108c83c97156240d9.zip
llvm-54ed6428b4337e1466390fe108c83c97156240d9.tar.gz
llvm-54ed6428b4337e1466390fe108c83c97156240d9.tar.bz2
[CFG] [analyzer] Don't add construction context to a return-by-reference call.
Call expressions that return objects by an lvalue reference or an rvalue reference have a value type in the AST but wear an auxiliary flag of being an lvalue or an xvalue respectively. Use the helper method for obtaining the actual return type of the function. Fixes a crash. Differential Revision: https://reviews.llvm.org/D44273 llvm-svn: 327352
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions