[clang] [clang-tools-extra] [clang][NFC] Refactor `CXXNewExpr::InitializationStyle` (PR #71322)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 6 04:17:52 PST 2023
================
@@ -2008,22 +2008,23 @@ ExprResult Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange();
SourceLocation StartLoc = Range.getBegin();
- CXXNewExpr::InitializationStyle initStyle;
+ CXXNewInitializationStyle initStyle;
----------------
AaronBallman wrote:
```suggestion
CXXNewInitializationStyle InitStyle;
```
since we're already touching all those lines anyway? (I don't insist.)
https://github.com/llvm/llvm-project/pull/71322
More information about the cfe-commits
mailing list