llvm-project/clang/lib/Sema
Alexander Kornienko 637da9de4c Revert "[clang] template / auto deduction deduces common sugar"
This reverts commit d200db3863, which causes a
clang crash. See https://reviews.llvm.org/D111283#3785755

Test case for convenience:
```
template <typename T>
using P = int T::*;

template <typename T, typename... A>
void j(P<T>, T, A...);

template <typename T>
void j(P<T>, T);

struct S {
  int b;
};
void g(P<S> k, S s) { j(k, s); }
```
2022-09-13 12:18:07 +02:00
..
AnalysisBasedWarnings.cpp Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
CMakeLists.txt [RISCV] Lazily add RVV C intrinsics. 2022-07-26 15:47:47 +08:00
CodeCompleteConsumer.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
CoroutineStmtBuilder.h
DeclSpec.cpp [Clang] NFC: Make UnqualifiedId::Kind private for consistency. 2022-09-12 19:14:06 +02:00
DelayedDiagnostic.cpp
HLSLExternalSemaSource.cpp [HLSL] Generate buffer subscript operators 2022-09-02 14:55:43 -05:00
IdentifierResolver.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
JumpDiagnostics.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
MultiplexExternalSemaSource.cpp [NFC] Make MultiplexExternalSemaSource own sources 2022-09-02 13:57:39 -05:00
OpenCLBuiltins.td [OpenCL] Guard depth image builtins 2022-09-13 10:10:48 +01:00
ParsedAttr.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
Scope.cpp Use value instead of getValue (NFC) 2022-07-29 21:18:41 -07:00
ScopeInfo.cpp [clang] Disallow mixing SEH and Objective-C exceptions 2021-10-20 14:18:12 -04:00
Sema.cpp [Sema] Move Diags.isIgnored() checks off hot paths, it's not free. NFC 2022-09-07 16:18:31 +02:00
SemaAccess.cpp [C++2b] Implement multidimentional subscript operator 2022-02-08 12:10:47 -05:00
SemaAttr.cpp [clang-cl] Handle some pragma alloc_text corner cases handled by MSVC 2022-06-29 06:45:59 -07:00
SemaAvailability.cpp [clang] Don't use Optional::getValue (NFC) 2022-06-20 22:59:26 -07:00
SemaCUDA.cpp [CUDA] remove duplicate condition 2022-07-22 11:27:19 -04:00
SemaCXXScopeSpec.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
SemaCast.cpp [randstruct] Add randomize structure layout support 2022-04-09 13:15:36 -07:00
SemaChecking.cpp Avoid __builtin_assume_aligned crash when the 1st arg is array type 2022-09-07 12:46:20 -04:00
SemaCodeComplete.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaConcept.cpp Revert "Re-apply "Deferred Concept Instantiation Implementation""" 2022-08-19 12:47:34 -07:00
SemaConsumer.cpp
SemaCoroutine.cpp [NFC] [Frontend] Correct the use of 'auto' in SemaCoroutine and CGCoroutine 2022-09-07 10:45:01 +08:00
SemaDecl.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaDeclAttr.cpp [HLSL] Call global constructors inside entry 2022-09-09 09:01:28 -05:00
SemaDeclCXX.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaDeclObjC.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaExceptionSpec.cpp [OpenMP] Initial parsing and semantic support for 'parallel masked taskloop simd' construct 2022-07-01 08:57:15 -07:00
SemaExpr.cpp Revert D111509 "[clang] use getCommonSugar in an assortment of places" 2022-09-08 17:09:18 -07:00
SemaExprCXX.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaExprMember.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
SemaExprObjC.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
SemaFixItUtils.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaInit.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaLambda.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaLookup.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaModule.cpp [C++20][Modules] Improve handing of Private Module Fragment diagnostics. 2022-08-21 10:19:46 +01:00
SemaObjCProperty.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaOpenMP.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaOverload.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaPseudoObject.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaRISCVVectorLookup.cpp [RISCV][Clang] Support RVV policy functions. 2022-08-01 17:32:08 +00:00
SemaSYCL.cpp [SYCL] Diagnose uses of zero length arrays 2021-12-29 15:30:18 +03:00
SemaStmt.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaStmtAsm.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
SemaStmtAttr.cpp [clang][parse] Move source range into ParsedAttibutesView 2022-03-24 08:11:57 +01:00
SemaTemplate.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaTemplateDeduction.cpp Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
SemaTemplateInstantiate.cpp Revert "Clang: fix AST representation of expanded template arguments." 2022-08-26 13:09:55 +02:00
SemaTemplateInstantiateDecl.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
SemaTemplateVariadic.cpp [clang] Improve diagnostics for expansion length mismatch 2022-08-30 18:58:38 +02:00
SemaType.cpp [HLSL] Generate buffer subscript operators 2022-09-02 14:55:43 -05:00
TreeTransform.h Revert "Clang: fix AST representation of expanded template arguments." 2022-08-26 13:09:55 +02:00
TypeLocBuilder.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
TypeLocBuilder.h [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
UsedDeclVisitor.h [HIP][OpenMP] Fix assertion in deferred diag 2021-10-25 11:07:40 -04:00