This is an archive of the discontinued LLVM Phabricator instance.

[llvm-rc] Fix DIALOG(EX) parsing ability. [5/8]
ClosedPublic

Authored by mnbvmar on Aug 29 2017, 1:00 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

mnbvmar created this revision.Aug 29 2017, 1:00 PM
rnk accepted this revision.Aug 29 2017, 1:01 PM

lgtm

This revision is now accepted and ready to land.Aug 29 2017, 1:01 PM
zturner added inline comments.Aug 29 2017, 1:02 PM
llvm/tools/llvm-rc/ResourceScriptParser.cpp
333 ↗(On Diff #113140)

Just use if (!Control::SupportedCtrls.contains_lower(*ClassResult))

or better yet, add a function so that you can write if (!Control::isSupported(*ClassResult)) so you don't make this mistake again.

This revision was automatically updated to reflect the committed changes.