|
59 | 59 | #include "clang/Sema/TypoCorrection.h"
|
60 | 60 | #include "clang/Sema/Weak.h"
|
61 | 61 | #include "llvm/ADT/ArrayRef.h"
|
62 |
| -#include "llvm/ADT/DenseMap.h" |
63 | 62 | #include "llvm/ADT/SetVector.h"
|
64 | 63 | #include "llvm/ADT/SmallBitVector.h"
|
65 | 64 | #include "llvm/ADT/SmallPtrSet.h"
|
@@ -10093,12 +10092,6 @@ class Sema final {
|
10093 | 10092 | /// but have not yet been performed.
|
10094 | 10093 | std::deque<PendingImplicitInstantiation> PendingInstantiations;
|
10095 | 10094 |
|
10096 |
| - /// Track constexpr functions referenced before they are (lexically) defined. |
10097 |
| - /// The key is the pattern, associated with a list of specialisations that |
10098 |
| - /// need to be instantiated when the pattern is defined. |
10099 |
| - llvm::DenseMap<NamedDecl *, SmallVector<NamedDecl *>> |
10100 |
| - PendingInstantiationsOfConstexprEntities; |
10101 |
| - |
10102 | 10095 | /// Queue of implicit template instantiations that cannot be performed
|
10103 | 10096 | /// eagerly.
|
10104 | 10097 | SmallVector<PendingImplicitInstantiation, 1> LateParsedInstantiations;
|
@@ -10417,9 +10410,6 @@ class Sema final {
|
10417 | 10410 | bool Recursive = false,
|
10418 | 10411 | bool DefinitionRequired = false,
|
10419 | 10412 | bool AtEndOfTU = false);
|
10420 |
| - |
10421 |
| - void PerformPendingInstantiationsOfConstexprFunctions(FunctionDecl *Template); |
10422 |
| - |
10423 | 10413 | VarTemplateSpecializationDecl *BuildVarTemplateInstantiation(
|
10424 | 10414 | VarTemplateDecl *VarTemplate, VarDecl *FromVar,
|
10425 | 10415 | const TemplateArgumentList &TemplateArgList,
|
|
0 commit comments