]> granicus.if.org Git - clang/commit
Teach some warnings to respect gsl::Pointer and gsl::Owner attributes
authorGabor Horvath <xazax.hun@gmail.com>
Tue, 6 Aug 2019 19:13:29 +0000 (19:13 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Tue, 6 Aug 2019 19:13:29 +0000 (19:13 +0000)
commit3341cb6ed01a836d397743f6e69963ec22feece7
tree2b14f3aa7193ba15cc3d5a23f58a5ca3ac9501ca
parentbe2253d418fd82e09bbc5da76446f7462c5aaca1
Teach some warnings to respect gsl::Pointer and gsl::Owner attributes

This patch extends some existing warnings to utilize the knowledge about the gsl::Pointer and gsl::Owner attributes.

Differential Revision: https://reviews.llvm.org/D64256

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368072 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/Sema/warn-lifetime-analysis-nocfg.cpp [new file with mode: 0644]