aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-24 23:14:04 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-24 23:14:04 +0000
commit02dde146e09deb425b96f8308d5ec428f352501c (patch)
tree4a3b486244e152dded1dc5c05ae517df832779a7 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentaf2684154fc66d6295635b33b26074c2c3262c5e (diff)
downloadllvm-02dde146e09deb425b96f8308d5ec428f352501c.zip
llvm-02dde146e09deb425b96f8308d5ec428f352501c.tar.gz
llvm-02dde146e09deb425b96f8308d5ec428f352501c.tar.bz2
When returning from a function that has a reference return type, use
EmitReferenceBindingToExpr() rather than assuming we have an lvalue. This is just the lowest hanging fruit for PR6024, which still requires a bit of work. llvm-svn: 99447
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions