This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] always compile with c++14 instead of gnu++14
ClosedPublic

Authored by ye-luo on Jul 22 2021, 8:24 PM.

Details

Summary

Fixes PR 51174. c++14 should be a more portable option than gnu++14.

Diff Detail

Event Timeline

ye-luo created this revision.Jul 22 2021, 8:24 PM
ye-luo requested review of this revision.Jul 22 2021, 8:24 PM

I think that is good, but I'm not quite sure why it favors gnu++14 instead of c++14 at the first place, though I did the update from 11 to 14, but the logic to use GNU first is not on me.

I think we just move on. If someone really need gnu++14, they must explain the reason and we keep a record in the comment.

tianshilei1992 accepted this revision.Jul 23 2021, 2:21 PM

LGTM. If any issue occurs, we can revise it later.

This revision is now accepted and ready to land.Jul 23 2021, 2:21 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2021, 2:29 PM