File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1071,7 +1071,7 @@ bool IdentifierNamingCheck::isParamInMainLikeFunction(
1071
1071
if (!IsIntType (FDecl->parameters ()[0 ]->getType ()))
1072
1072
return false ;
1073
1073
MainType Type = IsCharPtrPtr (FDecl->parameters ()[1 ]->getType ());
1074
- if (Type == None)
1074
+ if (Type is None)
1075
1075
return false ;
1076
1076
if (FDecl->getNumParams () == 3 &&
1077
1077
IsCharPtrPtr (FDecl->parameters ()[2 ]->getType ()) != Type)
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def get_checkers(checkers_td, checkers_rst):
47
47
parent_package_ = package ["ParentPackage" ]
48
48
hidden = (checker ["Hidden" ] != 0 ) or (package ["Hidden" ] != 0 )
49
49
50
- while parent_package_ != None :
50
+ while parent_package_ is not None :
51
51
parent_package = table_entries [parent_package_ ["def" ]]
52
52
checker_package_prefix = (
53
53
parent_package ["PackageName" ] + "." + checker_package_prefix
You can’t perform that action at this time.
0 commit comments