]> granicus.if.org Git - llvm/commit
[CFLAA] Use raw pointers instead of Optional<Pointer>. NFC.
authorDavide Italiano <davide@freebsd.org>
Tue, 27 Jun 2017 00:33:37 +0000 (00:33 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 27 Jun 2017 00:33:37 +0000 (00:33 +0000)
commit2ba26728be6739110bf1873226883567d66a3483
treecbbb4c0157ab71ca46dbbc3f6cce9d35bfdd416b
parent4d73d7ad46a91e9edf8b6ea1ab1cb9c1ea854f2c
[CFLAA] Use raw pointers instead of Optional<Pointer>. NFC.

Using Optional<> here doesn't seem to be terribly valuable, but
this is not the main point of this change. The change enables
us to merge the (now) two identical copies of parentFunctionOfValue()
that Steensgaard's and Andersens' provide.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFLSteensAliasAnalysis.cpp