[llvm-branch-commits] [llvm] [llvm][mustache] Support setting delimiters in templates (PR #159187)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 29 10:12:15 PDT 2025


================
@@ -7,9 +7,14 @@
 //===----------------------------------------------------------------------===//
 #include "llvm/Support/Mustache.h"
 #include "llvm/ADT/SmallVector.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
+
+#include <cctype>
----------------
ilovepi wrote:

I misremembered the convention in LLVM as having separate blocks for system headers, so I added the new line. Easy to correct. 

The Debug.h file is required for LLVM_DEBUG, though. My own clangd and build aren't giving me any warnings for this file. That may depend on your build config type, though? I'm using RelWithDebInfo + assertions enabled.

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


More information about the llvm-branch-commits mailing list