================ @@ -65,7 +65,7 @@ class CXXFieldCollector { /// getCurFields - Pointer to array of fields added to the currently parsed /// class. - FieldDecl **getCurFields() { return &*(Fields.end() - getCurNumFields()); } ---------------- Keenuts wrote:
Thanks for the review and linked pointers! This seems to be the case. and generated code does only the pointer arithmetic, no actual load. Closing this as this is not an issue. btw, I like your C++ trivia on twitter š https://github.com/llvm/llvm-project/pull/70193 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits