This is an archive of the discontinued LLVM Phabricator instance.

Fix layering issue by moving AliasScopeNode from ScopedNoAliasAA.h to Metadata.h
AbandonedPublic

Authored by modimo on Dec 3 2020, 11:02 AM.

Details

Reviewers
MaskRay
Summary

@MaskRay pointed out that having Metadata.h include ScopedNoAliasAA.h introduces a layering issue. The fix is
to move the declaration of AliasScopeNode to Metadata.h which is already included by ScopedNoAliasAA.cpp and remove Metadata.h
including ScopedNoAliasAA.h

Diff Detail