forked from OSchip/llvm-project
[include-cleaner] Fix a warning
This patch fixes: clang-tools-extra/include-cleaner/lib/HTMLReport.cpp:240:51: error: missing field 'Locations' initializer [-Werror,-Wmissing-field-initializers]
This commit is contained in:
parent
64612f5d8e
commit
9c8a6a1627
|
@ -146,11 +146,11 @@ class Reporter {
|
||||||
unsigned Offset;
|
unsigned Offset;
|
||||||
RefType Type;
|
RefType Type;
|
||||||
Symbol Sym;
|
Symbol Sym;
|
||||||
SmallVector<SymbolLocation> Locations;
|
SmallVector<SymbolLocation> Locations = {};
|
||||||
SmallVector<Header> Headers;
|
SmallVector<Header> Headers = {};
|
||||||
SmallVector<const Include *> Includes;
|
SmallVector<const Include *> Includes = {};
|
||||||
bool Satisfied = false; // Is the include present?
|
bool Satisfied = false; // Is the include present?
|
||||||
std::string Insert; // If we had no includes, what would we insert?
|
std::string Insert = {}; // If we had no includes, what would we insert?
|
||||||
};
|
};
|
||||||
std::vector<Ref> Refs;
|
std::vector<Ref> Refs;
|
||||||
llvm::DenseMap<const Include *, std::vector<unsigned>> IncludeRefs;
|
llvm::DenseMap<const Include *, std::vector<unsigned>> IncludeRefs;
|
||||||
|
|
Loading…
Reference in New Issue