Skip to content

Commit 549d18c

Browse files
committed
fixup! add comment
1 parent 23b879c commit 549d18c

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
@@ -3160,6 +3160,8 @@ Expr *Expr::IgnoreUnlessSpelledInSource() {
31603160
return E;
31613161
};
31623162

3163+
// Used when Clang generates calls to std::get for decomposing
3164+
// structured bindings.
31633165
auto IgnoreImplicitCallSingleStep = [](Expr *E) {
31643166
if (auto *C = dyn_cast<CallExpr>(E)) {
31653167
auto NumArgs = C->getNumArgs();

0 commit comments

Comments
 (0)