summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2017-01-10 18:49:27 +0000
committerDevin Coughlin <dcoughlin@apple.com>2017-01-10 18:49:27 +0000
commitdc9834f91269c73702b6f0d7e428d169508a1386 (patch)
tree11ad9d780b3c5919cda17d42d5a50445650981e8 /clang/lib/CodeGen
parent3a6474ecbba47ae8916f2d8e48d2b098055b93d7 (diff)
downloadbcm5719-llvm-dc9834f91269c73702b6f0d7e428d169508a1386.tar.gz
bcm5719-llvm-dc9834f91269c73702b6f0d7e428d169508a1386.zip
[analyzer] Treat pointers to static member functions as function pointers
Sema treats pointers to static member functions as having function pointer type, so treat treat them as function pointer values in the analyzer as well. This prevents an assertion failure in SValBuilder::evalBinOp caused by code that expects function pointers to be Locs (in contrast, PointerToMember values are nonlocs). Differential Revision: https://reviews.llvm.org/D28033 llvm-svn: 291581
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud