[PATCH] D62648: [Sema][Typo] Fix assertion failure for expressions with multiple typos
David Goldman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 08:31:27 PDT 2019
dgoldman added inline comments.
================
Comment at: lib/Sema/SemaExprCXX.cpp:7762-7764
+ llvm::SmallDenseMap<TypoExpr *, ExprResult, 2> NewTransformCache;
+ auto SavedTransformCache = TransformCache;
+ TransformCache = NewTransformCache;
----------------
Should I do the same `std::move` and `clear` here as well?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62648/new/
https://reviews.llvm.org/D62648
More information about the cfe-commits
mailing list