Do not bind a non-const reference to a rvalue. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Mon, 11 Apr 2016 13:24:29 +0000 (13:24 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 11 Apr 2016 13:24:29 +0000 (13:24 +0000)
commit7071e8b355ddfcb0f62944951da302c32e607f0d
treeea4460186263ef0caeb807d9e32f3cbc1c1bd350
parentc869e9158d975a9dc102160636c9a4739466c457
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
polly/lib/Analysis/ScopInfo.cpp