[clang-tools-extra] [llvm] [llvm] add support for mustache templating language (PR #105893)

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 11:12:02 PST 2025


================
@@ -0,0 +1,785 @@
+//===-- Mustache.cpp ------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/Mustache.h"
+#include "llvm/Support/Error.h"
+#include "llvm/Support/raw_ostream.h"
+#include <sstream>
+
+using namespace llvm;
+using namespace llvm::json;
----------------
AaronBallman wrote:

I'd be fine either way; LLVM already has a `Value` type, but I doubt there will be any type confusion in this case due to library layering.

https://github.com/llvm/llvm-project/pull/105893


More information about the llvm-commits mailing list