[PATCH] D128113: Clang: fix AST representation of expanded template arguments.

joanahalili via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 07:50:29 PDT 2022


joanahalili added a comment.

F24241982: reproduction.cpp <https://reviews.llvm.org/F24241982>

  clang -fsyntax-only -std=c++17  -fproc-stat-report -Wno-deprecated-declarations  -fsized-deallocation -Werror -Wno-deprecated-declarations  -Wno-inconsistent-missing-override -Wno-null-conversion -Wno-ignored-attributes  -Wno-defaulted-function-deleted -xc++ reproduction.cpp

This is the reproducer we managed to create for the memory increase.  As mentioned above we notice both a difference in memory and execution time. 
Clang version before this patch

- Memory: 8Gb
- Time: 32507 ms

Clang version with this patch:

- Memory: 10.5 Gb (1.5Gb increase)
- Time 63812 (almost double the previous compilation time).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128113



More information about the cfe-commits mailing list