llvm-project/clang/test
Richard Smith 54f0440c1f [modules] Switch from inferring owning modules based on source location to
inferring based on the current module at the point of creation.

This should result in no functional change except when building a preprocessed
module (or more generally when using #pragma clang module begin/end to switch
module in the middle of a file), in which case it allows us to correctly track
the owning module for declarations. We can't map from FileID to module in the
preprocessed module case, since all modules would have the same FileID.

There are still a couple of remaining places that try to infer a module from a
source location; I'll clean those up in follow-up changes.

llvm-svn: 303322
2017-05-18 02:29:20 +00:00
..
ARCMT clang/test/ARCMT/remap-applying.c: Use %/s on the command line of echo(1). 2017-04-28 05:02:52 +00:00
ASTMerge Revert r299355 "[ASTImporter] Fix for importing unnamed structs" 2017-04-03 21:06:45 +00:00
Analysis [analyzer] Add modelling of __builtin_assume 2017-05-12 07:02:54 +00:00
CXX [Sema] Implement Core 2094: Trivial copy/move constructor for class with volatile member 2017-05-09 22:21:24 +00:00
CodeCompletion [CodeCompletion] Provide member completions for dependent expressions whose 2017-05-11 13:48:57 +00:00
CodeGen [asan] One more test for -fsanitize-address-globals-dead-stripping. 2017-05-15 20:43:48 +00:00
CodeGenCUDA Use FPContractModeKind universally 2017-03-29 21:54:24 +00:00
CodeGenCXX Fix scope of namespaced DISubprograms when the function definition is out-of-line. 2017-05-16 23:46:10 +00:00
CodeGenCoroutines [coroutines] Fix building of new/delete expressions when get_return_object_on_allocation_failure() is present. 2017-04-18 03:12:48 +00:00
CodeGenObjC [CodeGen][ObjC] Emit @objc_retain at -O0 for variables captured by 2017-05-09 01:20:05 +00:00
CodeGenObjCXX ObjCBoxedExpr can't be evaluated by the constant expression evaluator. 2017-04-29 00:07:27 +00:00
CodeGenOpenCL [OpenCL] Emit function-scope variable in constant address space as static variable 2017-05-15 14:47:47 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [Coverage] Avoid null deref in skipRegionMappingForDecl (fixes PR32761) 2017-04-24 20:52:04 +00:00
Driver Reverted r302775 2017-05-11 08:25:22 +00:00
FixIt Add support for pretty platform names to `@available`/ 2017-05-09 15:34:46 +00:00
Format [clang-format] Replace IncompleteFormat by a struct with Line 2017-04-21 14:35:20 +00:00
Frontend PR26771: don't forget the " 2" (returning from #included file) linemarker after including an empty file with -frewrite-includes. 2017-04-29 00:54:03 +00:00
Headers Headers: Make the type of SIZE_MAX the same as size_t 2017-04-27 21:49:45 +00:00
Import [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00
Index [index] Avoid another crash that happens when looking up a dependent name 2017-05-16 17:33:17 +00:00
Integration
Layout Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
Lexer Do not warn about whitespace between ??/ trigraph and newline in line comments if trigraphs are disabled in the current language. 2017-04-18 21:45:04 +00:00
Misc Fix grammar in comment. NFC 2017-05-08 17:06:17 +00:00
Modules [modules] Switch from inferring owning modules based on source location to 2017-05-18 02:29:20 +00:00
OpenMP [OPENMP] Check DSA for variables captured by value. 2017-05-15 16:26:15 +00:00
PCH Don't mark a member as a member specialization until we know we're keeping the specialization. 2017-05-09 23:02:10 +00:00
Parser Add support for pretty platform names to `@available`/ 2017-05-09 15:34:46 +00:00
Preprocessor [X86][LWP] Add __LWP__ macro tests 2017-05-08 17:25:48 +00:00
Profile [Profile] Add off-by-default -Wprofile-instr-missing warning 2017-04-27 17:30:58 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema The constant expression evaluator should examine function arguments for non-constexpr function calls unless the EvalInfo says to stop. 2017-05-17 23:56:54 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX [modules] Switch from inferring owning modules based on source location to 2017-05-18 02:29:20 +00:00
SemaObjC [Sema] Avoid duplicate -Wunguarded-availability warnings in nested functions 2017-05-16 13:58:53 +00:00
SemaObjCXX Fix errored return value in CheckFunctionReturnType and add a fixit hint 2017-05-10 20:03:16 +00:00
SemaOpenCL [OpenCL] Emit function-scope variable in constant address space as static variable 2017-05-15 14:47:47 +00:00
SemaTemplate Improve diagnosis of unknown template name. 2017-05-10 21:32:16 +00:00
TableGen
Tooling [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +00:00
VFS
.clang-format
CMakeLists.txt Re-apply r292662, "IRGen: Start using the WriteThinLTOBitcode pass." 2017-01-26 23:51:50 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
lit.site.cfg.in Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
make_test_dirs.pl