================ @@ -9760,8 +9760,8 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC, if (getLangOpts().CPlusPlus) { // The rules for implicit inlines changed in C++20 for methods and friends // with an in-class definition (when such a definition is not attached to - // the global module). User-specified 'inline' overrides this (set when - // the function decl is created above). + // the global module). This does not affect declarations, that are already + // inline, for example due being declared `inline` or `consteval` ---------------- tomasz-kaminski-sonarsource wrote:
Updated the comment and added entry in bug fixes changes. https://github.com/llvm/llvm-project/pull/109470 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits