[Modules] Improve .Private fix-its to handle 'explicit' and 'framework'
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 15 Jun 2018 20:13:28 +0000 (20:13 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 15 Jun 2018 20:13:28 +0000 (20:13 +0000)
commit5f11e128b0aabb3188e3c09e089c284b9e401f87
tree30eeefcfe265dae82f083074a4b49664732be34d
parent0ea9a90b3d6b2920e96dd8bbc971c236fe048139
[Modules] Improve .Private fix-its to handle 'explicit' and 'framework'

When in the context of suggestion the fix-it from .Private to _Private
for private modules, trim off the 'explicit' and add 'framework' when
appropriate.

rdar://problem/41030554

llvm-svn: 334859
clang/lib/Lex/ModuleMap.cpp
clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Modules/module.modulemap
clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modulemap
clang/test/Modules/implicit-private-with-submodule.m