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;
|
||||
RefType Type;
|
||||
Symbol Sym;
|
||||
SmallVector<SymbolLocation> Locations;
|
||||
SmallVector<Header> Headers;
|
||||
SmallVector<const Include *> Includes;
|
||||
bool Satisfied = false; // Is the include present?
|
||||
std::string Insert; // If we had no includes, what would we insert?
|
||||
SmallVector<SymbolLocation> Locations = {};
|
||||
SmallVector<Header> Headers = {};
|
||||
SmallVector<const Include *> Includes = {};
|
||||
bool Satisfied = false; // Is the include present?
|
||||
std::string Insert = {}; // If we had no includes, what would we insert?
|
||||
};
|
||||
std::vector<Ref> Refs;
|
||||
llvm::DenseMap<const Include *, std::vector<unsigned>> IncludeRefs;
|
||||
|
|
Loading…
Reference in New Issue