HomePhabricator

[analyzer] Fix a crash in CloneDetector when calling functions by pointers.

Authored by dergachev.a on Aug 10 2016, 9:25 AM.

Description

[analyzer] Fix a crash in CloneDetector when calling functions by pointers.

CallExpr may have a null direct callee when the callee function is not
known in compile-time. Do not try to take callee name in this case.

Patch by Raphael Isemann!

Differential Revision: https://reviews.llvm.org/D23320

llvm-svn: 278238

Details

Committed
dergachev.aAug 10 2016, 9:25 AM
Differential Revision
D23320: [analyzer] Fixed crash in CloneDetector in function calls.
Parents
rG12e03aa5fe7e: [Hexagon] Delete HexagonSelectCCInfo.td
Branches
Unknown
Tags
Unknown