[PATCH] D90832: [clang-tidy] Extend IdentifierNamingCheck per file config

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 11:19:29 PST 2020


njames93 updated this revision to Diff 303198.
njames93 added a comment.
Herald added a subscriber: aheejin.

Removed unnecessary formatting changes
Added test cases.

With the test cases I removed some cases that actually were never tested due to the order in which clang-tidy handles applying configurations. Right now there just isnt the infrastructure needed to fully test those cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90832/new/

https://reviews.llvm.org/D90832

Files:
  clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style-disabled/.clang-tidy
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style-disabled/header.h
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style1/.clang-tidy
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style1/header.h
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style2/.clang-tidy
  clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style2/header.h
  clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-multiple-styles.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90832.303198.patch
Type: text/x-patch
Size: 16061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201105/8cf68d7e/attachment-0001.bin>


More information about the cfe-commits mailing list