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

Go to the source code of this file.

Classes

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

Namespaces

 roslint.cpplint
 

Functions

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

Variables

dictionary roslint.cpplint._ALT_TOKEN_REPLACEMENT
 
 roslint.cpplint._ALT_TOKEN_REPLACEMENT_PATTERN
 
int roslint.cpplint._BLOCK_ASM = 3
 
int roslint.cpplint._C_SYS_HEADER = 1
 
list roslint.cpplint._CHECK_MACROS
 
 roslint.cpplint._CHECK_REPLACEMENT = dict([(m, {}) for m in _CHECK_MACROS])
 
 roslint.cpplint._CPP_HEADERS
 
int roslint.cpplint._CPP_SYS_HEADER = 2
 
 roslint.cpplint._cpplint_state = _CppLintState()
 
list roslint.cpplint._DEFAULT_C_SUPPRESSED_CATEGORIES
 
list roslint.cpplint._DEFAULT_FILTERS = ['-build/include_alpha']
 
list roslint.cpplint._DEFAULT_KERNEL_SUPPRESSED_CATEGORIES
 
 roslint.cpplint._EMPTY_CONDITIONAL_BODY_PATTERN = re.compile(r'^\s*$', re.DOTALL)
 
int roslint.cpplint._END_ASM = 2
 
list roslint.cpplint._ERROR_CATEGORIES
 
dictionary roslint.cpplint._error_suppressions = {}
 
dictionary roslint.cpplint._global_error_suppressions = {}
 
tuple roslint.cpplint._HEADERS_CONTAINING_TEMPLATES
 
tuple roslint.cpplint._HEADERS_MAYBE_TEMPLATES
 
 roslint.cpplint._hpp_headers = set(['h'])
 
int roslint.cpplint._INSIDE_ASM = 1
 
list roslint.cpplint._LEGACY_ERROR_CATEGORIES
 
int roslint.cpplint._LIKELY_MY_HEADER = 3
 
int roslint.cpplint._line_length = 80
 
 roslint.cpplint._MATCH_ASM
 
int roslint.cpplint._NO_ASM = 0
 
int roslint.cpplint._OTHER_HEADER = 5
 
int roslint.cpplint._POSSIBLE_MY_HEADER = 4
 
 roslint.cpplint._RE_FIRST_COMPONENT = re.compile(r'^[^-_.]+')
 
string roslint.cpplint._RE_PATTERN_C_COMMENTS = r'/\*(?:[^*]|\*(?!/))*\*/'
 
 roslint.cpplint._RE_PATTERN_CLEANSE_LINE_C_COMMENTS
 
 roslint.cpplint._RE_PATTERN_CLEANSE_LINE_ESCAPES
 
tuple roslint.cpplint._RE_PATTERN_CONST_REF_PARAM
 
 roslint.cpplint._RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\bmake_pair\s*<')
 
list roslint.cpplint._re_pattern_headers_maybe_templates = []
 
string roslint.cpplint._RE_PATTERN_IDENT = r'[_a-zA-Z]\w*'
 
 roslint.cpplint._RE_PATTERN_INCLUDE = re.compile(r'^\s*#\s*include\s*([<"])([^>"]*)[>"].*$')
 
 roslint.cpplint._RE_PATTERN_INVALID_INCREMENT
 
 roslint.cpplint._RE_PATTERN_REF_PARAM
 
tuple roslint.cpplint._RE_PATTERN_REF_STREAM_PARAM
 
 roslint.cpplint._RE_PATTERN_STRING = re.compile(r'\bstring\b')
 
list roslint.cpplint._re_pattern_templates = []
 
 roslint.cpplint._RE_PATTERN_TODO = re.compile(r'^//(\s*)TODO(\(.+?\))?:?(\s|$)?')
 
tuple roslint.cpplint._RE_PATTERN_TYPE
 
dictionary roslint.cpplint._regexp_compile_cache = {}
 
 roslint.cpplint._root = None
 
bool roslint.cpplint._root_debug = False
 
 roslint.cpplint._SEARCH_C_FILE
 
 roslint.cpplint._SEARCH_KERNEL_FILE = re.compile(r'\b(?:LINT_KERNEL_FILE)')
 
string roslint.cpplint._TEST_FILE_SUFFIX = r'(_test|_unittest|_regtest)$'
 
 roslint.cpplint._THIRD_PARTY_HEADERS_PATTERN
 
tuple roslint.cpplint._THREADING_LIST
 
 roslint.cpplint._TYPES
 
string roslint.cpplint._UNSAFE_FUNC_PREFIX = r'(?:[-+*/=%^&|(<]\s*|>\s+)'
 
string roslint.cpplint._USAGE
 
 roslint.cpplint._valid_extensions = set(['cc', 'h', 'cpp', 'cu', 'cuh'])
 
 roslint.cpplint.stderr
 
 roslint.cpplint.unicode = str
 
 roslint.cpplint.xrange = range
 


roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Wed Mar 18 2020 03:20:56