llvm-project/clang/test/CXX
Boris Kolpackov d30446fd77 [modules] Add ability to specify module name to module file mapping (reapply)
Extend the -fmodule-file option to support the [<name>=]<file> value format.
If the name is omitted, then the old semantics is preserved (the module file
is loaded whether needed or not). If the name is specified, then the mapping
is treated as just another prebuilt module search mechanism, similar to
-fprebuilt-module-path, and the module file is only loaded if actually used
(e.g., via import). With one exception: this mapping also overrides module
file references embedded in other modules (which can be useful if module files
are moved/renamed as often happens during remote compilation).

This override semantics requires some extra work: we now store the module name
in addition to the file name in the serialized AST representation.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D35020

llvm-svn: 312220
2017-08-31 06:26:43 +00:00
..
basic Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
class revert changes from r311851. 2017-08-27 19:00:08 +00:00
class.access Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
class.derived Add context note to diagnostics that occur while declaring an implicit special member function. 2017-02-23 21:43:43 +00:00
concepts-ts [Concepts] Class template associated constraints 2017-02-10 02:46:19 +00:00
conv [c++1z] P0003R5: Removing dynamic exception specifications. 2016-12-08 02:49:07 +00:00
cpp/cpp.predefined P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macro. By default, we 2016-09-30 22:41:36 +00:00
dcl.dcl Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
dcl.decl Do not inherit default arguments for friend function in class template. 2017-06-08 06:31:19 +00:00
drs Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
except Address comments that escaped D33333 2017-07-05 16:43:45 +00:00
expr [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
lex Convert test/CXX/lex/lex.literal/lex.string/p4.cpp back to DOS line 2016-01-04 10:17:48 +00:00
modules-ts [modules] Add ability to specify module name to module file mapping (reapply) 2017-08-31 06:26:43 +00:00
over [c++1z] Add some more tests for class template argument deduction, add 2017-02-14 00:55:25 +00:00
special [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
stmt.stmt Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
temp Do not look through pack expansions when looking for unexpanded parameter packs. 2017-08-15 22:58:45 +00:00