This is an archive of the discontinued LLVM Phabricator instance.

[AST] Small doc update for DeclContext
ClosedPublic

Authored by bricci on Jul 25 2018, 5:25 AM.

Details

Summary

Factored out from https://reviews.llvm.org/D49729
following @erichkeane comments.

  • Add missing classes in the list of classes deriving directly from DeclContext.
  • Move the friend declarations together and add a comment for why they are required.

Diff Detail

Repository
rC Clang

Event Timeline

bricci created this revision.Jul 25 2018, 5:25 AM
bricci edited the summary of this revision. (Show Details)Jul 25 2018, 5:30 AM
bricci edited the summary of this revision. (Show Details)
erichkeane accepted this revision.Jul 25 2018, 5:58 AM
This revision is now accepted and ready to land.Jul 25 2018, 5:58 AM
bricci updated this revision to Diff 157505.Jul 26 2018, 9:41 AM
bricci edited the summary of this revision. (Show Details)

Re-added the "friend class ASTWriter" after making
hasNeedToReconcileExternalVisibleStorage, hasLazyLocalLexicalLookups
and hasLazyExternalLexicalLookups in DeclContext private.

This match the original situation where HasNeedToReconcileExternalVisibleStorage,
HasLazyLocalLexicalLookups and HasLazyLocalLexicalLookups in DeclContext
were private. This now depends on https://reviews.llvm.org/D49729

This revision was automatically updated to reflect the committed changes.