import clang-12.0.1-4.module+el8.5.0+13246+cefb5d4c
This commit is contained in:
parent
0a1a5dbb5b
commit
3b828aba1d
@ -210,8 +210,8 @@ index 0000000..f9b3075
|
||||
+void MisleadingIdentifierCheck::check(
|
||||
+ const ast_matchers::MatchFinder::MatchResult &Result) {
|
||||
+ if (const auto *ND = Result.Nodes.getNodeAs<NamedDecl>("nameddecl")) {
|
||||
+ StringRef NDName = ND->getName();
|
||||
+ if (hasRTLCharacters(NDName))
|
||||
+ IdentifierInfo *II = ND->getIdentifier();
|
||||
+ if (II && hasRTLCharacters(II->getName()))
|
||||
+ diag(ND->getBeginLoc(), "identifier has right-to-left codepoints");
|
||||
+ }
|
||||
+}
|
||||
|
@ -68,7 +68,7 @@
|
||||
|
||||
Name: %pkg_name
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A C language family front-end for LLVM
|
||||
|
||||
License: NCSA
|
||||
@ -548,6 +548,9 @@ false
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Wed Nov 10 2021 sguelton@redhat.com - 12.0.1-4
|
||||
- Trojan source clang-tidy patchset fix
|
||||
|
||||
* Thu Nov 4 2021 sguelton@redhat.com - 12.0.1-3
|
||||
- Trojan source clang-tidy patchset
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user