Skip to content
Commit bd59b489 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[Parser][ObjC] Make sure c++11 in-class initialization is done when the

constructor's definition is in an implementation block.

Without this commit, ptr doesn't get initialized to null in the
following code:

struct S {
  S();
  void *ptr = nullptr;
};

@implementation I
  S::S() {}
@end

rdar://problem/25693624

llvm-svn: 266645
parent 05164816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment