[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2024-01-06 Thread Nikolas Klauser via cfe-commits
@@ -0,0 +1,333 @@ +//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-20 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff ba24b814f2a20a136f0a7a0b492b6ad8a62114c6 da81d45e7bb78b611886035b0f331318e5fdd7e7 --

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,121 @@ +//===--- BuiltinsBase.td - common structured used by builtins ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,121 @@ +//===--- BuiltinsBase.td - common structured used by builtins ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,333 @@ +//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,121 @@ +//===--- BuiltinsBase.td - common structured used by builtins ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,333 @@ +//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- AaronBallman wrote: ```suggestion //=- ClangBuiltinsEmitter.cpp - Generate Clang builtins tables -*- C++ -*- ``` May need to adjust formatting. https://github.c

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman commented: I'm in favor of the changes in this patch, but precommit CI is currently failing with relevant failures that should be addressed. https://github.com/llvm/llvm-project/pull/68324 ___ cfe-commits mailing list c

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman edited https://github.com/llvm/llvm-project/pull/68324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-11-15 Thread Aaron Ballman via cfe-commits
@@ -0,0 +1,333 @@ +//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-10-05 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman commented: My review may take a bit because GitHub is struggling to render the changes in Builtins.td. However, I want to state up front just how incredibly excited I am for this refactoring. This will go a long ways towards letting us start to generate documen

[clang] [clang][NFC] Refactor Builtins.def to be a tablegen file (PR #68324)

2023-10-05 Thread Timm Baeder via cfe-commits
@@ -172,6 +173,8 @@ cl::opt Action( "Generate clang attribute text node dumper"), clEnumValN(GenClangAttrNodeTraverse, "gen-clang-attr-node-traverse", "Generate clang attribute traverser"), +clEnumValN(GenClangBuiltins, "gen