[llvm] eb37abe - [gn] port 50127ac054a0 (AttributeSpellingList.inc)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 06:24:54 PDT 2025


Author: Nico Weber
Date: 2025-05-23T09:24:38-04:00
New Revision: eb37abeca116fcb903a0ea57ace20df72fbf2288

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

LOG: [gn] port 50127ac054a0 (AttributeSpellingList.inc)

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
    llvm/utils/gn/secondary/clang/lib/Basic/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 f02c4754801fb..447fbf82586f7 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
@@ -130,6 +130,11 @@ clang_tablegen("CXX11AttributeInfo") {
   td_file = "../Basic/Attr.td"
 }
 
+clang_tablegen("AttributeSpellingList") {
+  args = [ "-gen-attribute-spelling-list" ]
+  td_file = "Attr.td"
+}
+
 clang_tablegen("Builtins") {
   args = [ "-gen-clang-builtins" ]
 }

diff  --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index 2f45dcf642462..46986b4ab03bc 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -54,6 +54,7 @@ static_library("Basic") {
   ]
   deps = [
     ":write_vcsversion",
+    "//clang/include/clang/Basic:AttributeSpellingList",
     "//clang/include/clang/Basic:AttrHasAttributeImpl",
     "//clang/include/clang/Basic:CXX11AttributeInfo",
     "//clang/include/clang/Basic:DiagnosticAllCompatIDs",
@@ -100,6 +101,7 @@ static_library("Basic") {
     "SanitizerSpecialCaseList.cpp",
     "Sanitizers.cpp",
     "Sarif.cpp",
+    "SimpleTypoCorrection.cpp",
     "SourceLocation.cpp",
     "SourceManager.cpp",
     "SourceMgrAdapter.cpp",


        


More information about the llvm-commits mailing list