[PATCH] D30018: [XRay] Add __xray_customeevent(...) as a clang-supported builtin

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 09:00:56 PDT 2017


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lib/CodeGen/CGBuiltin.cpp:2748
+    if (const auto *XRayAttr =
+            this->CurFuncDecl->getAttr<XRayInstrumentAttr>()) {
+      if (XRayAttr->neverXRayInstrument())
----------------
rnk wrote:
> Don't need `this->`
Do you think `this->` is necessary?


https://reviews.llvm.org/D30018





More information about the cfe-commits mailing list