Skip to content

Commit 57966ea

Browse files
committed
fixup! add comment
1 parent 8532aca commit 57966ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/AST/Expr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3184,6 +3184,8 @@ Expr *Expr::IgnoreUnlessSpelledInSource() {
31843184
return E;
31853185
};
31863186

3187+
// Used when Clang generates calls to std::get for decomposing
3188+
// structured bindings.
31873189
auto IgnoreImplicitCallSingleStep = [](Expr *E) {
31883190
if (auto *C = dyn_cast<CallExpr>(E)) {
31893191
auto NumArgs = C->getNumArgs();

0 commit comments

Comments
 (0)