Commit 5faeeecc authored by Committed by gbsbuild
Call getAnalysis in doFinalization only if it is needed.
There is a corner case: when we compile a file that has no kernels in it, the analysis is not added to the manager and we can't use it. This could result in a crash Change-Id: Ia48c276277b35ff0072f4763cb93fe67b586d24d
Showing with 2 additions and 2 deletions