summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCoroutine.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-03-07 22:48:35 +0000
committerReid Kleckner <rnk@google.com>2018-03-07 22:48:35 +0000
commit04f9bcaa6d3b991266a74360ea1716cfb14e38ea (patch)
tree99218c0df38d07778837f9ffb93d01beee9fd194 /clang/lib/Sema/SemaCoroutine.cpp
parent586f40cf4f7f0430b19577835dcc8373fd4bb9ec (diff)
downloadbcm5719-llvm-04f9bcaa6d3b991266a74360ea1716cfb14e38ea.tar.gz
bcm5719-llvm-04f9bcaa6d3b991266a74360ea1716cfb14e38ea.zip
Avoid including ScopeInfo.h from Sema.h
Summary: This provides no measurable build speedup, but it reinstates an optimization from r112038 that was lost in r179618. It requires moving CapturedScopeInfo::Capture out to clang::sema, which might be too general since we have plenty of other Capture records in BlockDecl and other AST nodes. Reviewers: rjmccall Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D44221 llvm-svn: 326957
Diffstat (limited to 'clang/lib/Sema/SemaCoroutine.cpp')
-rw-r--r--clang/lib/Sema/SemaCoroutine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaCoroutine.cpp b/clang/lib/Sema/SemaCoroutine.cpp
index 54dcc9784f5..e4cb4cf059f 100644
--- a/clang/lib/Sema/SemaCoroutine.cpp
+++ b/clang/lib/Sema/SemaCoroutine.cpp
@@ -19,6 +19,7 @@
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/Overload.h"
+#include "clang/Sema/ScopeInfo.h"
#include "clang/Sema/SemaInternal.h"
using namespace clang;
OpenPOWER on IntegriCloud