mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Clean up access note code
• Rename properties for greater consistency with the YAML file • Rename AccessNotes -> AccessNotesFile • Add doc comments • Miscellaneous comment/style improvements.
This commit is contained in:
@@ -250,7 +250,7 @@ private:
|
||||
/// \see EntryPointInfoTy
|
||||
EntryPointInfoTy EntryPointInfo;
|
||||
|
||||
AccessNotes accessNotes;
|
||||
AccessNotesFile accessNotes;
|
||||
|
||||
ModuleDecl(Identifier name, ASTContext &ctx, ImplicitImportInfo importInfo);
|
||||
|
||||
@@ -282,8 +282,8 @@ public:
|
||||
/// imports.
|
||||
ImplicitImportList getImplicitImports() const;
|
||||
|
||||
AccessNotes &getAccessNotes() { return accessNotes; }
|
||||
const AccessNotes &getAccessNotes() const { return accessNotes; }
|
||||
AccessNotesFile &getAccessNotes() { return accessNotes; }
|
||||
const AccessNotesFile &getAccessNotes() const { return accessNotes; }
|
||||
|
||||
ArrayRef<FileUnit *> getFiles() {
|
||||
assert(!Files.empty() || failedToLoad());
|
||||
|
||||
Reference in New Issue
Block a user