summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2014-03-26 21:30:19 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2014-03-26 21:30:19 +0000
commit1a444489e9d90915cfdda0720489893896ef1503 (patch)
treece8511d82006a9bd986353d1e762bdb645f13513 /clang/lib/Parse/ParseObjc.cpp
parent5391ac47598a4c6e54b59af84885350deaf95b5e (diff)
downloadbcm5719-llvm-1a444489e9d90915cfdda0720489893896ef1503.tar.gz
bcm5719-llvm-1a444489e9d90915cfdda0720489893896ef1503.zip
PR15967 Fix in basicaa for faulty returning no alias.
This commit consist of two parts. The first part fix the PR15967. The wrong conclusion was made when the MaxLookup limit was reached. The fix introduce a out parameter (MaxLookupReached) to DecomposeGEPExpression that the function aliasGEP can act upon. The second part is introducing the constant MaxLookupSearchDepth to make sure that DecomposeGEPExpression and GetUnderlyingObject use the same search depth. This is a small cleanup to clarify the original algorithm. Patch by Karl-Johan Karlsson! llvm-svn: 204859
Diffstat (limited to 'clang/lib/Parse/ParseObjc.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud