[PATCH] D66443: [LifetimeAnalysis] Add [[gsl::Pointer]] to llvm::StringRef
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 01:34:10 PDT 2020
mstorsjo added a comment.
In D66443#1986064 <https://reviews.llvm.org/D66443#1986064>, @bondhugula wrote:
> This revision leads a pervasive warning from StringRef.h (on the release build with Clang/Clang++ 9.0.1):
>
> llvm/include/llvm/ADT/StringRef.h:57:11: warning: unknown attribute 'Pointer' ignored [-Wunknown-attributes]
>
Same thing with GCC 7:
../include/llvm/ADT/StringRef.h:57:26: warning: ‘gsl::Pointer’ scoped attribute directive ignored [-Wattributes]
class [[gsl::Pointer]] StringRef {
^~~~~~~~~
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66443/new/
https://reviews.llvm.org/D66443
More information about the llvm-commits
mailing list