1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-rc
Martin Storsjö e24fbfb6df [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 c1a67857ba0a6ba558818b589fe7c0fcc8f238ae.

Differential Revision: https://reviews.llvm.org/D76951
2020-03-28 14:32:08 +02:00
..
CMakeLists.txt
llvm-rc.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
LLVMBuild.txt
Opts.td
ResourceFileWriter.cpp [llvm-rc] Allow -1 for menu item IDs 2020-03-28 14:32:08 +02:00
ResourceFileWriter.h
ResourceScriptCppFilter.cpp
ResourceScriptCppFilter.h
ResourceScriptParser.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ResourceScriptParser.h
ResourceScriptStmt.cpp
ResourceScriptStmt.h
ResourceScriptToken.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ResourceScriptToken.h
ResourceScriptTokenList.def
ResourceVisitor.h