Allow string literals as module names.In order to make the migration to modules easier, it seems to be helpfulto allow a 1:1 mapping between target names of a current build systemand the correspo
Allow string literals as module names.In order to make the migration to modules easier, it seems to be helpfulto allow a 1:1 mapping between target names of a current build systemand the corresponding C++ modules. As such targets commonly containcharacters like "-". ":" and "/", allowing arbitrary quote-escapedstrings seems to be a straightforward option.After several offline discussions, the precise mechanisms for C++module names especially regarding submodules and import statements hasyet to be determined. Thus, this patch only enables string literals asnames inside the module map files which can be used by automatic moduleimport (through #include).Also improve the error message on missing use-declarations.llvm-svn: 196573
show more ...