diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2017-04-26 05:06:20 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2017-04-26 05:06:20 +0000 |
commit | faaeae5d6e8f047c3583f6d0e2f1441cf4acd9d6 (patch) | |
tree | 79be90c499c999579d9456216cf6a9229efd5a0d /clang/test/Modules/Inputs/objc-desig-init/A2.h | |
parent | 3fef15b73fb2de71c90232fe33e4a1fed697b3b6 (diff) | |
download | bcm5719-llvm-faaeae5d6e8f047c3583f6d0e2f1441cf4acd9d6.tar.gz bcm5719-llvm-faaeae5d6e8f047c3583f6d0e2f1441cf4acd9d6.zip |
[Modules][ObjC] Check definition from canonical decl on designated initializers
Use definition from canonical decl when checking for designated
initializers. This is necessary since deserialization of a interface
might reuse the definition from the canonical one (see r281119).
rdar://problem/29360655
llvm-svn: 301382
Diffstat (limited to 'clang/test/Modules/Inputs/objc-desig-init/A2.h')
-rw-r--r-- | clang/test/Modules/Inputs/objc-desig-init/A2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/objc-desig-init/A2.h b/clang/test/Modules/Inputs/objc-desig-init/A2.h new file mode 100644 index 00000000000..5a4ceb495b3 --- /dev/null +++ b/clang/test/Modules/Inputs/objc-desig-init/A2.h @@ -0,0 +1,4 @@ +#import "Base.h" + +@interface A2 : Base +@end |