Files
clang-p2996/llvm/lib/IR/Attributes.cpp
Nikita Popov 9afb6360fc [Attributes] Avoid duplicate hasAttribute() query (NFC)
removeAttribute() already performs a hasAttribute() check, so no
need to also do it in the caller. Instead check whether the
attribute set was changed.

This makes the implementations in line with removeAttributesAtIndex().
2023-01-09 12:59:16 +01:00

70 KiB