aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/analyzer-pass.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/analyzer-pass.cc')
-rw-r--r--gcc/analyzer/analyzer-pass.cc27
1 files changed, 11 insertions, 16 deletions
diff --git a/gcc/analyzer/analyzer-pass.cc b/gcc/analyzer/analyzer-pass.cc
index ab41de4..559fb94 100644
--- a/gcc/analyzer/analyzer-pass.cc
+++ b/gcc/analyzer/analyzer-pass.cc
@@ -18,15 +18,10 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#include "config.h"
-#include "system.h"
-#include "coretypes.h"
-#include "context.h"
+#include "analyzer/common.h"
+
#include "tree-pass.h"
-#include "diagnostic.h"
-#include "options.h"
-#include "tree.h"
-#include "analyzer/analyzer.h"
+
#include "analyzer/engine.h"
namespace {
@@ -53,15 +48,15 @@ class pass_analyzer : public ipa_opt_pass_d
public:
pass_analyzer(gcc::context *ctxt)
: ipa_opt_pass_d (pass_data_analyzer, ctxt,
- NULL, /* generate_summary */
- NULL, /* write_summary */
- NULL, /* read_summary */
- NULL, /* write_optimization_summary */
- NULL, /* read_optimization_summary */
- NULL, /* stmt_fixup */
+ nullptr, /* generate_summary */
+ nullptr, /* write_summary */
+ nullptr, /* read_summary */
+ nullptr, /* write_optimization_summary */
+ nullptr, /* read_optimization_summary */
+ nullptr, /* stmt_fixup */
0, /* function_transform_todo_flags_start */
- NULL, /* function_transform */
- NULL) /* variable_transform */
+ nullptr, /* function_transform */
+ nullptr) /* variable_transform */
{}
/* opt_pass methods: */