hanchenye-llvm-project/clang/test
Adrian Prantl aa5bad449b Reuse code from CGDebugInfo::getOrCreateFile() when creating the file
for the DICompileUnit.

This addresses post-commit feedback for D55085. Without this patch, a
main source file with an absolute paths may appear in different
DIFiles, once with the absolute path and once with the common prefix
between the absolute path and the current working directory.

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

llvm-svn: 348865
2018-12-11 16:58:43 +00:00
..
ARCMT Quickfix for failing tests. 2018-08-17 23:54:00 +00:00
AST Adding tests for -ast-dump; NFC. 2018-12-11 16:34:59 +00:00
ASTMerge [ASTImporter] Load external Decls when getting field index. 2018-08-08 09:40:57 +00:00
Analysis [analyzer] Hack for backwards compatibility for options for RetainCountChecker. 2018-12-11 01:13:58 +00:00
CXX [constexpr][c++2a] Try-catch blocks in constexpr functions 2018-12-10 19:03:12 +00:00
CodeCompletion Pass PartialOverloading argument to the correct corresponding parameter 2018-12-11 16:53:25 +00:00
CodeGen Reuse code from CGDebugInfo::getOrCreateFile() when creating the file 2018-12-11 16:58:43 +00:00
CodeGenCUDA Revert "[CodeGenCXX] Treat 'this' as noalias in constructors" 2018-10-15 15:43:00 +00:00
CodeGenCXX Make CPUDispatch resolver emit dependent functions. 2018-12-07 15:31:23 +00:00
CodeGenCoroutines Revert "[CodeGenCXX] Treat 'this' as noalias in constructors" 2018-10-15 15:43:00 +00:00
CodeGenObjC Convert some ObjC msgSends to runtime calls. 2018-12-08 05:13:50 +00:00
CodeGenObjCXX Pass the function type instead of the return type to FunctionDecl::Create 2018-11-11 00:56:15 +00:00
CodeGenOpenCL [OpenCL][CodeGen] Fix replacing memcpy with addrspacecast 2018-12-10 12:03:00 +00:00
CodeGenOpenCLCXX [OpenCL] Improve diags for addr spaces in templates 2018-11-29 14:11:15 +00:00
Coverage [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
CoverageMapping [Coverage] Specify the Itanium ABI triple for a C++ test 2018-11-28 20:51:09 +00:00
Driver Revert "[PowerPC] Make no-PIC default to match GCC - CLANG" 2018-12-11 15:47:57 +00:00
FixIt Introduce the _Clang scoped attribute token. 2018-11-09 17:19:45 +00:00
Format
Frontend [frontend][darwin] warn_stdlibcxx_not_found: supress warning for preprocessed input 2018-12-06 22:45:58 +00:00
Headers [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
Import Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
Index [Preprocessor] Don't avoid entering included files after hitting a fatal error. 2018-12-07 20:29:54 +00:00
Integration
Layout
Lexer [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
Misc NFC: Make this test kinder on downstream forks 2018-12-04 00:31:31 +00:00
Modules Reapply "Avoid emitting redundant or unusable directories in DIFile metadata entries."" 2018-12-06 18:44:50 +00:00
OpenMP [OPENMP][NVPTX] Fix globalization of the mapped array sections. 2018-12-06 15:35:13 +00:00
PCH Reuse code from CGDebugInfo::getOrCreateFile() when creating the file 2018-12-11 16:58:43 +00:00
Parser Move AST tests into their own test directory; NFC. 2018-11-30 18:43:02 +00:00
Preprocessor [Hexagon] Add support for Hexagon V66 2018-12-05 21:38:35 +00:00
Profile
Refactor
Rewriter
Sema Reland r348741 "[Sema] Further improvements to to static_assert diagnostics." 2018-12-11 08:39:11 +00:00
SemaCUDA [CUDA][HIP] Fix ShouldDeleteSpecialMember for inherited constructors 2018-10-09 15:53:14 +00:00
SemaCXX Reland r348741 "[Sema] Further improvements to to static_assert diagnostics." 2018-12-11 08:39:11 +00:00
SemaObjC Move AST tests into their own test directory; NFC. 2018-11-30 18:43:02 +00:00
SemaObjCXX Distinguish `__block` variables that are captured by escaping blocks 2018-10-01 21:51:28 +00:00
SemaOpenCL OpenCL: Improve vector printf warnings 2018-12-01 22:16:27 +00:00
SemaOpenCLCXX [OpenCL] Diagnose conflicting address spaces in templates. 2018-12-05 17:02:22 +00:00
SemaTemplate Fix crash if an in-class explicit function specialization has explicit 2018-12-04 22:26:32 +00:00
TableGen
Templight
Tooling Move detection of libc++ include dirs to Driver on MacOS 2018-12-05 14:24:14 +00:00
Unit
VFS [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
clang-rename
.clang-format
CMakeLists.txt [analyzer] Fix bots by removing new check-clang-analyzer commands from CHECK-ALL 2018-08-14 18:55:34 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Fix some issues with LLDB's lit configuration files. 2018-11-19 15:12:34 +00:00
lit.site.cfg.py.in Import lit.llvm after rC341132 2018-08-31 00:24:36 +00:00
make_test_dirs.pl