[llvm] r362433 - gn build: Merge r362371

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 11:29:01 PDT 2019


Author: nico
Date: Mon Jun  3 11:29:00 2019
New Revision: 362433

URL: http://llvm.org/viewvc/llvm-project?rev=362433&view=rev
Log:
gn build: Merge r362371

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

Modified: llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn?rev=362433&r1=362432&r2=362433&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn Mon Jun  3 11:29:00 2019
@@ -89,6 +89,14 @@ clang_tablegen("AttrHasAttributeImpl") {
   td_file = "Attr.td"
 }
 
+clang_tablegen("OpenCLBuiltins") {
+  args = [
+    "-gen-clang-opencl-builtins",
+    "-I",
+    rebase_path("../..", root_out_dir),
+  ]
+}
+
 # Misc
 
 clang_tablegen("arm_neon") {

Modified: llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn?rev=362433&r1=362432&r2=362433&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn Mon Jun  3 11:29:00 2019
@@ -2,6 +2,7 @@ static_library("Sema") {
   output_name = "clangSema"
   configs += [ "//llvm/utils/gn/build:clang_code" ]
   deps = [
+    "//clang/include/clang/Basic:OpenCLBuiltins",
     "//clang/include/clang/Sema:AttrParsedAttrImpl",
     "//clang/include/clang/Sema:AttrParsedAttrKinds",
     "//clang/include/clang/Sema:AttrParsedAttrList",

Modified: llvm/trunk/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/utils/TableGen/BUILD.gn?rev=362433&r1=362432&r2=362433&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/utils/TableGen/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/utils/TableGen/BUILD.gn Mon Jun  3 11:29:00 2019
@@ -11,6 +11,7 @@ executable("clang-tblgen") {
     "ClangCommentHTMLTagsEmitter.cpp",
     "ClangDataCollectorsEmitter.cpp",
     "ClangDiagnosticsEmitter.cpp",
+    "ClangOpenCLBuiltinEmitter.cpp",
     "ClangOptionDocEmitter.cpp",
     "ClangSACheckersEmitter.cpp",
     "NeonEmitter.cpp",




More information about the llvm-commits mailing list