tools/clang/scripts/goma_link.py
def extract_opt_level(param):
      """
      If param is a parameter that specifies the LTO optimization level,
      returns the level. If not, returns None.
      """
      match = re.match('(?:-Wl,)?--lto-O(.+)', param)
      if match:
        return match.group(1)
      match = re.match('[-/]opt:.*lldlto=([^:]*)', param, re.IGNORECASE)
      if match:
        return match.group(1)
      return None

      If param is a parameter that specifies the LTO optimization level,
      returns the level. If not, returns None.
      
If param is a parameter that specifies the LTO optimization level,
returns the level. If not, returns None.
If param is a parameter that specifies the LTO optimization level returns the level . If not returns None .
def extract_opt_level(param):
      match = re.match('(?:-Wl,)?--lto-O(.+)', param)
      if match:
        return match.group(1)
      match = re.match('[-/]opt:.*lldlto=([^:]*)', param, re.IGNORECASE)
      if match:
        return match.group(1)
      return None
def extract_opt_level ( param ) : match = re . match ( '(?:-Wl,)?--lto-O(.+)' , param ) if match : return match . group ( 1 ) match = re . match ( '[-/]opt:.*lldlto=([^:]*)' , param , re . IGNORECASE ) if match : return match . group ( 1 ) return None
If param is a parameter that specifies the LTO optimization level,
returns the level.
If param is a parameter that specifies the LTO optimization level returns the level .
"""
      If param is a parameter that specifies the LTO optimization level,
      returns the level. If not, returns None.
      """
param