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

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 14:10:42 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:
----------------
sdkrystian wrote:

In the default case of the switch statement (line 9142, `AL.getInfo().handleDeclAttribute(S, D, AL)`)

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


More information about the cfe-commits mailing list