code: def format(self, options=None):
          
          if options is None:
              options = conf.lib.clang_defaultDiagnosticDisplayOptions()
          if options & ~Diagnostic._FormatOptionsMask:
              raise ValueError('Invalid format options')
          return conf.lib.clang_formatDiagnostic(self, options)
docs: Format this diagnostic for display. The options argument takes
          Diagnostic.Display* flags, which can be combined using bitwise OR. If
          the options argument is not provided, the default display options will
          be used.