We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92c96a commit 4ef137bCopy full SHA for 4ef137b
lib/Sema/TypeChecker.h
@@ -545,9 +545,6 @@ enum class FunctionBuilderClosurePreCheck : uint8_t {
545
/// type checking, and semantic analysis to produce a type-annotated AST.
546
class TypeChecker final {
547
public:
548
- ASTContext &Context;
549
- DiagnosticEngine &Diags;
550
-
551
/// The list of function definitions we've encountered.
552
std::vector<AbstractFunctionDecl *> definedFunctions;
553
@@ -556,6 +553,9 @@ class TypeChecker final {
556
std::vector<AbstractClosureExpr *> ClosuresWithUncomputedCaptures;
557
554
558
555
private:
+ ASTContext &Context;
+ DiagnosticEngine &Diags;
+
559
/// The set of expressions currently being analyzed for failures.
560
llvm::DenseMap<Expr*, Expr*> DiagnosedExprs;
561
0 commit comments