parameters: (filename)
return_statement: return re.sub(r'[-./\s]', '_', fileinfo.RepositoryName()).upper() + '_'
docstring: Returns the CPP variable that should be used as a header guard.
  
    Args:
      filename: The name of a C++ header file.
  
    Returns:
      The CPP variable that should be used as a header guard in the
      named file.
docstring_summary: Returns the CPP variable that should be used as a header guard.
docstring_tokens: Returns the CPP variable that should be used as a header guard .
function: def GetHeaderGuardCPPVariable(filename):
    """Returns the CPP variable that should be used as a header guard.
  
    Args:
      filename: The name of a C++ header file.
  
    Returns:
      The CPP variable that should be used as a header guard in the
      named file.
  
    """
  
    # Restores original filename in case that cpplint is invoked from Emacs's
    # flymake.
    filename = re.sub(r'_flymake\.h$', '.h', filename)
  
    fileinfo = FileInfo(filename)
    return re.sub(r'[-./\s]', '_', fileinfo.RepositoryName()).upper() + '_'
function_tokens: def GetHeaderGuardCPPVariable ( filename ) : # Restores original filename in case that cpplint is invoked from Emacs's # flymake. filename = re . sub ( r'_flymake\.h$' , '.h' , filename ) fileinfo = FileInfo ( filename ) return re . sub ( r'[-./\s]' , '_' , fileinfo . RepositoryName ( ) ) . upper ( ) + '_'