This is an archive of the discontinued LLVM Phabricator instance.

[Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}
ClosedPublic

Authored by MaskRay on Feb 20 2020, 2:58 PM.

Details

Summary

The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, friendly when navigating files in
an editor, etc).

Diff Detail

Event Timeline

MaskRay created this revision.Feb 20 2020, 2:58 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 20 2020, 2:58 PM
MaskRay updated this revision to Diff 245755.Feb 20 2020, 3:05 PM

Fix a file header

gribozavr2 accepted this revision.Feb 20 2020, 11:24 PM
This revision is now accepted and ready to land.Feb 20 2020, 11:24 PM
nand added a comment.Feb 21 2020, 1:49 AM

Was wondering if `InterpBlock``` might be a more suitable name?

MaskRay updated this revision to Diff 245862.Feb 21 2020, 8:07 AM
MaskRay retitled this revision from [Clang interpreter] Rename Block.{h,cpp} to AllocatedBlock.{h,cpp} to [Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}.

Rename Block.{h,cpp} to InterpBlock.{h,cpp}

This revision was automatically updated to reflect the committed changes.

@gribozavr2 - hey, an annoying quirk of Phabricator is that it doesn't send mail to the mailing list on state changes with no text, which means reviews like these look like tehy were committed without approval (on the mailing list there's no record of the approval). In the future, can you add some comment to your approval ("Looks good", "thanks", etc) to ensure mail is sent to the mailing list to document that approval there?