Files
swift-mirror/test/SymbolGraph/Symbols/DocComment/NoDocComment.swift
Ashley Garland 5b6becf186 [SymbolGraph] Omit empty docComment fields
rdar://59500543
2020-03-10 19:37:39 -07:00

9 lines
345 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-build-swift %s -module-name NoDocComment -emit-module-path %t/NoDocComment.swiftmodule
// RUN: %target-swift-symbolgraph-extract -module-name NoDocComment -I %t -pretty-print -output-dir %t
// RUN: %FileCheck %s --input-file %t/NoDocComment.symbols.json
public struct S {}
// CHECK-NOT: docComment