forked from OSchip/llvm-project
BitcodeReader::popValue - pass SmallVectorImpl<> as const reference. NFCI.
Fixes cppcheck warning.
This commit is contained in:
parent
71bf9f07d5
commit
5bf45ee156
|
@ -676,7 +676,7 @@ private:
|
|||
/// Read a value out of the specified record from slot 'Slot'. Increment Slot
|
||||
/// past the number of slots used by the value in the record. Return true if
|
||||
/// there is an error.
|
||||
bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot,
|
||||
bool popValue(const SmallVectorImpl<uint64_t> &Record, unsigned &Slot,
|
||||
unsigned InstNum, Type *Ty, Value *&ResVal) {
|
||||
if (getValue(Record, Slot, InstNum, Ty, ResVal))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue