[clang] Performance optimizations for function effects (nonblocking attribute etc.) (PR #96844)

Doug Wyatt via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 26 21:11:04 PDT 2024


================
@@ -5132,6 +5130,10 @@ class FunctionProtoType final
     return hasExtParameterInfos() ? getNumParams() : 0;
   }
 
+  unsigned numTrailingObjects(OverloadToken<Qualifiers>) const {
----------------
dougsonos wrote:

Seems necessary when making Qualifiers no longer last.

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


More information about the cfe-commits mailing list