parameters: (out_dir, filename)
return_statement: return None
docstring: Returns a Clang command line used to build |filename|.
  
    The same source file could be built multiple times using different tool
    chains. In such cases, this command returns the first Clang invocation. We
    currently don't prefer one toolchain over another. Hopefully the tool chain
    corresponding to the Clang command line is compatible with the Clang build
    used by YCM.
  
    Args:
      out_dir: (String) Absolute path to WebRTC checkout.
      filename: (String) Absolute path to source file.
  
    Returns:
      (String or None): Command line for Clang invocation using |filename| as a
          source. Returns None if no such command line could be found.
docstring_summary: Returns a Clang command line used to build |filename|.
docstring_tokens: Returns a Clang command line used to build |filename| .
function: def GetClangCommandLineFromNinjaForSource(out_dir, filename):
    """Returns a Clang command line used to build |filename|.
  
    The same source file could be built multiple times using different tool
    chains. In such cases, this command returns the first Clang invocation. We
    currently don't prefer one toolchain over another. Hopefully the tool chain
    corresponding to the Clang command line is compatible with the Clang build
    used by YCM.
  
    Args:
      out_dir: (String) Absolute path to WebRTC checkout.
      filename: (String) Absolute path to source file.
  
    Returns:
      (String or None): Command line for Clang invocation using |filename| as a
          source. Returns None if no such command line could be found.
    """
    build_targets = GetNinjaBuildOutputsForSourceFile(out_dir, filename)
    for build_target in build_targets:
      command_line = GetClangCommandLineForNinjaOutput(out_dir, build_target)
      if command_line:
        return command_line
    return None
function_tokens: def GetClangCommandLineFromNinjaForSource ( out_dir , filename ) : build_targets = GetNinjaBuildOutputsForSourceFile ( out_dir , filename ) for build_target in build_targets : command_line = GetClangCommandLineForNinjaOutput ( out_dir , build_target ) if command_line : return command_line return None