[all-commits] [llvm/llvm-project] 8dd8e5: [Clang] Add BuiltinTemplates.td to generate code f...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Feb 26 07:01:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dd8e5f7d692cc43f4322f04034f5c472381aa43
      https://github.com/llvm/llvm-project/commit/8dd8e5f7d692cc43f4322f04034f5c472381aa43
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/DeclID.h
    A clang/include/clang/Basic/BuiltinTemplates.td
    M clang/include/clang/Basic/Builtins.h
    M clang/include/clang/Basic/CMakeLists.txt
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/utils/TableGen/CMakeLists.txt
    A clang/utils/TableGen/ClangBuiltinTemplatesEmitter.cpp
    M clang/utils/TableGen/TableGen.cpp
    M clang/utils/TableGen/TableGenBackends.h

  Log Message:
  -----------
  [Clang] Add BuiltinTemplates.td to generate code for builtin templates (#123736)

This makes it significantly easier to add new builtin templates, since
you only have to modify two places instead of a dozen or so.

The `BuiltinTemplates.td` could also be extended to generate
documentation from it in the future.



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