summaryrefslogtreecommitdiff
path: root/include/clang/Sema/SemaLambda.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Sema/SemaLambda.h')
-rw-r--r--include/clang/Sema/SemaLambda.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Sema/SemaLambda.h b/include/clang/Sema/SemaLambda.h
index dfdc4ebc3643d..8edb9b5c613d2 100644
--- a/include/clang/Sema/SemaLambda.h
+++ b/include/clang/Sema/SemaLambda.h
@@ -25,11 +25,11 @@ class FunctionScopeInfo;
class Sema;
/// Examines the FunctionScopeInfo stack to determine the nearest
-/// enclosing lambda (to the current lambda) that is 'capture-capable' for
+/// enclosing lambda (to the current lambda) that is 'capture-capable' for
/// the variable referenced in the current lambda (i.e. \p VarToCapture).
/// If successful, returns the index into Sema's FunctionScopeInfo stack
-/// of the capture-capable lambda's LambdaScopeInfo.
-/// See Implementation for more detailed comments.
+/// of the capture-capable lambda's LambdaScopeInfo.
+/// See Implementation for more detailed comments.
Optional<unsigned> getStackIndexOfNearestEnclosingCaptureCapableLambda(
ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,