[PATCH] D40489: [clangd] Changed tracing interfaces
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 13 08:16:16 PST 2017
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clangd/Trace.cpp:134
+ Callback = T->beginSpan(Ctx, Name);
+ if (!Callback)
+ return;
----------------
I'm not sure this is useful. Tracers that aren't interested in args can't opt out by providing a null callback, unless they also don't care about the end time.
This seems unlikely (a null tracer, I guess)
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40489
More information about the cfe-commits
mailing list