forked from OSchip/llvm-project
Initialize HighlightingsBuilder::Resolver
Detected by msan with: -Xclang -enable-noundef-analysis -mllvm -msan-eager-checks=1 Differential Revision: https://reviews.llvm.org/D116828
This commit is contained in:
parent
ee43259cbc
commit
669eb60046
|
@ -468,7 +468,7 @@ private:
|
|||
const LangOptions &LangOpts;
|
||||
std::vector<HighlightingToken> Tokens;
|
||||
std::map<Range, llvm::SmallVector<HighlightingModifier, 1>> ExtraModifiers;
|
||||
const HeuristicResolver *Resolver;
|
||||
const HeuristicResolver *Resolver = nullptr;
|
||||
// returned from addToken(InvalidLoc)
|
||||
HighlightingToken InvalidHighlightingToken;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue