[all-commits] [llvm/llvm-project] e47798: Fix readability-identifier-naming to prevent varia...

Daniel599 via All-commits all-commits at lists.llvm.org
Wed Oct 30 11:18:50 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e477988309dbde214a6d16ec690a416882714aac
      https://github.com/llvm/llvm-project/commit/e477988309dbde214a6d16ec690a416882714aac
  Author: Daniel <daniel.cohen599 at gmail.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
    M clang/include/clang/Basic/IdentifierTable.h

  Log Message:
  -----------
  Fix readability-identifier-naming to prevent variables becoming keywords.

Do not provide a fix-it when clang-tidy encounters a name that would become
a keyword.




More information about the All-commits mailing list