Files
swift-mirror/test/1_stdlib/Inputs/Mirror/Mirror.h
Dave Abrahams 7b065529a9 [stdlib] Default mirror should hide ObjC ivars
Some Foundation classes lie about their ivars, which would crash a
mirror; make sure we are not automatically exposing ivars of Objective-C
classes from the default mirror implementation.

Addresses <rdar://problem/20320302>

Swift SVN r26834
2015-04-01 22:53:35 +00:00

21 lines
684 B
Objective-C

//===--- Mirror.h ---------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_TEST_1_STDLIB_INPUTS_MIRROR_H
#define SWIFT_TEST_1_STDLIB_INPUTS_MIRROR_H
#include <Foundation/NSObject.h>
@interface HasIVars : NSObject
@end
#endif