]> granicus.if.org Git - llvm/commit
[llvm-rc] Serialize DIALOG(EX) to .res files (serialization, pt 4).
authorMarek Sokolowski <mnbvmar@gmail.com>
Sat, 30 Sep 2017 00:38:52 +0000 (00:38 +0000)
committerMarek Sokolowski <mnbvmar@gmail.com>
Sat, 30 Sep 2017 00:38:52 +0000 (00:38 +0000)
commitbbf12f304bdfc6880c2ecd1f53f1a8a45e66d617
treed2bb2045bae0024eadb3561a9bd3e35f7876b542
parent9721275d8de6010fa2238a205e9d9596fe941c19
[llvm-rc] Serialize DIALOG(EX) to .res files (serialization, pt 4).

This is now able to serialize DIALOG and DIALOGEX resources to .res
files. It still can't parse dialog-specific CAPTION, FONT, and STYLE
optional statement - these will be added in the following patch.

A limited set of controls is included. However, more can be easily added
by extending SupportedCtls map defined in ResourceScriptStmt.cpp.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314578 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-coord-neg.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-coord.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-id.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-ref-id.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-size.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-ctl-negative-size.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-large-coord-neg.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-large-coord.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-large-size.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog-negative-size.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/tag-dialog.rc [new file with mode: 0644]
test/tools/llvm-rc/tag-dialog.test [new file with mode: 0644]
tools/llvm-rc/ResourceFileWriter.cpp
tools/llvm-rc/ResourceFileWriter.h
tools/llvm-rc/ResourceScriptParser.cpp
tools/llvm-rc/ResourceScriptStmt.cpp
tools/llvm-rc/ResourceScriptStmt.h
tools/llvm-rc/ResourceVisitor.h