llvm-project/clang/lib/Sema
Matheus Izvekov 68b9d8ed7a [clang] fix transformation of template arguments of 'auto' type constraints
See PR48617.

When assigning the new template arguments to the new TypeLoc, we were looping
on the argument count of the original TypeLoc instead of the new one,
which can be different when packs are present.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D109406
2021-09-08 03:22:34 +02:00
..
AnalysisBasedWarnings.cpp [clang] Expose unreachable fallthrough annotation warning 2021-08-16 17:14:55 -07:00
CMakeLists.txt [clang] Make libBasic not depend on MC 2021-04-28 12:16:22 -04:00
CodeCompleteConsumer.cpp [CodeComplete] Basic code completion for attribute names. 2021-08-12 23:49:10 +02:00
CoroutineStmtBuilder.h
DeclSpec.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
DelayedDiagnostic.cpp
IdentifierResolver.cpp
JumpDiagnostics.cpp [Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 1 2021-05-17 22:42:17 -07:00
MultiplexExternalSemaSource.cpp [clang][AST] Improve AST Reader/Writer memory footprint 2021-05-20 15:34:29 -07:00
OpenCLBuiltins.td [OpenCL] Remove decls for scalar vloada_half and vstorea_half* fns 2021-09-02 22:08:09 +01:00
ParsedAttr.cpp [Clang] Add an explicit makeArrayRef to appease gcc 5.4. 2021-08-13 09:42:28 -07:00
Scope.cpp
ScopeInfo.cpp [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
Sema.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
SemaAccess.cpp [clang][NFC] Break out BaseUsingDecl from UsingDecl 2021-06-07 06:29:28 -07:00
SemaAttr.cpp Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
SemaAvailability.cpp [clang] NFC: Fix trivial typo in comments and document 2021-09-04 12:59:42 +05:30
SemaCUDA.cpp [CUDA][HIP] Promote const variables to constant 2021-06-01 21:28:41 -04:00
SemaCXXScopeSpec.cpp [clang] p1099 using enum part 2 2021-06-08 11:11:46 -07:00
SemaCast.cpp [PowerPC] Emit error for Altivec vector initializations when -faltivec-src-compat=gcc is specified 2021-07-30 09:35:43 -05:00
SemaChecking.cpp [X86] AVX512FP16 instructions enabling 6/6 2021-08-30 13:08:45 +08:00
SemaCodeComplete.cpp [CodeCompletion] Provide placeholders for known attribute arguments 2021-08-19 14:03:41 +02:00
SemaConcept.cpp Adding an assertion back. 2021-08-26 12:51:14 -04:00
SemaConsumer.cpp
SemaCoroutine.cpp Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
SemaDecl.cpp [OpenCL] Disallows static kernel functions in C++ for OpenCL 2021-09-07 10:23:50 +01:00
SemaDeclAttr.cpp [OpenCL] Defines helper function for kernel language compatible OpenCL version 2021-08-31 10:08:38 +01:00
SemaDeclCXX.cpp [dllexport] Instantiate default ctor default args 2021-08-23 15:56:29 -07:00
SemaDeclObjC.cpp [ObjC] Add a command line flag that disables recognition of objc_direct for testability 2021-04-06 11:17:01 -04:00
SemaExceptionSpec.cpp Disallow narrowing conversions to bool in noexcept specififers 2021-08-06 10:26:39 -04:00
SemaExpr.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
SemaExprCXX.cpp PR45881: Properly use CXXThisOverride for templated lambda 2021-09-07 17:02:24 -07:00
SemaExprMember.cpp Use DeclContext::getNonTransparentContext(); NFC 2021-08-20 11:08:58 -04:00
SemaExprObjC.cpp [Sema][ObjC] Allow conversions between pointers to ObjC pointers and 2021-08-25 10:22:29 -07:00
SemaFixItUtils.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaInit.cpp PR51105: look through ConstantExpr when looking for a braced string literal initialization. 2021-08-25 11:36:11 -07:00
SemaLambda.cpp [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware 2021-07-29 12:02:37 -04:00
SemaLookup.cpp [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware 2021-07-29 12:02:37 -04:00
SemaModule.cpp Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC 2020-11-02 15:11:51 -05:00
SemaObjCProperty.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaOpenMP.cpp [OpenMP][OpenMPIRBuilder] Implement loop unrolling. 2021-09-04 19:18:58 -05:00
SemaOverload.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
SemaPseudoObject.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaSYCL.cpp Revert "[SYCL][NFC] Ensure SYCL kernel for unique-stable-name is unqualified." 2021-06-21 13:23:52 -07:00
SemaStmt.cpp Fix unknown parameter Wdocumentation warning. NFC. 2021-08-19 15:40:09 +01:00
SemaStmtAsm.cpp Fix assertion when passing function into inline asm's input operand 2021-08-27 13:39:41 -04:00
SemaStmtAttr.cpp Implemented [[clang::musttail]] attribute for guaranteed tail calls. 2021-04-15 17:12:21 -07:00
SemaTemplate.cpp PR45881: Properly use CXXThisOverride for templated lambda 2021-09-07 17:02:24 -07:00
SemaTemplateDeduction.cpp PR45881: Properly use CXXThisOverride for templated lambda 2021-09-07 17:02:24 -07:00
SemaTemplateInstantiate.cpp [clang] fix crash on template instantiation of invalid requires expressions 2021-08-03 23:16:04 +02:00
SemaTemplateInstantiateDecl.cpp [clang] fix error recovery ICE on copy elision when returing invalid variable 2021-09-03 20:34:08 +02:00
SemaTemplateVariadic.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
SemaType.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
TreeTransform.h [clang] fix transformation of template arguments of 'auto' type constraints 2021-09-08 03:22:34 +02:00
TypeLocBuilder.cpp
TypeLocBuilder.h
UsedDeclVisitor.h DeferredDiagnosticsEmitter crashes 2020-10-08 11:42:21 -04:00