[clang] 4d434f7 - [Sema] Modernize Usage (NFC)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 20 09:43:18 PDT 2023
Author: Kazu Hirata
Date: 2023-08-20T09:43:04-07:00
New Revision: 4d434f76967f2fea344fc9de2686a9295c16e56d
URL: https://github.com/llvm/llvm-project/commit/4d434f76967f2fea344fc9de2686a9295c16e56d
DIFF: https://github.com/llvm/llvm-project/commit/4d434f76967f2fea344fc9de2686a9295c16e56d.diff
LOG: [Sema] Modernize Usage (NFC)
Added:
Modified:
clang/lib/Sema/SemaChecking.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index dc5c47e3d79648..9f8b0ab928e84b 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -15896,10 +15896,10 @@ class SequenceChecker : public ConstEvaluatedExprVisitor<SequenceChecker> {
/// Bundle together a sequencing region and the expression corresponding
/// to a specific usage. One Usage is stored for each usage kind in UsageInfo.
struct Usage {
- const Expr *UsageExpr;
+ const Expr *UsageExpr = nullptr;
SequenceTree::Seq Seq;
- Usage() : UsageExpr(nullptr) {}
+ Usage() = default;
};
struct UsageInfo {
More information about the cfe-commits
mailing list