================
@@ -75,18 +76,18 @@ struct llvm::TimeTraceProfilerEntry {
   const std::string Name;
   TimeTraceMetadata Metadata;
 
-  const bool AsyncEvent = false;
+  TimeTraceEventType EventType;
----------------
ilya-biryukov wrote:

Let's assign the default to avoid accidentally having uninitialized fields 
(like we used before).
Both enums and bools can produce those.

`= CompleteEvent` should be an ok choice.


https://github.com/llvm/llvm-project/pull/103039
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to