-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[Tablegen] Add keyword dump
.
#68793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[Tablegen] Add keyword dump
.
#68793
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
004967c
[Tablegen] Add keywork `dump`.
fpetrogalli 59813e6
Rename var. [NFC]
fpetrogalli 0fab2a6
Update llvm/docs/TableGen/ProgRef.rst
fpetrogalli 71e687d
Update llvm/docs/TableGen/ProgRef.rst
fpetrogalli 6cc1fa7
Update llvm/lib/TableGen/Error.cpp
fpetrogalli 3a1192b
s/CheckDump/dumpMessage
fpetrogalli d4223ea
Use the correct Loc.
fpetrogalli 97187e7
test for warning on not using a string.
fpetrogalli 9c923a5
Print a warning instead of a note if the dump operand is not a string.
fpetrogalli 346574f
Test if/foreach/defvar [NFCI].
fpetrogalli 4d77fc8
Check the use of dump in `class`, even through inhertance.
fpetrogalli cd815df
Test dump on defset.
fpetrogalli 977666e
s/checkRecordDumps/emitRecordDumps/ [NFC]
fpetrogalli 529758f
Update coment in llvm/lib/TableGen/Record.cpp [NFC]
fpetrogalli 3fd5df2
Apply clang-format to latest commit. [NFC]
fpetrogalli 7164ec4
Allow dumping of def and defvar directly.
fpetrogalli 45f067b
Remove unused variable. [NFC]
fpetrogalli 2562922
Enforce dumpMessage to require a StringInit to print.
fpetrogalli 36a00b8
[docs] Explain when the messages are instantiated. [NFC]
fpetrogalli 5ffabf3
Add test case with multiple nested `defm`. [NFC]
fpetrogalli f270615
Fix code formmatting [NFC]
fpetrogalli 3c1f83d
Update docs after review feedback in https://github.com/llvm/llvm-pro…
fpetrogalli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,7 @@ enum TokKind { | |
Defm, | ||
Defset, | ||
Defvar, | ||
Dump, | ||
Foreach, | ||
If, | ||
Let, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.