aaron.ballman added inline comments. ================ Comment at: lib/Sema/SemaDeclAttr.cpp:1046 @@ +1045,3 @@ + diag::note_attribute_packed_for_bitfield_offset_changed) + << FD->getDeclName(); + ---------------- No need to call getDeclName(), the diagnostic can accept a NamedDecl directly (which properly quotes the name in the diagnostic).
http://reviews.llvm.org/D14872 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits