Explicatory comment for folks that may not be
familiar with the ownership relationships
involving Diagnostic.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117573 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/ClangASTContext.cpp b/source/Symbol/ClangASTContext.cpp
index efea85a..760d8ec 100644
--- a/source/Symbol/ClangASTContext.cpp
+++ b/source/Symbol/ClangASTContext.cpp
@@ -738,6 +738,7 @@
                            ASTContext *source_context,
                            clang_type_t clang_type)
 {
+    // null_client's ownership is transferred to diagnostics
     NullDiagnosticClient *null_client = new NullDiagnosticClient;
     Diagnostic diagnostics(null_client);
     FileManager file_manager;