aaron.ballman added a comment.

This is missing all of the usual semantic tests (attribute accepts no args, 
applies only to functions, etc).



================
Comment at: clang/include/clang/Basic/Attr.td:1975
+  let Spellings = [Clang<"no_profile">];
+  let Subjects = SubjectList<[Function]>;
+  let Documentation = [NoProfileDocs];
----------------
Should this also be supported on ObjC methods?


================
Comment at: clang/include/clang/Basic/AttrDocs.td:2566
+Use the ``no_profile`` attribute on a function declaration to denote that the
+compiler should not instrument the function with profile related
+instrumentation, such as via the
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104475

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to