[PATCH] D148410: [Parse] Remove TimeTraceScope for "ParseTemplate"

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 17 09:58:09 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG676a96f768e1: [Parse] Remove TimeTraceScope for "ParseTemplate" (authored by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148410/new/

https://reviews.llvm.org/D148410

Files:
  clang/lib/Parse/ParseTemplate.cpp


Index: clang/lib/Parse/ParseTemplate.cpp
===================================================================
--- clang/lib/Parse/ParseTemplate.cpp
+++ clang/lib/Parse/ParseTemplate.cpp
@@ -281,12 +281,6 @@
     return nullptr;
   }
 
-  llvm::TimeTraceScope TimeScope("ParseTemplate", [&]() {
-    return std::string(DeclaratorInfo.getIdentifier() != nullptr
-                           ? DeclaratorInfo.getIdentifier()->getName()
-                           : "<unknown>");
-  });
-
   LateParsedAttrList LateParsedAttrs(true);
   if (DeclaratorInfo.isFunctionDeclarator()) {
     if (Tok.is(tok::kw_requires)) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148410.514284.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230417/f97a4cc4/attachment.bin>


More information about the cfe-commits mailing list