HomePhabricator

PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.

Authored by RKSimon on Fri, Jul 24, 4:40 AM.

Description

PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.

PassManager.h is one of the top headers in the ClangBuildAnalyzer frontend worst offenders list.

This exposes a large number of implicit dependencies on various forward declarations/includes in other headers that need addressing.