This is an archive of the discontinued LLVM Phabricator instance.

[clang] Remove CLANG_ROUND_TRIP_CC1_ARGS and always roundtrip in +assert builds
ClosedPublic

Authored by thakis on Nov 17 2021, 1:35 PM.

Details

Summary

This removes the ability to disable roundtripping in assert builds.
(Roundtripping happens by default in assert builds both before and after
this patch.)

The CLANG_ROUND_TRIP_CC1_ARGS was added as an escape hatch 9 months ago
in https://reviews.llvm.org/D97462, with a FIXME to remove it eventually.
It's probably time to remove it.

Diff Detail

Event Timeline

thakis created this revision.Nov 17 2021, 1:35 PM
thakis requested review of this revision.Nov 17 2021, 1:35 PM

SGTM; I'll let @jansvoboda11 confirm though.

jansvoboda11 accepted this revision.Nov 17 2021, 11:16 PM

LGTM, thanks!

This revision is now accepted and ready to land.Nov 17 2021, 11:16 PM
jansvoboda11 added inline comments.Nov 18 2021, 1:51 AM
clang/lib/Frontend/CompilerInvocation.cpp
614–615

Can you also update this comment that menions CLANG_ROUND_TRIP_CC1_ARGS?

thakis marked an inline comment as done.Nov 18 2021, 5:31 AM
thakis added inline comments.
clang/lib/Frontend/CompilerInvocation.cpp
614–615

Done, thanks!

This revision was automatically updated to reflect the committed changes.
thakis marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2021, 5:31 AM