FV3 Bundle
ufo/tools/cpplint.py File Reference

Go to the source code of this file.

Classes

class  cpplint._IncludeState
 
class  cpplint._CppLintState
 
class  cpplint._FunctionState
 
class  cpplint._IncludeError
 
class  cpplint.FileInfo
 
class  cpplint.CleansedLines
 
class  cpplint._BlockInfo
 
class  cpplint._ExternCInfo
 
class  cpplint._ClassInfo
 
class  cpplint._NamespaceInfo
 
class  cpplint._PreprocessorInfo
 
class  cpplint.NestingState
 

Namespaces

 cpplint
 

Functions

def cpplint.GetHeaderExtensions ()
 
def cpplint.GetAllExtensions ()
 
def cpplint.GetNonHeaderExtensions ()
 
def cpplint.unicode_escape_decode (x)
 
def cpplint.ParseNolintSuppressions (filename, raw_line, linenum, error)
 
def cpplint.ProcessGlobalSuppresions (lines)
 
def cpplint.ResetNolintSuppressions ()
 
def cpplint.IsErrorSuppressedByNolint (category, linenum)
 
def cpplint.Match (pattern, s)
 
def cpplint.ReplaceAll (pattern, rep, s)
 
def cpplint.Search (pattern, s)
 
def cpplint._IsSourceExtension (s)
 
def cpplint._OutputFormat ()
 
def cpplint._SetOutputFormat (output_format)
 
def cpplint._VerboseLevel ()
 
def cpplint._SetVerboseLevel (level)
 
def cpplint._SetCountingStyle (level)
 
def cpplint._Filters ()
 
def cpplint._SetFilters (filters)
 
def cpplint._AddFilters (filters)
 
def cpplint._BackupFilters ()
 
def cpplint._RestoreFilters ()
 
def cpplint._ShouldPrintError (category, confidence, linenum)
 
def cpplint.Error (filename, linenum, category, confidence, message)
 
def cpplint.IsCppString (line)
 
def cpplint.CleanseRawStrings (raw_lines)
 
def cpplint.FindNextMultiLineCommentStart (lines, lineix)
 
def cpplint.FindNextMultiLineCommentEnd (lines, lineix)
 
def cpplint.RemoveMultiLineCommentsFromRange (lines, begin, end)
 
def cpplint.RemoveMultiLineComments (filename, lines, error)
 
def cpplint.CleanseComments (line)
 
def cpplint.FindEndOfExpressionInLine (line, startpos, stack)
 
def cpplint.CloseExpression (clean_lines, linenum, pos)
 
def cpplint.FindStartOfExpressionInLine (line, endpos, stack)
 
def cpplint.ReverseCloseExpression (clean_lines, linenum, pos)
 
def cpplint.CheckForCopyright (filename, lines, error)
 
def cpplint.GetIndentLevel (line)
 
def cpplint.GetHeaderGuardCPPVariable (filename)
 
def cpplint.CheckForHeaderGuard (filename, clean_lines, error)
 
def cpplint.CheckHeaderFileIncluded (filename, include_state, error)
 
def cpplint.CheckForBadCharacters (filename, lines, error)
 
def cpplint.CheckForNewlineAtEOF (filename, lines, error)
 
def cpplint.CheckForMultilineCommentsAndStrings (filename, clean_lines, linenum, error)
 
def cpplint.CheckPosixThreading (filename, clean_lines, linenum, error)
 
def cpplint.CheckVlogArguments (filename, clean_lines, linenum, error)
 
def cpplint.CheckInvalidIncrement (filename, clean_lines, linenum, error)
 
def cpplint.IsMacroDefinition (clean_lines, linenum)
 
def cpplint.IsForwardClassDeclaration (clean_lines, linenum)
 
