[clang] [Clang][Sema][Parse] Delay parsing of noexcept-specifiers in friend function declarations (PR #90517)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 06:13:23 PDT 2024


================
@@ -4101,8 +4101,8 @@ class Sema final : public SemaBase {
   /// (or member function template). The exception-specification was parsed
   /// after the method itself was declared.
   void actOnDelayedExceptionSpecification(
-      Decl *Method, ExceptionSpecificationType EST,
-      SourceRange SpecificationRange, ArrayRef<ParsedType> DynamicExceptions,
+      Decl *D, ExceptionSpecificationType EST, SourceRange SpecificationRange,
----------------
cor3ntin wrote:

Can you update the commento to explain that D can be the declaration of a friend function (template) ?

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


More information about the cfe-commits mailing list