<commit_before>// RUN: %target-swift-ide-test -print-module -module-to-print=DefaultedTemplateTypeParameter -I %S/Inputs -source-filename=x -enable-cxx-interop | %FileCheck %s

// CHECK: struct X {
// CHECK:   init<T>(_: T)
// CHECK:   init()
// CHECK: }

// CHECK: func defaultedTemplateTypeParam()
// CHECK: func defaultedTemplateTypeParamUsedInArgs<T>(_: T)
// CHECK: func defaultedTemplateTypeParamUsedInReturn<T>() -> T
// CHECK: func defaultedTemplateTypeParamAndDefaultedParam<T>(_: T)
// CHECK: func functionTemplateWithDefaultedParam<T>(_: T)
// CHECK: func defaultedTemplateTypeParamUsedInSignatureAndUnrealtedParam<T>(_: Int32, _: T)
// CHECK: func defaultedTemplateTypeParamAndUnrealtedParam(_: Int32)
// CHECK: func overloadedDefaultedTemplate<T>(_: T)
// CHECK: func overloadedDefaultedTemplate(_: Int32)
// CHECK: func defaultedTemplateReferenceTypeParam<T>(_ t: UnsafeMutablePointer<T>)
// The following types aren't imported correctly, but that does not have to do
// with the fact that the template type paramaters are defaulted.
// CHECK: func defaultedTemplatePointerTypeParam<T>(_ t: OpaquePointer!)
// CHECK: func defaultedTemplatePointerReferenceTypeParam<T>(_ t: inout OpaquePointer!)
// CHECK: func defaultedTemplatePointerPointerTypeParam<T>(_ t: UnsafeMutablePointer<OpaquePointer?>!)<commit_msg>fixing tests for defaults when pointer is imported<commit_after>// RUN: %target-swift-ide-test -print-module -module-to-print=DefaultedTemplateTypeParameter -I %S/Inputs -source-filename=x -enable-cxx-interop | %FileCheck %s

// CHECK: struct X {
// CHECK:   init<T>(_: T)
// CHECK:   init()
// CHECK: }

// CHECK: func defaultedTemplateTypeParam()
// CHECK: func defaultedTemplateTypeParamUsedInArgs<T>(_: T)
// CHECK: func defaultedTemplateTypeParamUsedInReturn<T>() -> T
// CHECK: func defaultedTemplateTypeParamAndDefaultedParam<T>(_: T)
// CHECK: func functionTemplateWithDefaultedParam<T>(_: T)
// CHECK: func defaultedTemplateTypeParamUsedInSignatureAndUnrealtedParam<T>(_: Int32, _: T)
// CHECK: func defaultedTemplateTypeParamAndUnrealtedParam(_: Int32)
// CHECK: func overloadedDefaultedTemplate<T>(_: T)
// CHECK: func overloadedDefaultedTemplate(_: Int32)
// CHECK: func defaultedTemplateReferenceTypeParam<T>(_ t: UnsafeMutablePointer<T>)
// The following types aren't imported correctly, but that does not have to do
// with the fact that the template type paramaters are defaulted.
// CHECK: func defaultedTemplatePointerTypeParam<T>(_ t: UnsafeMutablePointer<T>)
// CHECK: func defaultedTemplatePointerReferenceTypeParam<T>(_ t: inout OpaquePointer!)
// CHECK: func defaultedTemplatePointerPointerTypeParam<T>(_ t: UnsafeMutablePointer<OpaquePointer?>!)
{'fraction_non_alphanumeric': 0.12221396731054977, 'fraction_numerical': 0.004457652303120356, 'mean_word_length': 6.086842105263158, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5714929', 'n_tokens_mistral': 826, 'n_tokens_neox': 794, 'n_words': 206}