[all-commits] [llvm/llvm-project] b94db7: [clang-tidy] Confusable identifiers detection

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Jun 3 03:20:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b94db7ed7eaf4a3b21f600653a09c55cab77b79f
      https://github.com/llvm/llvm-project/commit/b94db7ed7eaf4a3b21f600653a09c55cab77b79f
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/build_confusable_table.cpp
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/confusables.txt
    A clang-tools-extra/clang-tidy/misc/Homoglyph.cpp
    A clang-tools-extra/clang-tidy/misc/Homoglyph.h
    M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
    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-homoglyph.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc-homoglyph.cpp

  Log Message:
  -----------
  [clang-tidy] Confusable identifiers detection

Detect identifiers that are confusable according to Unicode definition

        http://www.unicode.org/reports/tr39/#Confusable_Detection

and have conflicting scopes.

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




More information about the All-commits mailing list