diff options
author | Martin Bohme <mboehme@google.com> | 2016-08-17 15:00:22 +0000 |
---|---|---|
committer | Martin Bohme <mboehme@google.com> | 2016-08-17 15:00:22 +0000 |
commit | e9a265a26709591c7338385012d07571873d9e9b (patch) | |
tree | 5438cda801518ea3aca37332f63e7fc8c852803d /clang-tools-extra/modularize | |
parent | d5f94a6a5928e4a7df137edf974220bb0683ffae (diff) | |
download | bcm5719-llvm-e9a265a26709591c7338385012d07571873d9e9b.tar.gz bcm5719-llvm-e9a265a26709591c7338385012d07571873d9e9b.zip |
Adapt to TraverseLambdaCapture interface change from D23204
Summary:
Depends on D23204.
This is intended to be submitted immediately after D23204 lands.
Reviewers: jdennett, alexfh
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D23543
llvm-svn: 278934
Diffstat (limited to 'clang-tools-extra/modularize')
-rw-r--r-- | clang-tools-extra/modularize/Modularize.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/clang-tools-extra/modularize/Modularize.cpp b/clang-tools-extra/modularize/Modularize.cpp index e1e913e5d8b..284e3299894 100644 --- a/clang-tools-extra/modularize/Modularize.cpp +++ b/clang-tools-extra/modularize/Modularize.cpp @@ -571,7 +571,10 @@ public: return true; } bool TraverseConstructorInitializer(CXXCtorInitializer *Init) { return true; } - bool TraverseLambdaCapture(LambdaCapture C) { return true; } + bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, + Expr *Init) { + return true; + } // Check 'extern "*" {}' block for #include directives. bool VisitLinkageSpecDecl(LinkageSpecDecl *D) { @@ -756,7 +759,10 @@ public: return true; } bool TraverseConstructorInitializer(CXXCtorInitializer *Init) { return true; } - bool TraverseLambdaCapture(LambdaCapture C) { return true; } + bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, + Expr *Init) { + return true; + } // Check 'extern "*" {}' block for #include directives. bool VisitLinkageSpecDecl(LinkageSpecDecl *D) { |