[clang-tools-extra] [clang-tidy][C++20] Add support for Initialization Forwarding in Nested Objects (PR #131969)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 28 03:14:37 PDT 2025
================
@@ -305,6 +320,38 @@ void UseEmplaceCheck::registerMatchers(MatchFinder *Finder) {
this);
}
+const Expr *unwrapInnerExpression(const Expr *E) {
+
+ while (true) {
----------------
vbvictor wrote:
you could write `while(E)` and get rid of if
```cpp
if (!E)
break;
```
https://github.com/llvm/llvm-project/pull/131969
More information about the cfe-commits
mailing list