Home | History | Annotate | Download | only in checkers

Lines Matching refs:Use

9 # Redistribution and use in source and binary forms, with or without
29 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
52 # The key to use to provide a class to fake loading a header file.
117 # These constants define types of headers for use with
509 min_confidence: The minimum confidence level to use while checking style.
972 '#ifndef header guard has wrong style, please use: %s' % cppvar[0])
1044 'ugly and unnecessary, and you should use concatenation instead".')
1070 tests guide the engineers to use thread-safe functions (when using
1167 # if it is requested, use heuristics to guess the value.
1230 '%q in format strings is deprecated. Use %ll instead.')
1256 'Uncommented text after #endif is non-standard. Use a comment.')
1377 # we use a very simple way to recognize these:
1478 # Use the column numbers from the modified line to find the
1695 # Search for the function arguments or an initializer list. We use a
1886 'Semicolon defining empty statement. Use { } instead.')
1890 'use { } instead.')
1894 'statement, use { } instead.')
1900 'Semicolon defining empty statement for this loop. Use { } instead.')
1998 "Use 'using namespace std;' instead of 'using std::%s;'." % method_name)
2002 """Looks use of MAX() and MIN() macros that should be replaced with std::max() and std::min().
2025 'Use std::%s() or std::%s<type>() instead of the %s() macro.'
2140 'One line control clauses should not use braces.')
2152 'Else clause should never be on same line as else (use 2 lines)')
2301 """Checks the use of CHECK and EXPECT macros.
2370 error(line_number, 'readability/null', 5, 'Use 0 instead of NULL.')
2378 error(line_number, 'readability/null', 4, 'Use 0 or null instead of NULL (even in *comments*).')
2424 'Tab found; better to use spaces')
2755 'Use static_cast<%s>(...) instead' %
2788 'For a static/global string constant, use a C style string instead: '
2795 'Do not use dynamic_cast<>. If you need to cast within a class '
2796 "hierarchy, use static_cast<> to upcast. Google doesn't support "
2814 'Use "unsigned short" for ports, not "short"')
2820 'If you can, use sizeof(%s) instead of %s as the 2nd arg '
2826 'Never use sprintf. Use snprintf instead.')
2902 'Do not use variable-length arrays. Use an appropriately named '
2905 # Check for use of unnamed namespaces in header files. Registration
2906 # macros are typically OK, so we allow use of "namespace {" on lines
2912 'Do not use unnamed namespaces in header files. See '
2924 and don't check use of identifiers.
3022 error(line_number, 'readability/naming', 4, identifier + " is incorrectly named. Don't use underscores in your identifier names.")
3026 error(line_number, 'readability/naming', 4, identifier + " is incorrectly named. Don't use the single letter 'l' as an identifier name.")
3063 'Using sizeof(type). Use sizeof(varname) instead if possible')
3090 'Using C-style cast. Use %s<%s>(...) instead' %
3218 io: The io factory to use to read the file. Provided for testability.
3246 necessary for the stl containers and functions that you use. We only give one
3247 reason to include a header. For example, if you use both equal_to<> and
3289 # Use the absolute path so that matching works properly.