[llvm] [Tablegen] Add keywork `dump`. (PR #68793)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 02:14:23 PDT 2023


================
@@ -498,6 +503,18 @@ bool TGParser::resolve(const std::vector<RecordsEntry> &Source,
       else
         CheckAssert(E.Assertion->Loc, Condition, Message);
 
+    } else if (E.Dump) {
+      MapResolver R;
----------------
wangpc-pp wrote:

Sorry for my unclear statements. I meant that we can put `E.Dump` case in the same `if` block of `E.Assertion`.
But it's OK to keep it untouched. :-)

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


More information about the llvm-commits mailing list