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/module.modulemap | |
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/module.modulemap')
-rw-r--r-- | clang/test/Modules/Inputs/objc-desig-init/module.modulemap | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/objc-desig-init/module.modulemap b/clang/test/Modules/Inputs/objc-desig-init/module.modulemap new file mode 100644 index 00000000000..0150efb8eb1 --- /dev/null +++ b/clang/test/Modules/Inputs/objc-desig-init/module.modulemap @@ -0,0 +1,9 @@ +module Base { + header "Base.h" + export * +} + +module A { + header "A.h" + export * +} |