This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Report an error message on a missing comma
ClosedPublic

Authored by arichardson on Apr 9 2021, 4:27 AM.

Details

Summary

I recently forgot a comma in a defm argument list and tablegen just
failed with exit code 1 without printing an error message. I believe
this issue was introduced in a9fc44c5573208859c2550382755098d750fc47d.

This change prints the following instead:
.../clang/include/clang/Driver/Options.td:569:3: error: Expected comma before next argument

Diff Detail

Event Timeline

arichardson created this revision.Apr 9 2021, 4:27 AM
arichardson requested review of this revision.Apr 9 2021, 4:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2021, 4:27 AM

Yep, this was my mistake. Thanks for fixing it.

Looks good to me.

This revision is now accepted and ready to land.Apr 9 2021, 5:46 AM
This revision was automatically updated to reflect the committed changes.