[clang][Index] Add comment about out-of-line defaulted destructor (#138640)

diff --git a/clang/lib/Index/IndexingContext.h b/clang/lib/Index/IndexingContext.h
index 01bfcb9..5a9e1f7 100644
--- a/clang/lib/Index/IndexingContext.h
+++ b/clang/lib/Index/IndexingContext.h
@@ -44,6 +44,9 @@
 
 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; }