[PATCH] D100854: [TableGen] Change assertion information from a tuple to a struct [NFC]

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 07:26:40 PDT 2021


Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, jansvoboda11, dblaikie, craig.topper.
Herald added a subscriber: hiraditya.
Paul-C-Anagnostopoulos requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This revision changes the representation of assertion information from a tuple to a struct. Assertion information is collected from 'assert' statements.

It makes the code easier to read.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100854

Files:
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TGParser.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100854.338861.patch
Type: text/x-patch
Size: 6084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/d7d5ebbb/attachment.bin>


More information about the llvm-commits mailing list