[clang] [Clang][Sema] Warn when 'exclude_from_explicit_instantiation' attribute is used on local classes and members thereof (PR #88777)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 13:14:54 PDT 2024


================
@@ -9315,6 +9330,9 @@ ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const ParsedAttr &AL,
   case ParsedAttr::AT_Error:
     handleErrorAttr(S, D, AL);
     break;
+  case ParsedAttr::AT_ExcludeFromExplicitInstantiation:
----------------
erichkeane wrote:

What is the previous 'handle' function?  Typically with decl attributes we need have an entry on this switch.

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


More information about the cfe-commits mailing list