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
9
9
* A null pointer constant, which is either in the form `NULL` or `(void *)0`.
10
10
*/
11
11
predicate isNullPointerConstant ( Expr e ) {
12
- e .findRootCause ( ) instanceof NULLMacro
12
+ e .findRootCause ( ) instanceof NullMacro
13
13
or
14
14
exists ( CStyleCast c |
15
15
not c .isImplicit ( ) and
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module MacroEnhancements {
29
29
/** A use of the NULL macro. */
30
30
class NULL extends StandardLibrary:: Literal {
31
31
NULL ( ) {
32
- exists ( StandardLibrary:: NULLMacro nm | this = nm .getAnInvocation ( ) .getAnExpandedElement ( ) )
32
+ exists ( StandardLibrary:: NullMacro nm | this = nm .getAnInvocation ( ) .getAnExpandedElement ( ) )
33
33
}
34
34
}
35
35
}
You can’t perform that action at this time.
0 commit comments