Classes | Namespaces | Functions | Variables
cpplint.py File Reference

Go to the source code of this file.

Classes

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

Namespaces

 cpplint
 

Functions

def cpplint._ClassifyInclude (fileinfo, include, is_system)
 
def cpplint._DropCommonSuffixes (filename)
 
def cpplint._Filters ()
 
def cpplint._GetTextInside (text, start_pattern)
 
def cpplint._IsTestFilename (filename)
 
def cpplint._OutputFormat ()
 
def cpplint._SetCountingStyle (level)
 
def cpplint._SetFilters (filters)
 
def cpplint._SetOutputFormat (output_format)
 
def cpplint._SetVerboseLevel (level)
 
def cpplint._ShouldPrintError (category, confidence, linenum)
 
def cpplint._VerboseLevel ()
 
def cpplint.CheckAccess (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckAltTokens (filename, clean_lines, linenum, error)
 
def cpplint.CheckBraces (filename, clean_lines, linenum, error)
 
def cpplint.CheckCheck (filename, clean_lines, linenum, error)
 
def cpplint.CheckComment (comment, filename, linenum, error)
 
def cpplint.CheckCStyleCast (filename, linenum, line, raw_line, cast_type, pattern, error)
 
def cpplint.CheckEmptyBlockBody (filename, clean_lines, linenum, error)
 
def cpplint.CheckForBadCharacters (filename, lines, error)
 
def cpplint.CheckForCopyright (filename, lines, error)
 
def cpplint.CheckForFunctionLengths (filename, clean_lines, linenum, function_state, error)
 
def cpplint.CheckForHeaderGuard (filename, lines, error)
 
def cpplint.CheckForIncludeWhatYouUse (filename, clean_lines, include_state, error, io=codecs)
 
def cpplint.CheckForMultilineCommentsAndStrings (filename, clean_lines, linenum, error)
 
def cpplint.CheckForNewlineAtEOF (filename, lines, error)
 
def cpplint.CheckForNonConstReference (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckForNonStandardConstructs (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckIncludeLine (filename, clean_lines, linenum, include_state, error)
 
def cpplint.CheckInvalidIncrement (filename, clean_lines, linenum, error)
 
def cpplint.CheckLanguage (filename, clean_lines, linenum, file_extension, include_state, nesting_state, error)
 
def cpplint.CheckMakePairUsesDeduction (filename, clean_lines, linenum, error)
 
def cpplint.CheckPosixThreading (filename, clean_lines, linenum, error)
 
def cpplint.CheckSectionSpacing (filename, clean_lines, class_info, linenum, error)
 
def cpplint.CheckSpacing (filename, clean_lines, linenum, nesting_state, error)
 
def cpplint.CheckSpacingForFunctionCall (filename, line, linenum, error)
 
def cpplint.CheckStyle (filename, clean_lines, linenum, file_extension, nesting_state, error)
 
def cpplint.CheckVlogArguments (filename, clean_lines, linenum, error)
 
def cpplint.CleanseComments (line)
 
def cpplint.CleanseRawStrings (raw_lines)
 
def cpplint.CloseExpression (clean_lines, linenum, pos)
 
def cpplint.Error (filename, linenum, category, confidence, message)
 
def cpplint.FilesBelongToSameModule (filename_cc, filename_h)
 
def cpplint.FindEndOfExpressionInLine (line, startpos, depth, startchar, endchar)
 
def cpplint.FindNextMatchingAngleBracket (clean_lines, linenum, init_suffix)
 
def cpplint.FindNextMultiLineCommentEnd (lines, lineix)
 
def cpplint.FindNextMultiLineCommentStart (lines, lineix)
 
def cpplint.FindPreviousMatchingAngleBracket (clean_lines, linenum, init_prefix)
 
def cpplint.FindStartOfExpressionInLine (line, endpos, depth, startchar, endchar)
 
def cpplint.GetHeaderGuardCPPVariable (filename)
 
def cpplint.GetLineWidth (line)
 
def cpplint.GetPreviousNonBlankLine (clean_lines, linenum)
 
def cpplint.IsBlankLine (line)
 
def cpplint.IsCppString (line)
 
def cpplint.IsErrorSuppressedByNolint (category, linenum)
 
def cpplint.main ()
 
def cpplint.Match (pattern, s)
 
def cpplint.ParseArguments (args)
 
def cpplint.ParseNolintSuppressions (filename, raw_line, linenum, error)
 
def cpplint.PrintCategories ()
 
def cpplint.PrintUsage (message)
 
def cpplint.ProcessFile (filename, vlevel, extra_check_functions=[])
 
def cpplint.ProcessFileData (filename, file_extension, lines, error, extra_check_functions=[])
 
def cpplint.ProcessLine (filename, file_extension, clean_lines, line, include_state, function_state, nesting_state, error, extra_check_functions=[])
 
def cpplint.RemoveMultiLineComments (filename, lines, error)
 
def cpplint.RemoveMultiLineCommentsFromRange (lines, begin, end)
 
def cpplint.ReplaceAll (pattern, rep, s)
 
def cpplint.ResetNolintSuppressions ()
 
def cpplint.ReverseCloseExpression (clean_lines, linenum, pos)
 
def cpplint.Search (pattern, s)
 
def cpplint.UpdateIncludeState (filename, include_state, io=codecs)
 

Variables

dictionary cpplint._ALT_TOKEN_REPLACEMENT
 
 cpplint._ALT_TOKEN_REPLACEMENT_PATTERN
 
int cpplint._BLOCK_ASM = 3
 
int cpplint._C_SYS_HEADER = 1
 
list cpplint._CHECK_MACROS
 
 cpplint._CHECK_REPLACEMENT = dict([(m, {}) for m in _CHECK_MACROS])
 
 cpplint._CPP_HEADERS
 
int cpplint._CPP_SYS_HEADER = 2
 
 cpplint._cpplint_state = _CppLintState()
 
list cpplint._DEFAULT_FILTERS = ['-build/include_alpha']
 
int cpplint._END_ASM = 2
 
list cpplint._ERROR_CATEGORIES
 
dictionary cpplint._error_suppressions = {}
 
tuple cpplint._HEADERS_CONTAINING_TEMPLATES
 
int cpplint._INSIDE_ASM = 1
 
int cpplint._LIKELY_MY_HEADER = 3
 
int cpplint._line_length = 80
 
 cpplint._MATCH_ASM
 
int cpplint._NO_ASM = 0
 
int cpplint._OTHER_HEADER = 5
 
int cpplint._POSSIBLE_MY_HEADER = 4
 
 cpplint._RE_FIRST_COMPONENT = re.compile(r'^[^-_.]+')
 
list cpplint._re_pattern_algorithm_header = []
 
 cpplint._RE_PATTERN_CLEANSE_LINE_C_COMMENTS
 
 cpplint._RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES = re.compile(r'"[^"]*"')
 
 cpplint._RE_PATTERN_CLEANSE_LINE_ESCAPES
 
 cpplint._RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES = re.compile(r"'.'")
 
tuple cpplint._RE_PATTERN_CONST_REF_PARAM
 
 cpplint._RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\bmake_pair\s*<')
 
string cpplint._RE_PATTERN_IDENT = r'[_a-zA-Z]\w*'
 
 cpplint._RE_PATTERN_INCLUDE = re.compile(r'^\s*#\s*include\s*([<"])([^>"]*)[>"].*$')
 
 cpplint._RE_PATTERN_INCLUDE_NEW_STYLE = re.compile(r'#include +"[^/]+\.h"')
 
 cpplint._RE_PATTERN_INVALID_INCREMENT
 
 cpplint._RE_PATTERN_REF_PARAM
 
 cpplint._RE_PATTERN_STRING = re.compile(r'\bstring\b')
 
list cpplint._re_pattern_templates = []
 
 cpplint._RE_PATTERN_TODO = re.compile(r'^//(\s*)TODO(\(.+?\))?:?(\s|$)?')
 
tuple cpplint._RE_PATTERN_TYPE
 
 cpplint._RE_SUPPRESSION = re.compile(r'\bNOLINT\b(\([^)]*\))?')
 
dictionary cpplint._regexp_compile_cache = {}
 
 cpplint._root = None
 
string cpplint._USAGE
 
 cpplint._valid_extensions = set(['cc', 'h', 'cpp', 'cu', 'cuh'])
 
tuple cpplint.threading_list
 


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:17