[clang] Reland: [clang] Track function template instantiation from definition (PR #125266)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 1 05:18:06 PST 2025
================
@@ -2298,6 +2298,13 @@ class FunctionDecl : public DeclaratorDecl,
FunctionDeclBits.IsLateTemplateParsed = ILT;
}
+ bool isInstantiatedFromMemberTemplate() const {
+ return FunctionDeclBits.IsInstantiatedFromMemberTemplate;
+ }
+ void setInstantiatedFromMemberTemplate(bool Val = true) {
+ FunctionDeclBits.IsInstantiatedFromMemberTemplate = Val;
+ }
+
----------------
cor3ntin wrote:
Is that even used?
https://github.com/llvm/llvm-project/pull/125266
More information about the cfe-commits
mailing list