This is an archive of the discontinued LLVM Phabricator instance.

[flang][nfc] Rename `AddOtherOptions` as `ForwardOptions`
ClosedPublic

Authored by awarzynski on Jul 19 2022, 5:04 AM.

Details

Summary

The updated name better reflects what this hook is intended for.

Diff Detail

Event Timeline

awarzynski created this revision.Jul 19 2022, 5:04 AM
Herald added a project: Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.Jul 19 2022, 5:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2022, 5:04 AM
tarunprabhu accepted this revision.Jul 19 2022, 6:29 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Jul 19 2022, 6:29 AM

forwardOptions will be better if you are renaming it anyway.

forwardOptions will be better if you are renaming it anyway.

I'd rather create a separate patch and update all other methods to follow LLVM's style. Any idea why the style is not followed in Clang.h?

forwardOptions will be better if you are renaming it anyway.

I'd rather create a separate patch and update all other methods to follow LLVM's style. Any idea why the style is not followed in Clang.h?

Clang is traditionally unfortunately very inconsistent in the code style.... When you add new functions, you don't necessarily follow the Clang tradition ;-)

forwardOptions will be better if you are renaming it anyway.

I'd rather create a separate patch and update all other methods to follow LLVM's style. Any idea why the style is not followed in Clang.h?

Clang is traditionally unfortunately very inconsistent in the code style.... When you add new functions, you don't necessarily follow the Clang tradition ;-)

That's a good point :) In fact, let me update other methods in this file as well.

Change from CamelCase to camelCase in Flang.h so that the function names adhere to LLVM's coding style.

This revision was landed with ongoing or failed builds.Oct 14 2022, 9:20 AM
This revision was automatically updated to reflect the committed changes.