This adds the parsing ability to the llvm-rc tool. Currently, it can parse a limited amount of RC statements/resources, but the other ones can be easily added to the tool.
Note that this revision is build on top of D35957.
Differential D36340
[llvm-rc] Add .rc scripts parser. mnbvmar on Aug 4 2017, 2:35 PM. Authored by
Details
This adds the parsing ability to the llvm-rc tool. Currently, it can parse a limited amount of RC statements/resources, but the other ones can be easily added to the tool. Note that this revision is build on top of D35957.
Diff Detail
Event Timeline
Comment Actions Code rewritten a little bit. Now, functions return objects instead of pointers to them. This will make the code more readable. Either now takes also a base result class T and returns unique_ptr<T> (possibly upcasted from the created object). This way, we get dynamic polymorphism "for free." Comment Actions Parser rewritten to a single non-templated class. The new patch supports the same set of resources as before.
Comment Actions This looks MUCH better. Thanks
|
node is a strange name for a namespace. Is this used anywhere else? What about rc?