[PATCH] D112024: [clang] diagnose_as attribute for Fortify diagnosing like builtins.

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 15 13:41:38 PST 2021


mbenfield updated this revision to Diff 387389.
mbenfield added a comment.

s/requires/takes in diagnostic message.

Test case with a non-template overloaded function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112024

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Sema/ParsedAttr.h
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/Sema/attr-diagnose-as-builtin.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112024.387389.patch
Type: text/x-patch
Size: 15340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211115/5d8dd57d/attachment-0001.bin>


More information about the cfe-commits mailing list