summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptParser.h
diff options
context:
space:
mode:
authorMarek Sokolowski <mnbvmar@gmail.com>2017-09-29 00:14:18 +0000
committerMarek Sokolowski <mnbvmar@gmail.com>2017-09-29 00:14:18 +0000
commitb5f39a05a329534979572781b10326c60b0bdc9e (patch)
tree2aa8ae30a9e0fd36c1c4bcf0fa044298abeefd8a /llvm/tools/llvm-rc/ResourceScriptParser.h
parent7e89ee7fdc428900dd362703e80d4644b28058f7 (diff)
downloadbcm5719-llvm-b5f39a05a329534979572781b10326c60b0bdc9e.tar.gz
bcm5719-llvm-b5f39a05a329534979572781b10326c60b0bdc9e.zip
[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 llvm-svn: 314478
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.h')
-rw-r--r--llvm/tools/llvm-rc/ResourceScriptParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-rc/ResourceScriptParser.h b/llvm/tools/llvm-rc/ResourceScriptParser.h
index 56042f79d5f..7509b8e9066 100644
--- a/llvm/tools/llvm-rc/ResourceScriptParser.h
+++ b/llvm/tools/llvm-rc/ResourceScriptParser.h
@@ -139,6 +139,7 @@ private:
ParseType parseHTMLResource();
ParseType parseMenuResource();
ParseType parseStringTableResource();
+ ParseType parseUserDefinedResource(IntOrString Type);
ParseType parseVersionInfoResource();
// Helper DIALOG parser - a single control.
OpenPOWER on IntegriCloud