[llvm] cfdeca3 - [gn build] Port 8dd8e5f7d692 (BuiltinTemplates.td)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 11:09:09 PST 2025


Author: Nico Weber
Date: 2025-02-26T14:08:43-05:00
New Revision: cfdeca394e8c212bf0ff38e5bb8a8ed36954132c

URL: https://github.com/llvm/llvm-project/commit/cfdeca394e8c212bf0ff38e5bb8a8ed36954132c
DIFF: https://github.com/llvm/llvm-project/commit/cfdeca394e8c212bf0ff38e5bb8a8ed36954132c.diff

LOG: [gn build] Port 8dd8e5f7d692 (BuiltinTemplates.td)

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
    llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
    llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
index 941db48a2dc12..7db37467cfc8b 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
@@ -137,6 +137,10 @@ clang_tablegen("BuiltinsX86_64") {
   args = [ "-gen-clang-builtins" ]
 }
 
+clang_tablegen("BuiltinTemplates") {
+  args = [ "-gen-clang-builtin-templates" ]
+}
+
 # ARM CDE, MVE, and NEON.
 
 clang_tablegen("arm_neon") {

diff  --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index fd671bbdf7c65..f73f151878809 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -32,6 +32,7 @@ static_library("Basic") {
     "//clang/include/clang/Basic:BuiltinsSPIRV",
     "//clang/include/clang/Basic:BuiltinsX86",
     "//clang/include/clang/Basic:BuiltinsX86_64",
+    "//clang/include/clang/Basic:BuiltinTemplates",
     "//clang/include/clang/Basic:DiagnosticGroups",
     "//clang/include/clang/Basic:RegularKeywordAttrInfo",
     "//clang/include/clang/Basic:arm_cde_builtins",

diff  --git a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
index b5f3bc0a7baf5..85703906f46a6 100644
--- a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
@@ -10,6 +10,7 @@ executable("clang-tblgen") {
     "ClangASTNodesEmitter.cpp",
     "ClangASTPropertiesEmitter.cpp",
     "ClangAttrEmitter.cpp",
+    "ClangBuiltinTemplatesEmitter.cpp",
     "ClangBuiltinsEmitter.cpp",
     "ClangCommentCommandInfoEmitter.cpp",
     "ClangCommentHTMLNamedCharacterReferenceEmitter.cpp",


        


More information about the llvm-commits mailing list