[PATCH] D111548: [Clang] Add the `annotate_type` attribute

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 09:17:13 PDT 2022


xbolva00 added inline comments.


================
Comment at: clang/test/Sema/annotate-type.c:6
+void foo(float * [[clang::annotate_type("foo")]] a) {
+  int [[clang::annotate_type("bar")]] x1;
+  int * [[clang::annotate_type("bar")]] x2;
----------------
Is it possible to typedef int [[clang::annotate_type("bar")]]  mymagicint_t ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111548



More information about the cfe-commits mailing list