Skip to content

Commit

Permalink
[CodeGen] Modernize CallArgList (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Aug 20, 2023
1 parent 7a68060 commit f01f2de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/CodeGen/CGCall.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ struct CallArg {
/// arguments in a call.
class CallArgList : public SmallVector<CallArg, 8> {
public:
CallArgList() : StackBase(nullptr) {}
CallArgList() = default;

struct Writeback {
/// The original argument. Note that the argument l-value
Expand Down Expand Up @@ -362,7 +362,7 @@ class CallArgList : public SmallVector<CallArg, 8> {
SmallVector<EndLifetimeInfo, 2> LifetimeCleanups;

/// The stacksave call. It dominates all of the argument evaluation.
llvm::CallInst *StackBase;
llvm::CallInst *StackBase = nullptr;
};

/// FunctionArgList - Type for representing both the decl and type
Expand Down

0 comments on commit f01f2de

Please sign in to comment.