1
0
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:
Simon Pilgrim 2019-11-09 17:02:51 +00:00
parent 007e7fdf77
commit b62361ac54

View File

@ -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 {