[all-commits] [llvm/llvm-project] 5d98d8: [Sema] Avoid unnecessary copy on MultiLevelTemplat...

Younan Zhang via All-commits all-commits at lists.llvm.org
Fri Mar 8 04:26:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d98d8822c69bc9d32c25190beaf1eaccf9ddd37
      https://github.com/llvm/llvm-project/commit/5d98d8822c69bc9d32c25190beaf1eaccf9ddd37
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaConcept.cpp

  Log Message:
  -----------
  [Sema] Avoid unnecessary copy on MultiLevelTemplateArgumentList. NFC (#84459)

We don't modify the MLTAL parameter in `SetupConstraintScope`, and it is
better if we don't copy the 120-byte object each time we call the
function.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list