]> granicus.if.org Git - llvm/commit
[llvm-rc] Add user-defined resources parsing ability. [8/8]
authorMarek Sokolowski <mnbvmar@gmail.com>
Fri, 29 Sep 2017 00:14:18 +0000 (00:14 +0000)
committerMarek Sokolowski <mnbvmar@gmail.com>
Fri, 29 Sep 2017 00:14:18 +0000 (00:14 +0000)
commit0bce04127f10c4f0dc32a7d04029817101ac2f4c
tree81fca630154d3e6e3fcbaf54b493e19236d269b2
parent59066489d76dfc432a88a86e2fdda7f89e8977a5
[llvm-rc] Add user-defined resources parsing ability. [8/8]

This allows llvm-rc to parse user-defined resources (ref:
msdn.microsoft.com/en-us/library/windows/desktop/aa381054.aspx).
These statements either import files, or put the specified raw data in
the resulting resource file.

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314478 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-rc/Inputs/parser-correct-everything.rc
test/tools/llvm-rc/Inputs/parser-user-invalid-contents.rc [new file with mode: 0644]
test/tools/llvm-rc/parser.test
tools/llvm-rc/ResourceScriptParser.cpp
tools/llvm-rc/ResourceScriptParser.h
tools/llvm-rc/ResourceScriptStmt.cpp
tools/llvm-rc/ResourceScriptStmt.h