[PATCH] D30018: [XRay] Add __xray_customeevent(...) as a clang-supported builtin
Dean Michael Berris via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 8 17:58:52 PDT 2017
dberris marked an inline comment as done.
dberris added a comment.
Thanks @rnk!
================
Comment at: lib/CodeGen/CGBuiltin.cpp:2748
+ if (const auto *XRayAttr =
+ this->CurFuncDecl->getAttr<XRayInstrumentAttr>()) {
+ if (XRayAttr->neverXRayInstrument())
----------------
rnk wrote:
> rnk wrote:
> > Don't need `this->`
> Do you think `this->` is necessary?
Nope, just force of habit (and an aid to autocomplete) :D
https://reviews.llvm.org/D30018
More information about the cfe-commits
mailing list