File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cpp/common/src/codingstandards/cpp/enhancements
c/common/src/codingstandards/c Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import codingstandards.cpp.Type
99 * A null pointer constant, which is either in the form `NULL` or `(void *)0`.
1010 */
1111predicate isNullPointerConstant ( Expr e ) {
12- e .findRootCause ( ) instanceof NULLMacro
12+ e .findRootCause ( ) instanceof NullMacro
1313 or
1414 exists ( CStyleCast c |
1515 not c .isImplicit ( ) and
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module MacroEnhancements {
2929 /** A use of the NULL macro. */
3030 class NULL extends StandardLibrary:: Literal {
3131 NULL ( ) {
32- exists ( StandardLibrary:: NULLMacro nm | this = nm .getAnInvocation ( ) .getAnExpandedElement ( ) )
32+ exists ( StandardLibrary:: NullMacro nm | this = nm .getAnInvocation ( ) .getAnExpandedElement ( ) )
3333 }
3434 }
3535}
You can’t perform that action at this time.
0 commit comments