def cpplint.CheckForNonStandardConstructs (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckSpacingForFunctionCall (filename, clean_lines, linenum, error)
 
def cpplint.IsBlankLine (line)
 
def cpplint.CheckForNamespaceIndentation (filename, nesting_state, clean_lines, line, error)
 
def cpplint.CheckForFunctionLengths (filename, clean_lines, linenum, function_state, error)
 
def cpplint.CheckComment (line, filename, linenum, next_line_start, error)
 
def cpplint.CheckAccess (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckSpacing (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckOperatorSpacing (filename, clean_lines, linenum, error)
 
def cpplint.CheckParenthesisSpacing (filename, clean_lines, linenum, error)
 
def cpplint.CheckCommaSpacing (filename, clean_lines, linenum, error)
 
def cpplint._IsType (clean_lines, nesting_state, expr)
 
def cpplint.CheckBracesSpacing (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.IsDecltype (clean_lines, linenum, column)
 
def cpplint.CheckSectionSpacing (filename, clean_lines, class_info, linenum, error)
 
def cpplint.GetPreviousNonBlankLine (clean_lines, linenum)
 
def cpplint.CheckBraces (filename, clean_lines, linenum, error)
 
def cpplint.CheckTrailingSemicolon (filename, clean_lines, linenum, error)
 
def cpplint.CheckEmptyBlockBody (filename, clean_lines, linenum, error)
 
def cpplint.FindCheckMacro (line)
 
def cpplint.CheckCheck (filename, clean_lines, linenum, error)
 
def cpplint.CheckAltTokens (filename, clean_lines, linenum, error)
 
def cpplint.GetLineWidth (line)
 
def cpplint.CheckStyle (filename, clean_lines, linenum, file_extension, nesting_state, error)
 
def cpplint._DropCommonSuffixes (filename)
 
def cpplint._ClassifyInclude (fileinfo, include, is_system)
 
def cpplint.CheckIncludeLine (filename, clean_lines, linenum, include_state, error)
 
def cpplint._GetTextInside (text, start_pattern)
 
def cpplint.CheckLanguage (filename, clean_lines, linenum, file_extension, include_state, nesting_state, error)
 
def cpplint.CheckGlobalStatic (filename, clean_lines, linenum, error)
 
def cpplint.CheckPrintf (filename, clean_lines, linenum, error)
 
def cpplint.IsDerivedFunction (clean_lines, linenum)
 
def cpplint.IsOutOfLineMethodDefinition (clean_lines, linenum)
 
def cpplint.IsInitializerList (clean_lines, linenum)
 
def cpplint.CheckForNonConstReference (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckCasts (filename, clean_lines, linenum, error)
 
def cpplint.CheckCStyleCast (filename, clean_lines, linenum, cast_type, pattern, error)
 
def cpplint.ExpectingFunctionArgs (clean_lines, linenum)
 
def cpplint.FilesBelongToSameModule (filename_cc, filename_h)
 
def cpplint.UpdateIncludeState (filename, include_dict, io=codecs)
 
def cpplint.CheckForIncludeWhatYouUse (filename, clean_lines, include_state, error, io=codecs)
 
def cpplint.CheckMakePairUsesDeduction (filename, clean_lines, linenum, error)
 
def cpplint.CheckRedundantVirtual (filename, clean_lines, linenum, error)
 
def cpplint.CheckRedundantOverrideOrFinal (filename, clean_lines, linenum, error)
 
def cpplint.IsBlockInNameSpace (nesting_state, is_forward_declaration)
 
def cpplint.ShouldCheckNamespaceIndentation (nesting_state, is_namespace_indent_item, raw_lines_no_comments, linenum)
 
def cpplint.CheckItemIndentationInNamespace (filename, raw_lines_no_comments, linenum, error)
 
def cpplint.ProcessLine (filename, file_extension, clean_lines, line, include_state, function_state, nesting_state, error, extra_check_functions=None)
 
def cpplint.FlagCxx11Features (filename, clean_lines, linenum, error)
 
def cpplint.FlagCxx14Features (filename, clean_lines, linenum, error)
 
def cpplint.ProcessFileData (filename, file_extension, lines, error, extra_check_functions=None)
 
def cpplint.ProcessConfigOverrides (filename)
 
def cpplint.ProcessFile (filename, vlevel, extra_check_functions=None)
 
def cpplint.PrintUsage (message)
 
def cpplint.PrintCategories ()
 
def cpplint.ParseArguments (args)
 
def cpplint._ExpandDirectories (filenames)
 
def cpplint._FilterExcludedFiles (filenames)
 
def cpplint.main ()