================
@@ -19,11 +19,11 @@
namespace clang {
namespace api_notes {
-class APINotesWriter::Implementation {
- template <typename T>
- using VersionedSmallVector =
- llvm::SmallVector<std::pair<llvm::VersionTuple, T>, 1>;
+template <typename T>
+using VersionedSmallVector =
+ llvm::SmallVector<std::pair<llvm::VersionTuple, T>, 1>;
----------------
egorzhdan wrote:
We can't access `APINotesWriter::Implementation::VersionedSmallVector` from
`APINotesWriter::addObjCContext` unless we declare `friend class
APINotesWriter`.
I just did that, let me know if you think this is better 🙂
https://github.com/llvm/llvm-project/pull/65187
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits