HomePhabricator

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

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

Details

Committed
dergachevAug 10 2016, 9:25 AM
Differential Revision
D23320: [analyzer] Fixed crash in CloneDetector in function calls.
Branches
Unknown
Tags
Unknown