[all-commits] [llvm/llvm-project] 7f92a1: Misleading unicode identifier detection pass

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Nov 9 12:47:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f92a1a84b96ff0b7568a35704c9483e9f24f057
      https://github.com/llvm/llvm-project/commit/7f92a1a84b96ff0b7568a35704c9483e9f24f057
  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
    M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
    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
    M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
    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/

This is a recommit of 299aa4dfa1d8c120648b1404b481d858b76c8173 with missing
option registration fixed.

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




More information about the All-commits mailing list