llvm-project/clang/test
Richard Smith b3f6e3d6d6 Improve recovery from invalid template-ids.
Instead of bailing out of parsing when we encounter an invalid
template-name or template arguments in a template-id, produce an
annotation token describing the invalid construct.

This avoids duplicate errors and generally allows us to recover better.
In principle we should be able to extend this to store some kinds of
invalid template-id in the AST for tooling use, but that isn't handled
as part of this change.
2020-03-27 17:11:04 -07:00
..
ARCMT
AST [OpenMP] `omp begin/end declare variant` - part 2, sema ("+CG") 2020-03-27 02:30:58 -05:00
ASTMerge
Analysis [analyzer][MallocChecker] Fix that kfree only takes a single argument 2020-03-27 13:17:35 +01:00
CXX Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
ClangScanDeps
CodeCompletion Another fix for 7d91633a2b 2020-02-19 17:15:11 -05:00
CodeGen [ARM,CDE] Improve CDE intrinsics testing 2020-03-27 16:05:18 +00:00
CodeGenCUDA [cuda][hip] Add CUDA builtin surface/texture reference support. 2020-03-27 17:18:49 -04:00
CodeGenCXX [AST] Print a<b<c>> without extra spaces in C++11 or later. 2020-03-26 09:53:54 +01:00
CodeGenCoroutines [CodeGen] Add an alignment attribute to all sret parameters 2020-03-24 15:31:57 -04:00
CodeGenHIP
CodeGenObjC [CodeGen] Add an alignment attribute to all sret parameters 2020-03-24 15:31:57 -04:00
CodeGenObjCXX [CodeGen] Add an alignment attribute to all sret parameters 2020-03-24 15:31:57 -04:00
CodeGenOpenCL Implement post-commit comments for D75685/rG86e0a6c60627 2020-03-25 12:24:56 -07:00
CodeGenOpenCLCXX [CodeGen] Add an alignment attribute to all sret parameters 2020-03-24 15:31:57 -04:00
CodeGenSYCL [SYCL] Implement __builtin_unique_stable_name. 2020-03-25 07:01:50 -07:00
Coverage
CoverageMapping Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
Driver [Darwin] Respect -fno-unroll-loops during LTO. 2020-03-27 22:19:03 +00:00
FixIt [objc_direct] Small updates to help with adoption. 2020-02-16 16:32:41 -08:00
Format
Frontend Add an attribute plugin example 2020-03-25 14:33:44 +00:00
Headers [ARM,CDE] Improve CDE intrinsics testing 2020-03-27 16:05:18 +00:00
Import [CodeGen] Emit destructor calls to destruct compound literals 2020-03-10 14:08:28 -07:00
Index [AST] Add RecoveryExpr to retain expressions on semantic errors 2020-03-24 09:20:37 +01:00
Integration
InterfaceStubs
Layout
Lexer Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
Misc [cuda][hip] Add CUDA builtin surface/texture reference support. 2020-03-27 17:18:49 -04:00
Modules Allow remapping Clang module include paths 2020-03-27 14:23:30 -07:00
OpenMP [OPENMP50]Fix PR45117: Orphaned task reduction should be allowed. 2020-03-27 17:47:30 -04:00
PCH Allow remapping Clang module skeleton CU references with -fdebug-prefix-map 2020-03-20 15:15:56 -07:00
Parser Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
ParserSYCL [SYCL] Implement __builtin_unique_stable_name. 2020-03-25 07:01:50 -07:00
Preprocessor [PATCH] [ARM] ARMv8.6-a command-line + BFloat16 Asm Support 2020-03-26 09:17:20 +00:00
Profile Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
Refactor
Rewriter
Sema Test that would have caught recovery-expr crashes in 0788acbccb. NFC 2020-03-26 18:43:29 +01:00
SemaCUDA [cuda][hip] Add CUDA builtin surface/texture reference support. 2020-03-27 17:18:49 -04:00
SemaCXX Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
SemaObjC [objc_direct] also go through implementations when looking for clashes 2020-03-23 20:49:09 -07:00
SemaObjCXX [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
SemaOpenCL [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
SemaOpenCLCXX Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
SemaSYCL [SYCL] Driver option to select SYCL version 2020-03-07 18:28:54 +03:00
SemaTemplate Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
TableGen
Templight
Tooling [PowerPC] Delete PPCMachObjectWriter and powerpc{,64}-apple-darwin 2020-03-05 11:05:26 -08:00
Unit
VFS [VFS] More consistent support for Windows 2020-02-05 11:38:20 -08:00
clang-rename [clang-rename] Fix the failure rename test. 2020-02-11 10:07:00 +01:00
utils/update_cc_test_checks Move update_cc_test_checks.py tests to clang 2020-02-14 14:39:55 +00:00
.clang-format
CMakeLists.txt Add an attribute plugin example 2020-03-25 14:33:44 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Clang][test] Add .i files for test discovery 2020-03-20 18:21:27 -04:00
lit.site.cfg.py.in Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
make_test_dirs.pl