[Lldb-commits] [clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)

Corentin Jabot via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 29 00:05:31 PDT 2025


================
@@ -339,6 +339,18 @@ bool TemplateArgument::isPackExpansion() const {
   llvm_unreachable("Invalid TemplateArgument Kind!");
 }
 
+bool TemplateArgument::isConceptOrConceptTemplateParameter() const {
+  bool isConcept = false;
+  if (getKind() == TemplateArgument::Template) {
+    if (isa<ConceptDecl>(getAsTemplate().getAsTemplateDecl()))
+      isConcept = true;
----------------
cor3ntin wrote:

I will be honest, I have no clue what happened there :facepalm: 

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


More information about the lldb-commits mailing list