Lines Matching defs:Check

40 #  - Check for no 'explicit' for multi-arg ctor
41 # - Check for boolean assign RHS in parens
42 # - Check for ctor initializer-list colon position and spacing
43 # - Check that if there's a ctor, there should be a dtor
44 # - Check accessors that return non-pointer member variables are
46 # - Check accessors that return non-const pointer member vars are
48 # - Check for using public includes for testing
49 # - Check for spaces between brackets in one-line inline method
50 # - Check for no assert()
51 # - Check for spaces surrounding operators
52 # - Check for 0 in pointer context (should be NULL)
53 # - Check for 0 in char context (should be '\0')
54 # - Check for camel-case method name conventions for methods
58 # - Check for old-school (void) cast for call-sites of functions
60 # - Check gUnit usage of anonymous namespace
61 # - Check for class declaration order (typedefs, consts, enums,
483 """Check if a header is in alphabetical order with the previous header.
700 def Check(self, error, filename, linenum):
1087 # Check first line
1443 """Check end of namespace comments."""
1446 # Check how many lines is enclosed in this namespace. Don't issue
1518 """Check if we have seen the opening brace for the innermost block.
1527 """Check if we are currently one level inside a namespace body.
2013 function_state.Check(error, filename, linenum)
2306 # Check if the // may be in quotes. If so, ignore it
2355 # Check <= and >= first to avoid false positives with < and >, then
2749 """Check alternative keywords being used in boolean expressions.
2862 # Check if the line is a header guard.
3029 """Check rules that are applicable to #include lines.
3192 # Check for non-const references in functions. This is tricky because &
3217 # Check to see if they're using an conversion function cast.
3266 # Check pointer casts for other than string constants
3280 # Check for people declaring static/global STL strings at the top level.
3296 # Check that we're not using RTTI outside of testing code.
3315 # Check if people are using the verboten C basic types. The only exception
3335 # Check if some verboten C functions are being used.
3348 # Check if some verboten operator overloading is going on
3358 # Check for suspicious usage of "if" like
3364 # Check for potential format string bugs like printf(foo).
3381 # Check for potential memset bugs like memset(buf, sizeof(buf), 0).
3452 # Check for use of unnamed namespaces in header files. Registration
3591 """Check if these two filenames belong to the same module.
3771 """Check that make_pair's template arguments are deduced.