HomePhabricator

[clang][AST] Encapsulate DeclarationNameLoc, NFCI

Authored by miyuki on Jan 27 2021, 3:21 AM.

Description

[clang][AST] Encapsulate DeclarationNameLoc, NFCI

This change makes DeclarationNameLoc a proper class and refactors its
users to use getter methods instead of accessing the members directly.
The change also makes DeclarationNameLoc immutable (i.e., it cannot
be modified once constructed).

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D94596

Details

Committed
miyukiJan 27 2021, 3:21 AM
Reviewer
aprantl
Differential Revision
D94596: [clang][AST] Encapsulate DeclarationNameLoc, NFCI
Parents
rG48ecba350ed6: [MachineLICM][MachineSink] Move SinkIntoLoop to MachineSink.
Branches
Unknown
Tags
Unknown