[PATCH] D128704: [clang-extdef-mapping] Directly process .ast files

Tobias Hieta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 01:00:22 PDT 2022


thieta added a comment.

Ran some internal benchmarks on 1570 files (C and C++ mixed but much more C++ than C):

Running clang-extdef-mapping on the source files took: 268s 
Running clang-extdef-mapping on the AST: 102s

That's quite a large speed up if you already need to generate the AST files.

I'll fix the variable names and then merge this one unless someone complains.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128704



More information about the cfe-commits mailing list