Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirraide committed Oct 1, 2024
1 parent 69ce319 commit 48ca9d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/include/clang/Sema/ScopeInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,9 @@ class BlockScopeInfo final : public CapturingScopeInfo {
QualType FunctionType;

/// We sometimes diagnose unexpanded parameter packs in block literals,
/// but an error while the block is parsed causes it to be discarded, in
/// which case we need to reset the enclosing lambda's
/// ContainsUnexpandedParameterPackFlag.
/// but an error while the block is parsed can cause it to be discarded,
/// in which case we need to reset the enclosing lambda's
/// ContainsUnexpandedParameterPack flag.
///
/// Note: This issue does not exist with lambdas because they push a new
/// LambdaScopeInfo, so if the expression is discarded, the 'enclosing
Expand Down

0 comments on commit 48ca9d6

Please sign in to comment.