[Lldb-commits] [clang] [lldb] [Clang] Initial support for P2841 (Variable template and concept template parameters) (PR #150823)
Erich Keane via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 28 09:08:09 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;
----------------
erichkeane wrote:
could we just early-return?
https://github.com/llvm/llvm-project/pull/150823
More information about the lldb-commits
mailing list