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

Matthias Gehre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 21 14:52:00 PDT 2019


mgehre added a comment.

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.


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