parameters: (output_of_where)
docstring: Gets the path to cl.exe based on the output of calling the environment
      setup batch file, followed by the equivalent of `where`.
docstring_summary: Gets the path to cl.exe based on the output of calling the environment
      setup batch file, followed by the equivalent of `where`.
docstring_tokens: Gets the path to cl . exe based on the output of calling the environment setup batch file followed by the equivalent of where .
function: def _ExtractCLPath(output_of_where):
      """Gets the path to cl.exe based on the output of calling the environment
      setup batch file, followed by the equivalent of `where`."""
      # Take the first line, as that's the first found in the PATH.
      for line in output_of_where.strip().splitlines():
          if line.startswith("LOC:"):
              return line[len("LOC:") :].strip()
function_tokens: def _ExtractCLPath ( output_of_where ) : # Take the first line, as that's the first found in the PATH. for line in output_of_where . strip ( ) . splitlines ( ) : if line . startswith ( "LOC:" ) : return line [ len ( "LOC:" ) : ] . strip ( )