llvm-project/clang/test
Richard Smith d1446017f3 DR458: Search template parameter scopes in the right order.
C++ unqualified name lookup searches template parameter scopes
immediately after finishing searching the entity the parameters belong
to. (Eg, for a class template, you search the template parameter scope
after looking in that class template and its base classes and before
looking in the scope containing the class template.) This is complicated
by the fact that scope lookup within a template parameter scope looks in
a different sequence of places prior to reaching the end of the
declarator-id in the template declaration.

We used to approximate the proper lookup rule with a hack in the scope /
decl context walk inside name lookup. Now we instead compute the lookup
parent for each template parameter scope.

In order to get this right, we now make sure to enter a distinct Scope
for each template parameter scope, and make sure to re-enter the
enclosing class scopes properly when handling delay-parsed regions
within a class.
2020-06-23 17:14:33 -07:00
..
ARCMT
AST When performing a substitution into a dependent alias template, mark the 2020-06-23 14:43:04 -07:00
ASTMerge
Analysis [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
CXX DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
ClangScanDeps
CodeCompletion [Sema][CodeComplete][ObjC] Don't include arrow/dot fixits 2020-06-08 12:46:00 -04:00
CodeGen fix test failure for clang/test/CodeGen/builtin-expect-with-probability.cpp 2020-06-23 13:34:35 -07:00
CodeGenCUDA [CUDA][HIP] Fix constexpr variables for C++17 2020-06-03 21:56:52 -04:00
CodeGenCXX [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
CodeGenCoroutines [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
CodeGenHIP [clang][amdgpu] Prefer not using `fp16` conversion intrinsics. 2020-06-16 10:21:56 -04:00
CodeGenObjC [Matrix] Add __builtin_matrix_column_store to Clang. 2020-06-18 11:39:02 +01:00
CodeGenObjCXX [os_log][test] Remove -O1 from a test, NFC 2020-06-01 16:54:16 -07:00
CodeGenOpenCL [AMDGPU] Add gfx1030 target 2020-06-15 16:18:05 -07:00
CodeGenOpenCLCXX [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenSYCL [SYCL] Update __builtin_unique_stable_name for other backends. 2020-04-17 07:54:18 -07:00
Coverage
CoverageMapping
Driver [clang][driver] allow macOS 11 OS version in the driver 2020-06-23 15:14:26 -07:00
FixIt
Format
Frontend [Remarks] Add callsite locations to inline remarks 2020-06-20 23:32:10 -07:00
Headers [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
Import The type of a reference to a non-type template parameter pack should 2020-06-18 17:52:13 -07:00
Index [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
Integration
InterfaceStubs
Layout
Lexer [clang][slh] Add test for SLH feature checking macro 2020-05-15 12:23:31 -07:00
Misc Create a warning flag for 'warn_conv_*_not_used' 2020-06-10 09:09:48 -04:00
Modules [NFC] Make AST_BLOCK_HASH test more robust with downstream changes 2020-06-19 09:41:15 +01:00
OpenMP [OPENMP50]Codegen for scan directives in parallel for simd regions. 2020-06-23 08:41:11 -04:00
PCH Fix rejects-valid when referencing an implicit operator== from within a 2020-06-22 20:19:20 -07:00
Parser [Clang] Add a "#pragma unroll" test case for correct error reporting 2020-06-16 13:03:32 -07:00
ParserSYCL
Preprocessor Revert "Hook up OpenBSD 64-bit PowerPC support" 2020-06-18 20:05:39 -04:00
Profile Fix version of c-general.profdata.v5 test case 2020-06-10 16:20:20 +02:00
Refactor
Rewriter
Sema [BFloat] Add convert/copy instrinsic support 2020-06-23 14:27:05 +00:00
SemaCUDA Revert D80450 "[CUDA][HIP] Fix implicit HD function resolution" 2020-06-10 17:42:28 -07:00
SemaCXX DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
SemaObjC [Matrix] Pass darwin tripe to SeamObjc test to fix windows bot failure. 2020-06-18 13:35:03 +01:00
SemaObjCXX [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
SemaOpenCL [AMDGPU] Introduce Clang builtins to be mapped to AMDGCN atomic inc/dec intrinsics 2020-06-09 17:02:58 +00:00
SemaOpenCLCXX [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
SemaSYCL [SYCL][OpenMP] Implement thread-local storage restriction 2020-06-17 14:36:00 +03:00
SemaTemplate When performing a substitution into a dependent alias template, mark the 2020-06-23 14:43:04 -07:00
TableGen
Templight
Tooling [Tooling] Drop leading/trailing whitespace from compile_flags.txt lines 2020-05-19 11:20:02 +02:00
Unit
VFS
clang-rename
utils/update_cc_test_checks [update_cc_test_checks.py] Handle C++ methods 2020-06-18 18:09:21 +01:00
.clang-format
CMakeLists.txt
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert "[clang][Driver] Correct tool search path priority" 2020-06-22 14:18:54 +01:00
lit.site.cfg.py.in [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
make_test_dirs.pl