swift
37a2748e - [ASTPrinter] Print SPI by default

Commit
135 days ago
[ASTPrinter] Print SPI by default `PrintOptions.InterfaceContentKind` was not initialized. Set it to `InteraceMode::Private` by default, so SPI declarations and their `@_spi` attribues are printed. This basically restores the behavior before aba3b6c24eca4f68c62f5af5fe551f6245d62601 , and is align with `AccessFilter` being `AccessLevel::Private` by default. rdar://131726756
Author
Committer
Parents
  • include/swift/AST
    • File
      PrintOptions.h
  • test/SourceKit/CursorInfo
    • File
      cursor_spi.swift