[llvm-rc] Add VERSIONINFO parsing ability. [6/8]
authorMarek Sokolowski <mnbvmar@gmail.com>
Thu, 28 Sep 2017 22:41:38 +0000 (22:41 +0000)
committerMarek Sokolowski <mnbvmar@gmail.com>
Thu, 28 Sep 2017 22:41:38 +0000 (22:41 +0000)
commitfb74cb1edfa64424fb5204d10a16892f972435ed
tree7d957908f643f7220954015652c2509e3a963683
parent3b87336a0c4e7974c007d489926e5e1bcf722a75
[llvm-rc] Add VERSIONINFO parsing ability. [6/8]

This extends the set of llvm-rc parser's available resources by
another one, VERSIONINFO.

Ref: msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx

Thanks to Nico Weber for his original work in this area.

Differential Revision: https://reviews.llvm.org/D37021

llvm-svn: 314468
12 files changed:
llvm/test/tools/llvm-rc/Inputs/parser-correct-everything.rc
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-bad-type.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-named-main-block.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-repeated-fixed.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-unnamed-inner-block.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-unnamed-value.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-wrong-fixed.rc [new file with mode: 0644]
llvm/test/tools/llvm-rc/parser.test
llvm/tools/llvm-rc/ResourceScriptParser.cpp
llvm/tools/llvm-rc/ResourceScriptParser.h
llvm/tools/llvm-rc/ResourceScriptStmt.cpp
llvm/tools/llvm-rc/ResourceScriptStmt.h