[llvm] [TableGen] Add support for emitting new function definition to return a range of results for Primary Key (PR #96174)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 08:57:05 PDT 2024


================
@@ -848,7 +884,7 @@ void SearchableTableEmitter::run(raw_ostream &OS) {
       std::string Name =
           (Twine("lookup") + Table->CppTypeName + "By" + Field).str();
       Table->Indices.push_back(parseSearchIndex(*Table, Class->getValue(Field),
-                                                Name, {Field}, false));
+                                                Name, {Field}, false, false));
----------------
topperc wrote:

Label these two `false` values with an inline comment.

https://github.com/llvm/llvm-project/pull/96174


More information about the llvm-commits mailing list