================
@@ -329,6 +329,43 @@ bool VocabStorage::const_iterator::operator!=(
return !(*this == Other);
}
+Error VocabStorage::parseVocabSection(StringRef Key,
+ const json::Value &ParsedVocabValue,
+ VocabMap &TargetVocab, unsigned &Dim) {
+ json::Path::Root Path("");
----------------
svkeerthy wrote:
That's what I am trying to do.. moving it to VocabStorage can help us use this
method in both IR and MIR vocabulary. (Will push it as a separate NFC as you
mentioned in earlier comment)
https://github.com/llvm/llvm-project/pull/161463
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits