This is an archive of the discontinued LLVM Phabricator instance.

[ms] [llvm-ml] Fix macro case-insensitivity
ClosedPublic

Authored by epastor on Jul 21 2021, 8:53 AM.

Details

Summary

We previously had issues identifying macros not registered with a lowercase name.

Diff Detail

Event Timeline

epastor created this revision.Jul 21 2021, 8:53 AM
epastor requested review of this revision.Jul 21 2021, 8:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2021, 8:53 AM

LGTM. I presume the test changes are for consistency, making all macros camelcased, and the substitution on line 68 is the only one actually exercising the change.

Would it be good to try a substitution with all lower case too?

mstorsjo accepted this revision.Jul 21 2021, 11:45 PM

(Accepting the revision too.)

This revision is now accepted and ready to land.Jul 21 2021, 11:45 PM
thakis accepted this revision.Jul 22 2021, 8:47 AM
epastor updated this revision to Diff 360880.Jul 22 2021, 10:44 AM

Add all-lowercase test for a mixed-case macro

epastor updated this revision to Diff 360927.Jul 22 2021, 12:30 PM

Fix copy/paste error in test label

This revision was landed with ongoing or failed builds.Jul 22 2021, 12:51 PM
This revision was automatically updated to reflect the committed changes.