[PATCH] D86880: [Ignore Expressions][NFC] Refactor to better use `IgnoreExpr.h` and nits
Eduardo Caldas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 09:12:19 PDT 2020
eduucaldas created this revision.
eduucaldas added a reviewer: gribozavr2.
Herald added subscribers: cfe-commits, martong.
Herald added a project: clang.
eduucaldas requested review of this revision.
This change groups
- Rename: `ignoreParenBaseCasts` -> `IgnoreParenBaseCasts` for uniformity
- Rename: `IgnoreConversionOperator` -> `IgnoreConversionOperatorSingleStep` for uniformity
- Inline `IgnoreNoopCastsSingleStep` into a lambda inside `IgnoreNoopCasts`
- Refactor `IgnoreUnlessSpelledInSource` to make adequate use of `IgnoreExprNodes`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86880
Files:
clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
clang/include/clang/AST/Expr.h
clang/lib/AST/Expr.cpp
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/StaticAnalyzer/Core/CallEvent.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86880.288961.patch
Type: text/x-patch
Size: 9992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200831/dcfcf16b/attachment.bin>
More information about the cfe-commits
mailing list