summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-01 17:04:21 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-01 17:04:21 +0000
commitcdd11d4e7ef70e878ddacf0fc8e324ed344f3ce8 (patch)
tree783075d594a1ae37b5f7727e30b1c50febc1ea30 /clang/lib/Sema/SemaLookup.cpp
parent62efe0b062268170c2caf659863396e4c110192f (diff)
downloadbcm5719-llvm-cdd11d4e7ef70e878ddacf0fc8e324ed344f3ce8.tar.gz
bcm5719-llvm-cdd11d4e7ef70e878ddacf0fc8e324ed344f3ce8.zip
Introduce the lambda scope before determining explicit captures, which
cleans up and improves a few things: - We get rid of the ugly dance of computing all of the captures in data structures that clone those of CapturingScopeInfo, centralizing the logic for accessing/updating these data structures - We re-use the existing capture logic for 'this', which actually works now. Cleaned up some diagnostic wording in minor ways as well. llvm-svn: 149516
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r--clang/lib/Sema/SemaLookup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index f2185157adb..610b790d2c1 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/lib/Sema/SemaLookup.cpp
@@ -32,6 +32,7 @@
#include "clang/Basic/Builtins.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/DenseSet.h"
+#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h"
OpenPOWER on IntegriCloud