diff --git a/clang/lib/Index/IndexingContext.h b/clang/lib/Index/IndexingContext.h index 01bfcb9d578bc..5a9e1f7f337bf 100644 --- a/clang/lib/Index/IndexingContext.h +++ b/clang/lib/Index/IndexingContext.h @@ -44,6 +44,9 @@ class IndexingContext { public: IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer); + // Defaulted, but defined out of line to avoid a dependency on + // HeuristicResolver.h (unique_ptr requires a complete type at + // the point where its destructor is called). ~IndexingContext(); const IndexingOptions &getIndexOpts() const { return IndexOpts; }