[clang] [Clang] Add BuiltinTemplates.td to generate code for builtin templates (PR #123736)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 23 08:03:31 PST 2025
================
@@ -0,0 +1,23 @@
+//===--- BuiltinTemplates.td - Clang builtin template aliases ---*- 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: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+class BuiltinTemplate<string prototype> {
+ string Prototype = prototype;
----------------
erichkeane wrote:
Not sure `Prototype` is what we mean here... Perhaps `TemplateHead`?
https://github.com/llvm/llvm-project/pull/123736
More information about the cfe-commits
mailing list