diff options
author | Aaron Puchert <aaron.puchert@sap.com> | 2022-05-13 13:37:30 +0200 |
---|---|---|
committer | Aaron Puchert <aaron.puchert@sap.com> | 2022-05-13 13:48:46 +0200 |
commit | d3a4033d6ee1d017e216ff7caeeeb5ca2e18a783 (patch) | |
tree | 5a211b469371a8244f060c2a79adee62ab9f3db8 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 99d35826a043916b259a0e440a2aa5cabbad2773 (diff) | |
download | llvm-d3a4033d6ee1d017e216ff7caeeeb5ca2e18a783.zip llvm-d3a4033d6ee1d017e216ff7caeeeb5ca2e18a783.tar.gz llvm-d3a4033d6ee1d017e216ff7caeeeb5ca2e18a783.tar.bz2 |
Comment parsing: Allow inline commands to have 0 or more than 1 argument
That's required to support `\n`, but can also be used for other commands.
We already had the infrastructure in place to parse a varying number of
arguments, we simply needed to generalize it so that it would work not
only for block commands.
This should fix #55319.
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D125429
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions