diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-03-22 12:49:58 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-03-22 12:49:58 +0000 |
commit | ee9247ed138b8ff8e6a9856e05f0a9e085b567f0 (patch) | |
tree | 87626e5f708f2b95f365bbeaf21dbe2eb7d0c03c /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | 4ae1b28a629cb46e8af69ab3773d591788be8d76 (diff) | |
download | bcm5719-llvm-ee9247ed138b8ff8e6a9856e05f0a9e085b567f0.tar.gz bcm5719-llvm-ee9247ed138b8ff8e6a9856e05f0a9e085b567f0.zip |
[clang-tidy] modified identifier naming case to use CT_AnyCase for ignoring case style
Summary:
Using CaseType::CT_AnyCase for selected identifier results in inheriting case style setting from more basic identifier type.
This patch changes CT_AnyCase behavior to ignore case style of specified identifier. If case style was not set, llvm::Optional will be used for keeping this information (llvm::Optional<>::hasVal), thus CT_AnyCase will no longer mean more general identifier style should be used.
This eliminates false-positives when naming convention is not clear for specific areas of code (legacy, third party) or for selected types.
Reviewers: berenm, alexfh
Reviewed By: alexfh
Subscribers: cfe-commits, JDevlieghere
Differential Revision: https://reviews.llvm.org/D30931
llvm-svn: 298499
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions