[clang-tools-extra] fix(clang-tools-extra/**.py): fix comparison to None (PR #94013)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 12:31:54 PDT 2024
================
@@ -1071,7 +1071,7 @@ bool IdentifierNamingCheck::isParamInMainLikeFunction(
if (!IsIntType(FDecl->parameters()[0]->getType()))
return false;
MainType Type = IsCharPtrPtr(FDecl->parameters()[1]->getType());
- if (Type == None)
+ if (Type is None)
----------------
5chmidti wrote:
That's a cpp file, please remove this part of the change.
https://github.com/llvm/llvm-project/pull/94013
More information about the cfe-commits
mailing list