[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] fix getTemplateInstantiationArgs (PR #199528)

Matheus Izvekov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 26 06:58:31 PDT 2026


================
@@ -475,14 +476,18 @@ class FunctionTemplateSpecializationInfo final
   /// The function template from which this function template
   /// specialization was generated.
   ///
-  /// The two bits contain the top 4 values of TemplateSpecializationKind.
-  llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template;
+  /// The three bits contain the TemplateSpecializationKind.
----------------
mizvekov wrote:

Yes, `Decl` is defined like so: `class alignas(8) Decl {`.

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


More information about the llvm-branch-commits mailing list