summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFLAliasAnalysis.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-06-23 20:59:13 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-06-23 20:59:13 +0000
commitd14d05affeb6d04c6ed861f6df12ba0c0c8fe827 (patch)
tree9cd0dd07c67d618c02159b659b30008eea07428e /llvm/lib/Analysis/CFLAliasAnalysis.cpp
parent65787a9e01144766a10e7d1159d440bfe1c21b41 (diff)
downloadbcm5719-llvm-d14d05affeb6d04c6ed861f6df12ba0c0c8fe827.tar.gz
bcm5719-llvm-d14d05affeb6d04c6ed861f6df12ba0c0c8fe827.zip
Attempt #2 to unbreak bots broken by r273596.
Some of the bots running GCC 4.7 seem to be having trouble with lambdas that explicitly capture `this`. Relevant-looking bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137 llvm-svn: 273613
Diffstat (limited to 'llvm/lib/Analysis/CFLAliasAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/CFLAliasAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/CFLAliasAnalysis.cpp b/llvm/lib/Analysis/CFLAliasAnalysis.cpp
index ac9bb82fb4a..e04cea2b845 100644
--- a/llvm/lib/Analysis/CFLAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/CFLAliasAnalysis.cpp
@@ -764,8 +764,8 @@ CFLAAResult::FunctionInfo::FunctionInfo(Function &Fn,
// in InterfaceMap: if it is not, we add the correspondence to the map;
// otherwise, an aliasing relation is found and we add it to
// RetParamRelations.
- auto AddToRetParamRelations = [this, &InterfaceMap](
- unsigned InterfaceIndex, StratifiedIndex SetIndex) {
+ auto AddToRetParamRelations = [&](unsigned InterfaceIndex,
+ StratifiedIndex SetIndex) {
unsigned Level = 0;
while (true) {
InterfaceValue CurrValue{InterfaceIndex, Level};
OpenPOWER on IntegriCloud