Class ConformancePassConfig


public class ConformancePassConfig extends PassConfig.PassConfigDelegate
Runs only the user-supplied conformance checks and any earlier passes required by conformance.
  • Constructor Details

    • ConformancePassConfig

      public ConformancePassConfig(PassConfig delegate)
  • Method Details

    • getChecks

      protected PassListBuilder getChecks()
      Description copied from class: PassConfig
      Gets the checking passes to run.

      Checking passes revolve around emitting warnings and errors. They also may include pre-processor passes needed to do error analysis more effectively.

      Clients that only want to analyze code (like IDEs) and not emit code will only run checks and not optimizations.

      Overrides:
      getChecks in class PassConfig.PassConfigDelegate
    • getOptimizations

      protected PassListBuilder getOptimizations(PassConfig.OptimizationPasses optimizationPasses)
      Description copied from class: PassConfig
      Gets the optimization passes to run.

      Optimization passes revolve around producing smaller and faster code. They should always run after checking passes.

      Overrides:
      getOptimizations in class PassConfig.PassConfigDelegate