================
@@ -0,0 +1,60 @@
+#ifndef LLVM_CLANG_SUMMARY_SUMMARYCONTEXT_H
+#define LLVM_CLANG_SUMMARY_SUMMARYCONTEXT_H
+
+#include "clang/Summary/SummaryAttribute.h"
+#include "clang/Summary/SummaryConsumer.h"
+#include <set>
+
+namespace clang {
+class FunctionSummary {
+ SmallVector<char> ID;
----------------
isuckatcs wrote:
This is just an artifact from `index::generateUSRForDecl()` expecting a
`SmallVectorImpl<char> &` as it's buffer. In the very beginning, the
constructor of this class took a `FunctionDecl` and generated the USR into this
field.
This and every other data structure used needs to be revisited throught these
source files once again before the patch is finalized.
https://github.com/llvm/llvm-project/pull/144224
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits