[modules] Support combining 'textual' with 'private'.

llvm-svn: 220589
11 files changed