Skip to content

Commit 75ddf2a

Browse files
[Analysis] Use "= default" in a constructor (NFC) (#165395)
Note that all of the members are properly initialized a few lines above the constructor.
1 parent b2b2c52 commit 75ddf2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Analysis/IR2Vec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class VocabStorage {
161161

162162
public:
163163
/// Default constructor creates empty storage (invalid state)
164-
VocabStorage() : Sections(), TotalSize(0), Dimension(0) {}
164+
VocabStorage() = default;
165165

166166
/// Create a VocabStorage with pre-organized section data
167167
VocabStorage(std::vector<std::vector<Embedding>> &&SectionData);

0 commit comments

Comments
 (0)