[llvm-branch-commits] [clang] [clang] Implement instantiation context note for checking template parameters (PR #126088)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 20 03:20:09 PST 2025


================
@@ -11802,9 +11817,10 @@ class Sema final : public SemaBase {
                                      bool PartialOrdering,
                                      bool *StrictPackMatch);
 
+  SmallString<128> toTerseString(const NamedDecl &D) const;
----------------
cor3ntin wrote:

Given this is used 2 times, i wonder if it's actually useful. especially in Sema.
If we really think we need thar, I'd rather have it be a new overload of Decl::print, or `Decl::printTerse` or something like that

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


More information about the llvm-branch-commits mailing list