Files
swift-mirror/test/IDE/Inputs/print_clang_header/header-to-print.h.printed.txt
Hamish Knight 1ffa8eeea4 [ClangImporter] Query Preprocessor::macros instead of getPreprocessingRecord for header printing
This better matches what the clang importer does
normally, avoids a Clang issue where
`getPreprocessedEntitiesInRange` returns incorrect
results, and avoids the need to enable the
preprocessor record. This then lets us re-enable
`print_clang_headers.swift`.

rdar://102151774
2023-05-11 21:10:28 +01:00

33 lines
458 B
Plaintext

import Foundation
import CoreFoundation
import Dispatch
var MY_MACRO: Int32 { get }
var MACRO_DUP: Int32 { get }
func doSomethingInHead(_ arg: Int32)
class BaseInHead {
class func doIt(_ arg: Int32)
func doIt(_ arg: Int32)
}
/// Awesome name.
class SameName {
}
protocol SameNameProtocol {
}
extension BaseInHead {
class func doItInCategory()
func doItInCategory()
}
protocol Superproto {
func lala()
}
class MyLittleCFType : _CFObject {
}