summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-05-09 18:20:49 +0000
committerMartin Storsjo <martin@martin.st>2018-05-09 18:20:49 +0000
commitc1a67857ba0a6ba558818b589fe7c0fcc8f238ae (patch)
treed78218bbdcfe25836a9d86917d78128728e8af50 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent0ca06f7950e5f08ae06cbadc98bc3622112bc28e (diff)
downloadbcm5719-llvm-c1a67857ba0a6ba558818b589fe7c0fcc8f238ae.tar.gz
bcm5719-llvm-c1a67857ba0a6ba558818b589fe7c0fcc8f238ae.zip
[llvm-rc] Allow -1 for control IDs in old style dialogs with 16 bit fields
-1 is commonly used as ID for controls that one don't want to refer to later. For DIALOG resources, the IDs are 16 bit numbers, and -1 gets interpreted as UINT32_MAX earlier, which then later is too large to write into a uint16_t. Differential Revision: https://reviews.llvm.org/D46506 llvm-svn: 331901
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud