diff options
Diffstat (limited to 'llvm/lib/TableGen/TGParser.h')
-rw-r--r-- | llvm/lib/TableGen/TGParser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/TGParser.h b/llvm/lib/TableGen/TGParser.h index b4407041908..739d9a9c5f3 100644 --- a/llvm/lib/TableGen/TGParser.h +++ b/llvm/lib/TableGen/TGParser.h @@ -105,10 +105,10 @@ public: private: // Semantic analysis methods. bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, - const std::vector<unsigned> &BitList, Init *V, + ArrayRef<unsigned> BitList, Init *V, bool AllowSelfAssignment = false); bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, - const std::vector<unsigned> &BitList, Init *V, + ArrayRef<unsigned> BitList, Init *V, bool AllowSelfAssignment = false) { return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V, AllowSelfAssignment); |