llvm-project/clang/test
David Spickett 2db090a2eb [llvm][AsmPrinter] Restore source location to register clobber warning
Since 5de2d189e6 this particular warning
hasn't had the location of the source file containing the inline
assembly.

Fix this by reporting via LLVMContext. Which means that we no longer
have the "instantiated into assembly here" lines but they were going to
point to the start of the inline asm string anyway.

This message is already tested via IR in llvm. However we won't have
the required location info there so I've added a C file test in clang
to cover it.
(though strictly, this is testing llvm code)

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D102244
2021-05-14 08:22:57 +00:00
..
APINotes
ARCMT
AST Fix null ptr crash dumping TemplateTemplateParmDecl 2021-04-24 12:28:10 -04:00
ASTMerge Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
Analysis [analyzer][solver] Prevent use of a null state 2021-05-13 20:16:29 +03:00
CXX Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
ClangScanDeps [clang][deps] Only generate absolute paths when asked to 2021-04-26 10:53:41 +02:00
CodeCompletion [clang][PreProcessor] Cutoff parsing after hitting completion point 2021-05-10 11:24:27 +02:00
CodeGen Return "[CGCall] Annotate `this` argument with alignment" 2021-05-13 20:33:14 +03:00
CodeGenCUDA [CUDA][HIP] Fix device template variables 2021-05-12 11:13:29 -04:00
CodeGenCXX [NFC] Delete two newly-added test cases 2021-05-13 21:23:01 +03:00
CodeGenCoroutines Return "[CGCall] Annotate `this` argument with alignment" 2021-05-13 20:33:14 +03:00
CodeGenHIP
CodeGenObjC [ObjC] Add a command line flag that disables recognition of objc_direct for testability 2021-04-06 11:17:01 -04:00
CodeGenObjCXX Return "[CGCall] Annotate `this` argument with alignment" 2021-05-13 20:33:14 +03:00
CodeGenOpenCL [AMDGPU] Add gfx1034 target 2021-05-13 14:25:18 -04:00
CodeGenOpenCLCXX [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
CodeGenSYCL [SYCL] Implement SYCL address space attributes handling 2021-04-26 13:44:10 +03:00
Coverage
CoverageMapping [clang] remove an incremental build workaround 2021-05-05 12:21:56 -04:00
Driver [AMDGPU] Add gfx1034 target 2021-05-13 14:25:18 -04:00
FixIt Revert "[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable" 2021-04-28 12:47:18 -07:00
Format
Frontend Reapply [ConstantFold] Fold more operations to poison 2021-05-13 16:04:12 +02:00
Headers [WebAssembly] Use functions instead of macros for const SIMD intrinsics 2021-05-07 11:50:19 -07:00
Import
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07:00
Integration XFAIL thinlto testcases on AIX 2021-04-26 17:02:06 +00:00
InterfaceStubs
Interpreter [clang-repl] Temporarily disable the execute.cpp test on ppc64. 2021-05-13 14:39:12 -07:00
Layout [SystemZ][z/OS] fix lit test related to alignment 2021-03-23 13:15:19 -04:00
Lexer [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
Misc [llvm][AsmPrinter] Restore source location to register clobber warning 2021-05-14 08:22:57 +00:00
Modules [ASTReader] Only mark module out of date if not already compiled 2021-04-16 17:57:03 -07:00
OpenMP [Clang][OpenMP] Allow unified_shared_memory for Pascal-generation GPUs. 2021-05-13 17:15:34 -05:00
PCH Thread safety analysis: Fix false negative on break 2021-05-03 14:03:17 +02:00
Parser Parse vector bool when stdbool.h and altivec.h are included 2021-05-13 11:48:32 -04:00
Preprocessor Use an allow list on reserved macro identifiers 2021-05-13 09:23:47 +02:00
Profile [PGO, test] Fix typo in FileCheck var 2021-04-03 08:44:46 +01:00
Refactor
Rewriter
Sema Revert "Produce warning for performing pointer arithmetic on a null pointer." 2021-05-12 14:53:50 -04:00
SemaCUDA Suppress Deferred Diagnostics in discarded statements. 2021-05-12 12:48:47 -07:00
SemaCXX Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
SemaObjC Revert "[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable" 2021-04-28 12:47:18 -07:00
SemaObjCXX [Sema] Don't set BlockDecl's DoesNotEscape bit if the parameter type of 2021-04-29 16:19:48 -07:00
SemaOpenCL [OpenCL] Remove pragma requirement from Arm dot extension. 2021-05-12 16:25:33 +01:00
SemaOpenCLCXX [OpenCL] Add clang extension for non-portable kernel parameters. 2021-05-05 14:58:23 +01:00
SemaSYCL [SYCL] Implement SYCL address space attributes handling 2021-04-26 13:44:10 +03:00
SemaTemplate Handle unexpanded packs appearing in type-constraints. 2021-05-12 18:45:34 -07:00
TableGen Fix test expectations for %diff documentation. 2021-03-30 17:48:08 -07:00
Templight
Tooling
Unit
VFS [clang] Don't crash when loading invalid VFS for the module dep collector 2021-04-26 17:05:22 -07:00
clang-rename
utils/update_cc_test_checks Return "[CGCall] Annotate `this` argument with alignment" 2021-05-13 20:33:14 +03:00
.clang-format
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
lit.site.cfg.py.in [clang][lit] Allow test cases to use the compiler that are used to compile Clang 2021-03-24 11:32:57 +01:00
make_test_dirs.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00