diff options
author | Michael Kruse <llvm@meinersbur.de> | 2016-04-11 13:24:29 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2016-04-11 13:24:29 +0000 |
commit | 7071e8b355ddfcb0f62944951da302c32e607f0d (patch) | |
tree | ea4460186263ef0caeb807d9e32f3cbc1c1bd350 /llvm/tools/llvm-as/llvm-as.cpp | |
parent | c869e9158d975a9dc102160636c9a4739466c457 (diff) | |
download | bcm5719-llvm-7071e8b355ddfcb0f62944951da302c32e607f0d.tar.gz bcm5719-llvm-7071e8b355ddfcb0f62944951da302c32e607f0d.zip |
Do not bind a non-const reference to a rvalue. NFC.
MSVC warns with:
warning C4239: nonstandard extension used: 'initializing': conversion from 'llvm::DebugLoc' to 'llvm::DebugLoc &'
note: A non-const reference may only be bound to an lvalue
Change the reference to a const reference.
llvm-svn: 265937
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
0 files changed, 0 insertions, 0 deletions