This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix apparent typo in clang/test/Driver/std.c
ClosedPublic

Authored by DanielMcIntosh-IBM on Mar 2 2021, 12:50 PM.

Details

Summary

Currently the test on line 3 is identical to the test on line 1.
Looking at the rest of the file (particularily the use of FOVERRIDE
as the check-prefix), I think it's pretty clear that this line
was supposed to use -ftrigraphs instead of -trigraphs.

Diff Detail

Event Timeline

DanielMcIntosh-IBM requested review of this revision.Mar 2 2021, 12:50 PM
DanielMcIntosh-IBM created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2021, 12:50 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
thakis accepted this revision.Mar 2 2021, 4:47 PM

I have no memories of this file, but I agree with your analysis :) Thanks for the fix!

This revision is now accepted and ready to land.Mar 2 2021, 4:47 PM
This revision was landed with ongoing or failed builds.Mar 3 2021, 7:32 AM
This revision was automatically updated to reflect the committed changes.