[PATCH] D64448: gsl::Owner/gsl::Pointer: Add implicit annotations for some std types

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 21 14:58:44 PDT 2019


lebedev.ri added a comment.

In D64448#1595022 <https://reviews.llvm.org/D64448#1595022>, @mgehre wrote:

> In D64448#1595017 <https://reviews.llvm.org/D64448#1595017>, @lebedev.ri wrote:
>
> > Just passing-by thought:
> >  These attributes that are being added implicitly, it will be possible to differentiate
> >  whether an attribute was actually present in the code, or was added implicitly,
> >  say for clang-tidy check purposes?
> >  Is there some 'implicit' bit on these, or they have a location not in the source buffer?
>
>
> Thanks for the question! The implicitly added attributes have an invalid source location.


Sounds good, thanks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64448/new/

https://reviews.llvm.org/D64448





More information about the cfe-commits mailing list