mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix uninitialized variable warnings. NFCI.
This commit is contained in:
parent
007e7fdf77
commit
b62361ac54
@ -44,7 +44,7 @@ struct GenericEnum {
|
||||
using Entry = std::pair<StringRef, int64_t>;
|
||||
|
||||
std::string Name;
|
||||
Record *Class;
|
||||
Record *Class = nullptr;
|
||||
std::string PreprocessorGuard;
|
||||
std::vector<std::unique_ptr<Entry>> Entries;
|
||||
DenseMap<Record *, Entry *> EntryMap;
|
||||
@ -63,7 +63,7 @@ struct GenericField {
|
||||
struct SearchIndex {
|
||||
std::string Name;
|
||||
SmallVector<GenericField, 1> Fields;
|
||||
bool EarlyOut;
|
||||
bool EarlyOut = false;
|
||||
};
|
||||
|
||||
struct GenericTable {
|
||||
|
Loading…
Reference in New Issue
Block a user