HomePhabricator

[NFCI] Return PathSensitiveBugReport where appropriate

Authored by xiaobai on Sep 23 2019, 3:24 PM.

Description

[NFCI] Return PathSensitiveBugReport where appropriate

Some compilers have trouble converting unique_ptr<PathSensitiveBugReport> to
unique_ptr<BugReport> causing some functions to fail to compile.
Changing the return type of the functions that fail to compile does not
appear to have any issues.
I ran into this issue building with clang 3.8 on Ubuntu 16.04.

llvm-svn: 372668

Details

Committed
xiaobaiSep 23 2019, 3:24 PM
Parents
rG082f895b1a9b: HotColdSplitting: invalidate the AssumptionCache on split
Branches
Unknown
Tags
Unknown