aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06Improve module name to file name heuristicsBoris Kolpackov1-0/+47
2019-08-01Combine multiple single-character flags into a single argument for ↵Karen Arutyunov1-1/+1
testscript commands
2019-07-04Remove libu{} target groupBoris Kolpackov1-9/+9
The semantics provided by libu{} is rarely required and as result was not yet documented. However, if you are using it, the new way to achieve the same result is to use both libue{} and libul{} explicitly, for example: exe{foo}: libue{foo} lib{foo}: libul{foo} {libue libul}{foo}: cxx{*}
2019-06-07Complete and normalize paths in cxx.importable_headersBoris Kolpackov2-14/+133
Also add more header unit include/import tests.
2019-06-06Redo header path normalization/realization logicBoris Kolpackov1-4/+2
We now try to use the normalized path (which preserves symlinks) if possible and fall back to realized otherwise.
2019-06-05Adjust GCC module mapper to new protocolBoris Kolpackov1-4/+31
2019-05-03Rename [config.]cxx.header_units to importable_headersBoris Kolpackov1-1/+1
2019-05-02Enable full header unit functionality testBoris Kolpackov1-1/+1
2019-04-30Initial take on header unit and include translation supportBoris Kolpackov5-44/+87
2019-04-11Sync up with latest C++ modules support in GCCBoris Kolpackov1-2/+5
2019-01-16Update copyright yearKaren Arutyunov6-6/+6
2018-12-04Adjust module tests to comply with the merged proposal (P1103)Boris Kolpackov1-8/+5
Specifically, import can no longer be inside an export block.
2018-11-19Fix expected diagnostics in testBoris Kolpackov1-1/+1
2018-09-04Rename .test/test{} to .testscript/testscript{}Boris Kolpackov3-3/+3
2018-07-24Handle leading 'module;' marker (p0713)Boris Kolpackov1-0/+17
2018-07-12Adjust modules test to maybe-cleanup .ii files (no longer there for VC)Boris Kolpackov1-1/+1
2018-05-19Update copyright yearKaren Arutyunov6-6/+6
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov3-3/+3
2018-02-14Enable modules support only for VC 15u5 and up, drop hacks for earlierBoris Kolpackov1-48/+10
2018-02-03Get rid of action rule override semanticsBoris Kolpackov1-1/+1
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-05Add cxx.module_name alias for cc.module_nameBoris Kolpackov1-2/+2
2017-11-22Enable module re-export tests for ClangBoris Kolpackov1-1/+0
This support has been merged into trunk.
2017-08-02Change cc.preprocessed to {c,cxx}.preprocessedBoris Kolpackov2-8/+8
2017-07-28Implement support for linking whole archiveBoris Kolpackov1-6/+28
2017-07-27Initial infrastructure for utility librariesBoris Kolpackov2-0/+62
2017-07-21Fix and improve modules testBoris Kolpackov1-1/+3
2017-06-29Pass entire BMI graph, not only direct imports and re-exportsBoris Kolpackov1-0/+39
All current implementations require access to the entire graph (though Clang embeds the file references so we don't need to pass the options).
2017-06-24Make VC compatible with 'export module M;' by fixing up preprocessed outputBoris Kolpackov1-0/+11
2017-06-22Add extra support for symbol exporting in modularized projectsBoris Kolpackov1-0/+32
Since modules don't see each other's macros, we can use a single, keyword- like macro for dll-exporting that is managed by the build system (so no need for an "export" header). For example: cxx.features.symexport = true export __symexport void f ();
2017-06-20Build both variants of libraries in modules testBoris Kolpackov1-0/+1
2017-06-19Make use of exit builtin in modules testBoris Kolpackov1-5/+1
2017-06-16Add support for explicitly specifying module name on mxx{} targetBoris Kolpackov1-2/+13
2017-06-16Clean up module-related diagnosticsBoris Kolpackov2-3/+3
2017-06-16Convert test to new ln builtinBoris Kolpackov1-20/+19
2017-06-16Store module information in depdbBoris Kolpackov2-2/+31
2017-06-15Enable all module tests for GCC (requires cxx-modules r249216)Boris Kolpackov1-8/+4
2017-06-15Fix modules test not to run for VC15u0Boris Kolpackov1-3/+8
2017-06-15Implement module search in prerequisite librariesBoris Kolpackov1-11/+53
2017-06-14Fix modules testBoris Kolpackov1-1/+2
2017-06-14Next installment in C++ modules saga: module search, re-export supportBoris Kolpackov1-15/+139
2017-06-12Don't force C++ modules in tests for VCBoris Kolpackov1-1/+4
2017-06-12Add initial tests for C++ modules supportBoris Kolpackov2-0/+115
2017-06-01Fix test to use new cleanup wildcard supportBoris Kolpackov1-13/+13
2017-05-30Diagnose lack of module support in extract_modules()Boris Kolpackov1-1/+1
2017-05-29Fix testBoris Kolpackov1-1/+1
2017-05-29Add ability to limit amount of preprocessing done on sourceBoris Kolpackov2-0/+133
The cc.preprocessed variable can be 'none' (not preprocessed), 'includes' (no depends on preprocessor, e.g., #ifdef, etc), and 'all' (the source is fully preprocessed). Note that for 'all' the source can still contain comments and line continuations.