[all-commits] [llvm/llvm-project] 299aa4: Misleading unicode identifier detection pass

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Nov 9 07:01:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 299aa4dfa1d8c120648b1404b481d858b76c8173
      https://github.com/llvm/llvm-project/commit/299aa4dfa1d8c120648b1404b481d858b76c8173
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    A clang-tools-extra/clang-tidy/misc/MisleadingIdentifier.cpp
    A clang-tools-extra/clang-tidy/misc/MisleadingIdentifier.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp

  Log Message:
  -----------
  Misleading unicode identifier detection pass

Detect when an identifier contains some Right-To-Left characters.
This pass relates to https://trojansource.codes/

Differential Revision: https://reviews.llvm.org/D112914




More information about the All-commits mailing list