aaron.ballman added inline comments.
================ Comment at: clang-tidy/zircon/TemporaryObjectsCheck.cpp:51 + "creating a temporary object of type %0 is prohibited") + << D->getConstructor()->getParent()->getQualifiedNameAsString(); +} ---------------- aaron.ballman wrote: > aaron.ballman wrote: > > You can skip the call to `getQualifiedNameAsString()`; the diagnostics > > engine will handle it properly. > This doesn't seem to be done? Ah, I see why now. You should change to `%q0` (and drop the existing single quotes) and then get rid of `getQualifiedNameAsString()`. https://reviews.llvm.org/D44346 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits