rjmccall added inline comments.
================ Comment at: include/clang/CodeGen/CodeGenABITypes.h:81 +// Returns a field number for a struct suitable for GEP'ing +unsigned getFieldNumber(CodeGenModule &CGM, ---------------- "Given a non-bitfield struct field, return its index within the elements of the struct's converted type." ================ Comment at: include/clang/CodeGen/CodeGenABITypes.h:83 +unsigned getFieldNumber(CodeGenModule &CGM, + const RecordDecl *RD, const FieldDecl *FD); + ---------------- I think "getLLVMFieldNumber" is probably the right name for this. https://reviews.llvm.org/D38473 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits