This is an archive of the discontinued LLVM Phabricator instance.

[clang][NFC] Tighten up code for GetGlobalVarAddressSpace
ClosedPublic

Authored by wingo on Aug 20 2021, 12:48 AM.

Details

Summary

The LangAS local is only used in the OpenCL case; move its decl
inwards.

Diff Detail

Event Timeline

wingo created this revision.Aug 20 2021, 12:48 AM
wingo requested review of this revision.Aug 20 2021, 12:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2021, 12:48 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Just a drive-by cleanup while poking other address-space-related things.

Anastasia accepted this revision.Aug 23 2021, 2:38 AM

LGTM! Thanks

This revision is now accepted and ready to land.Aug 23 2021, 2:38 AM
This revision was landed with ongoing or failed builds.Aug 23 2021, 6:08 AM
This revision was automatically updated to reflect the committed changes.