[all-commits] [llvm/llvm-project] dfbe2b: [clang][NFC] Refactor `Sema::TemplateDeductionResu...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Mon Feb 12 09:28:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfbe2bca1d8ccee87f032562fd60214ca8ea0d22
      https://github.com/llvm/llvm-project/commit/dfbe2bca1d8ccee87f032562fd60214ca8ea0d22
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/TemplateDeduction.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `Sema::TemplateDeductionResult` (#81398)

This patch converts `Sema::TemplateDeductionResult` into a scoped enum
in namespace scope, making it eligible for forward declaring. This is
useful in certain contexts, such as `preferred_type` annotations on
bit-fields.




More information about the All-commits mailing list