summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-11-23 11:28:58 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-11-23 11:28:58 +0000
commit972e3480e2fb322d7232c98e5e2e9d3b6cd017b6 (patch)
tree171420e8d23bc89b176ddfa082871f86c7bbc7c4 /llvm
parent2d1e9a6f6b34be745ccebfa48fe803afac0e8540 (diff)
downloadbcm5719-llvm-972e3480e2fb322d7232c98e5e2e9d3b6cd017b6.tar.gz
bcm5719-llvm-972e3480e2fb322d7232c98e5e2e9d3b6cd017b6.zip
Attempt to fix buildbot after r347489
llvm-svn: 347492
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 165d01dc8b4..bcc881926bb 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -7972,7 +7972,7 @@ bool LLParser::ParseOptionalRefs(std::vector<ValueInfo> &Refs) {
// Sort value contexts so that ones with readonly ValueInfo are at the end
// of VContexts vector. This is needed to match immutableRefCount() behavior.
- llvm::sort(VContexts, [](ValueContext &VC1, ValueContext &VC2) {
+ llvm::sort(VContexts, [](const ValueContext &VC1, const ValueContext &VC2) {
return VC1.VI.isReadOnly() < VC2.VI.isReadOnly();
});
OpenPOWER on IntegriCloud