llvm-project/llvm/test/tools/llvm-rc
Martin Storsjö 8330dcadb8 [llvm-rc] Allow -1 for menu item IDs
This seems to be used in some resource files, e.g.
f3217573d7/include/wx/msw/wx.rc (L28).

MSVC rc.exe and GNU windres both allow any value here, and silently
just truncate to uint16_t range. This just explicitly allows the
-1 value and errors out on others - the same was done for control
IDs in dialogs in c1a67857ba.

Differential Revision: https://reviews.llvm.org/D76951
2020-03-28 14:32:08 +02:00
..
Inputs [llvm-rc] Allow -1 for menu item IDs 2020-03-28 14:32:08 +02:00
absolute.test
codepage.test
cpp-output.test
flags.test
helpmsg.test
include-paths.test
memoryflags-stringtable.test
memoryflags.test
not-expr.test
parser-expr.test
parser.test
tag-accelerators.test
tag-dialog.test
tag-escape.test
tag-html.test
tag-icon-cursor.test
tag-menu.test [llvm-rc] Allow -1 for menu item IDs 2020-03-28 14:32:08 +02:00
tag-stringtable.test
tag-user.test
tag-versioninfo.test
tokenizer.test
versioninfo-padding.test