forked from OSchip/llvm-project
Fix uninitialized variable warnings. NFCI.
This commit is contained in:
parent
3c37981bb3
commit
612810e333
|
@ -44,7 +44,7 @@ struct GenericEnum {
|
||||||
using Entry = std::pair<StringRef, int64_t>;
|
using Entry = std::pair<StringRef, int64_t>;
|
||||||
|
|
||||||
std::string Name;
|
std::string Name;
|
||||||
Record *Class;
|
Record *Class = nullptr;
|
||||||
std::string PreprocessorGuard;
|
std::string PreprocessorGuard;
|
||||||
std::vector<std::unique_ptr<Entry>> Entries;
|
std::vector<std::unique_ptr<Entry>> Entries;
|
||||||
DenseMap<Record *, Entry *> EntryMap;
|
DenseMap<Record *, Entry *> EntryMap;
|
||||||
|
@ -63,7 +63,7 @@ struct GenericField {
|
||||||
struct SearchIndex {
|
struct SearchIndex {
|
||||||
std::string Name;
|
std::string Name;
|
||||||
SmallVector<GenericField, 1> Fields;
|
SmallVector<GenericField, 1> Fields;
|
||||||
bool EarlyOut;
|
bool EarlyOut = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct GenericTable {
|
struct GenericTable {
|
||||||
|
|
Loading…
Reference in New Issue