[clang] [llvm] Added instant events and marking defered templated instantiation. (PR #103039)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 09:46:29 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list