[clang] [llvm] Added instant events and marking defered templated instantiation. (PR #103039)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 15:13:58 PDT 2024
================
@@ -194,13 +234,17 @@ struct llvm::TimeTraceProfiler {
J.attribute("pid", Pid);
J.attribute("tid", int64_t(Tid));
J.attribute("ts", StartUs);
- if (E.AsyncEvent) {
+ if (TimeTraceEventType::AsyncEvent == E.EventType) {
----------------
usx95 wrote:
nit: `E.EventType == TimeTraceEventType::AsyncEvent` for consistency with usage below.
https://github.com/llvm/llvm-project/pull/103039
More information about the cfe-commits
mailing list