llvm-project/llvm/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
..
CMakeLists.txt
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Opts.td
ResourceFileWriter.cpp [llvm-rc] Allow -1 for menu item IDs 2020-03-28 14:32:08 +02:00
ResourceFileWriter.h llvm-rc - fix uninitialized variable warnings. NFC. 2019-11-18 13:26:50 +00:00
ResourceScriptCppFilter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceScriptCppFilter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceScriptParser.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ResourceScriptParser.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceScriptStmt.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceScriptStmt.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
ResourceScriptToken.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ResourceScriptToken.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceScriptTokenList.def Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourceVisitor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm-rc.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00