Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Classes | Functions | Variables
core.waf.cpplint Namespace Reference

Classes

class  cpplint_formatter
 
class  cpplint_wrapper
 
class  cpplint
 
class  CPPLint
 

Functions

def init_env_from_options
 
def get_cpplint_logger
 
def cpplint_includes
 
def run_cpplint
 
def options
 
def configure
 
def lint
 

Variables

int critical_errors = 0
 
string CPPLINT_FORMAT = '[CPPLINT] %(filename)s:\nline %(linenum)s, severity %(confidence)s, category: %(category)s\n%(message)s\n'
 
tuple RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')
 
dictionary CPPLINT_RE
 
 cpplint_logger = None
 

Function Documentation

def core.waf.cpplint.configure (   self)
def core.waf.cpplint.cpplint_includes (   self,
  node 
)
def core.waf.cpplint.get_cpplint_logger (   fmt)
def core.waf.cpplint.init_env_from_options (   env)

References pysc::api::cci.list().

Referenced by core.waf.cpplint.run_cpplint().

Here is the call graph for this function:

def core.waf.cpplint.lint (   self)
Use cpplint to check all files
def core.waf.cpplint.options (   opt)
def core.waf.cpplint.run_cpplint (   self)

References core.waf.cpplint.init_env_from_options().

Here is the call graph for this function:

Variable Documentation

string core.waf.cpplint.CPPLINT_FORMAT = '[CPPLINT] %(filename)s:\nline %(linenum)s, severity %(confidence)s, category: %(category)s\n%(message)s\n'
core.waf.cpplint.cpplint_logger = None
dictionary core.waf.cpplint.CPPLINT_RE
Initial value:
1 = {
2  'waf': RE_EMACS,
3  'emacs': RE_EMACS,
4  'vs7': re.compile('(?P<filename>.*)\((?P<linenum>\d+)\): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
5  'eclipse': re.compile('(?P<filename>.*):(?P<linenum>\d+): warning: (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
6 }
int core.waf.cpplint.critical_errors = 0
tuple core.waf.cpplint.RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')