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

Egor Zhdan via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 12:05:12 PDT 2024


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

The existing methods that do the same thing for classes, methods, etc. are called `convertX` without the `Info` suffix. I think it's better keep the naming consistent.

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


More information about the cfe-commits mailing list