This is an archive of the discontinued LLVM Phabricator instance.

TableGen: support #ifndef in addition to #ifdef
ClosedPublic

Authored by t.p.northover on May 14 2019, 5:24 AM.

Details

Reviewers
nhaehnle
Summary

TableGen's preprocessor currently only supports #ifdef, but we have a situation where #ifndef would be more convenient. So this patch adds support.

Diff Detail

Repository
rL LLVM

Event Timeline

t.p.northover created this revision.May 14 2019, 5:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2019, 5:24 AM
nhaehnle accepted this revision.May 14 2019, 5:55 AM
nhaehnle added a subscriber: nhaehnle.

LGTM

This revision is now accepted and ready to land.May 14 2019, 5:55 AM
t.p.northover closed this revision.May 14 2019, 6:04 AM

Thanks for the quick review Nicolai. Committed as r360670.