summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/LambdaCapture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/LambdaCapture.h')
-rw-r--r--include/clang/AST/LambdaCapture.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/clang/AST/LambdaCapture.h b/include/clang/AST/LambdaCapture.h
index a7468a0..ddefa88 100644
--- a/include/clang/AST/LambdaCapture.h
+++ b/include/clang/AST/LambdaCapture.h
@@ -85,11 +85,6 @@ public:
(DeclAndBits.getInt() & Capture_ByCopy);
}
- /// \brief Determine whether this is an init-capture.
- bool isInitCapture() const {
- return capturesVariable() && getCapturedVar()->isInitCapture();
- }
-
/// \brief Retrieve the declaration of the local variable being
/// captured.
///
OpenPOWER on IntegriCloud