Skip to content

Commit

Permalink
Revert rG299aa4dfa1d8c120648b1404b481d858b76c8173 "Misleading unicode…
Browse files Browse the repository at this point in the history
… identifier detection pass"

This is failing on various buildbots: https://lab.llvm.org/buildbot/#/builders/109/builds/25932
  • Loading branch information
RKSimon committed Nov 9, 2021
1 parent 29a8b1f commit 5338629
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 239 deletions.
1 change: 0 additions & 1 deletion clang-tools-extra/clang-tidy/misc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangTidyMiscModule
DefinitionsInHeadersCheck.cpp
MiscTidyModule.cpp
MisleadingIdentifier.cpp
MisplacedConstCheck.cpp
NewDeleteOverloadsCheck.cpp
NoRecursionCheck.cpp
Expand Down
163 changes: 0 additions & 163 deletions clang-tools-extra/clang-tidy/misc/MisleadingIdentifier.cpp

This file was deleted.

31 changes: 0 additions & 31 deletions clang-tools-extra/clang-tidy/misc/MisleadingIdentifier.h

This file was deleted.

5 changes: 1 addition & 4 deletions clang-tools-extra/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,12 @@ New checks
Reports identifiers whose names are too short. Currently checks local
variables and function parameters only.


- New :doc:`readability-data-pointer <clang-tidy/checks/readability-data-pointer>` check.

Finds cases where code could use ``data()`` rather than the address of the
element at index 0 in a container.

- New :doc:`misc-misleading-identifier <clang-tidy/checks/misc-misleading-identifier>` check.

Reports identifier with unicode right-to-left characters.

New check aliases
^^^^^^^^^^^^^^^^^

Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/docs/clang-tidy/checks/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ Clang-Tidy Checks
`llvmlibc-implementation-in-namespace <llvmlibc-implementation-in-namespace.html>`_,
`llvmlibc-restrict-system-libc-headers <llvmlibc-restrict-system-libc-headers.html>`_, "Yes"
`misc-definitions-in-headers <misc-definitions-in-headers.html>`_, "Yes"
`misc-misleading-identifier <misc-mileading-identifier.html>`_,
`misc-misplaced-const <misc-misplaced-const.html>`_,
`misc-new-delete-overloads <misc-new-delete-overloads.html>`_,
`misc-no-recursion <misc-no-recursion.html>`_,
Expand Down Expand Up @@ -450,4 +449,4 @@ Clang-Tidy Checks
`hicpp-vararg <hicpp-vararg.html>`_, `cppcoreguidelines-pro-type-vararg <cppcoreguidelines-pro-type-vararg.html>`_,
`llvm-else-after-return <llvm-else-after-return.html>`_, `readability-else-after-return <readability-else-after-return.html>`_, "Yes"
`llvm-qualified-auto <llvm-qualified-auto.html>`_, `readability-qualified-auto <readability-qualified-auto.html>`_, "Yes"


This file was deleted.

This file was deleted.

0 comments on commit 5338629

Please sign in to comment.