[clang] nonblocking/nonallocating attributes: 2nd pass caller/callee analysis (PR #99656)

Doug Wyatt via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 11:30:59 PDT 2024


================
@@ -4914,6 +4920,78 @@ class FunctionEffectsRef {
   void dump(llvm::raw_ostream &OS) const;
 };
 
+/// A mutable set of FunctionEffect::Kind.
+class FunctionEffectKindSet {
----------------
dougsonos wrote:

For now I've left the special iterator but replaced the manual bit-twiddling with a `std::bitset`.

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


More information about the cfe-commits mailing list