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

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Jun 22 07:19:28 PDT 2022


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

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    A clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp
    A clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.h
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/BuildConfusableTable.cpp
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt
    A clang-tools-extra/clang-tidy/misc/ConfusableTable/confusables.txt
    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-confusable-identifiers.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc-confusable-identifiers.cpp

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

Detect identifiers that are confusable using a variant of Unicode definition

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

and have conflicting scopes.

This a recommit (with portability and feature fixes) of b94db7ed7eaf4a3b21f600653a09c55cab77b79f

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




More information about the All-commits mailing list