[clang] nonblocking/nonallocating attributes: 2nd pass caller/callee analysis (PR #99656)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 23:05:06 PDT 2024
================
@@ -4914,6 +4920,78 @@ class FunctionEffectsRef {
void dump(llvm::raw_ostream &OS) const;
};
+/// A mutable set of FunctionEffect::Kind.
+class FunctionEffectKindSet {
----------------
Sirraide wrote:
Is there a way to use `std::bitset` to simplify the implementation of this and/or use `llvm::map_range` for the iterator? Just thinking of ways you can avoid having to implement e.g. iterators for this yourself because this code feels like it should already exist somewhere else.
https://github.com/llvm/llvm-project/pull/99656
More information about the cfe-commits
mailing list