[PATCH] D157394: [clang][DeclPrinter] Improve AST print of function attributes

Timo Stripf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 9 00:12:02 PDT 2023


strimo378 updated this revision to Diff 548487.
strimo378 edited the summary of this revision.
strimo378 added a comment.

Using Attr::getSyntax function (instead of unnecessarly added Attr::getVariety function)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157394

Files:
  clang/lib/AST/DeclPrinter.cpp
  clang/test/AST/ast-print-method-decl.cpp
  clang/test/AST/ast-print-no-sanitize.cpp
  clang/test/OpenMP/assumes_codegen.cpp
  clang/test/OpenMP/assumes_print.cpp
  clang/test/OpenMP/assumes_template_print.cpp
  clang/test/OpenMP/declare_simd_ast_print.cpp
  clang/test/SemaCXX/attr-no-sanitize.cpp
  clang/test/SemaCXX/cxx11-attr-print.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157394.548487.patch
Type: text/x-patch
Size: 20769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230809/21ae4fec/attachment-0001.bin>


More information about the cfe-commits mailing list