Lines Matching defs:TypoExpr
8841 llvm::SmallSetVector<TypoExpr *, 2> &TypoExprs;
8844 explicit FindTypoExprs(llvm::SmallSetVector<TypoExpr *, 2> &TypoExprs)
8846 bool VisitTypoExpr(TypoExpr *TE) override {
8858 llvm::SmallSetVector<TypoExpr *, 2> TypoExprs, AmbiguousTypoExprs;
8859 llvm::SmallDenseMap<TypoExpr *, ExprResult, 2> TransformCache;
8873 for (TypoExpr *TE : TypoExprs) {
8880 // Extract the NamedDecl from the transformed TypoExpr and add it to the
8895 /// Try to advance the typo correction state of the first unfinished TypoExpr.
8972 // them to the TypoExprs set. Remove them from Sema's TypoExpr list
8987 // TypoExpr is valid: add newly created TypoExprs since we were
9032 llvm::SmallDenseMap<TypoExpr *, ExprResult, 2>(TransformCache);
9039 // TryTransform itself can create new Typos, adding them to the TypoExpr map
9074 // possible if a `TypoExpr` is created during a transformation but then
9130 ExprResult TransformTypoExpr(TypoExpr *E) {
9131 // If the TypoExpr hasn't been seen before, record it. Otherwise, return the
9132 // cached transformation result if there is one and the TypoExpr isn't the
9140 assert(State.Consumer && "Cannot transform a cleared TypoExpr");
9142 // For the first TypoExpr and an uncached TypoExpr, find the next likely
9154 // edit distance; if so, remember this TypoExpr may have an ambiguous
9179 // resolve any TypoExpr nodes that might be in the expression.
9191 ExprResult TransformTypoExpr(clang::TypoExpr *E) {