aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2022-05-13 13:36:05 +0200
committerAaron Puchert <aaron.puchert@sap.com>2022-05-13 13:48:46 +0200
commit99d35826a043916b259a0e440a2aa5cabbad2773 (patch)
treec409f4631544eec371f154947d0240d59d2d6449 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent562ce15924560d14f7062173cbdc6a9cd778e2eb (diff)
downloadllvm-99d35826a043916b259a0e440a2aa5cabbad2773.zip
llvm-99d35826a043916b259a0e440a2aa5cabbad2773.tar.gz
llvm-99d35826a043916b259a0e440a2aa5cabbad2773.tar.bz2
Comment parsing: Specify argument numbers for some block commands
The command traits have a member NumArgs for which all the parsing infrastructure is in place, but no command was setting it to a value other than 0. By doing so we get warnings when passing an empty paragraph to \retval (the first argument is the return value, then comes the description). We also take \xrefitem along for the ride, although as the documentation states it's unlikely to be used directly. Reviewed By: gribozavr2 Differential Revision: https://reviews.llvm.org/D125422
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions