[clang] [APINotes] Support fields of C/C++ structs (PR #104088)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 10:53:26 PDT 2024


================
@@ -793,6 +827,16 @@ class YAMLConverter {
                          SwiftVersion);
   }
 
+  template <typename T>
+  void convertVariable(const T &Entity, VariableInfo &VI) {
----------------
compnerd wrote:

I think that `computeVariableInfo` seems better - we are "hydrating" the variable information from the entity.

https://github.com/llvm/llvm-project/pull/104088


More information about the cfe-commits mailing list