[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:10:46 PDT 2024


================
@@ -8619,6 +8621,18 @@ QualType DecayedType::getPointeeType() const {
 void FixedPointValueToString(SmallVectorImpl<char> &Str, llvm::APSInt Val,
                              unsigned Scale);
 
+inline FunctionEffectsRef FunctionEffectsRef::get(QualType QT) {
----------------
dougsonos wrote:

Same implementation as before, just inlined since it's heavily used.

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


More information about the cfe-commits mailing list