This is an archive of the discontinued LLVM Phabricator instance.

Token: complement is() method with isOneOf() to allow easier usage
ClosedPublic

Authored by danielmarjamaki on Jun 11 2015, 2:07 AM.

Details

Reviewers
alexfh
edse
Summary

Add isOneOf() method. This can be used to cleanup conditions that calls is() repeatedly.

Diff Detail

Event Timeline

danielmarjamaki retitled this revision from to Token: complement is() method with isOneOf() to allow easier usage.
danielmarjamaki updated this object.
danielmarjamaki edited the test plan for this revision. (Show Details)
danielmarjamaki added reviewers: edse, alexfh.
danielmarjamaki added a subscriber: Unknown Object (MLST).
alexfh accepted this revision.Jun 11 2015, 2:44 AM
alexfh edited edge metadata.

Looks good. Thanks!

This revision is now accepted and ready to land.Jun 11 2015, 2:44 AM

I committed this into clang in revision 239526