mgehre marked 3 inline comments as done. mgehre added inline comments.
================ Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4596 + for (Decl *Redecl : D->redecls()) { + Redecl->addAttr(::new (S.Context) + OwnerAttr(AL.getRange(), S.Context, DerefTypeLoc, ---------------- gribozavr wrote: > Add it only if it does not already exist? If a previous decl had that Attribute, then we would have inherited it, and the check above for an existing attribute would have led to an early return. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66179/new/ https://reviews.llvm.org/D66179 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits