Files
clang-p2996/clang/lib/CodeGen/CGLoopInfo.cpp
Balazs Benics 2e85138c0d [clang][NFC] Generalize getSpecificAttr for const attributes (#116606)
This patch allows using `getSpecificAttr` for getting `const`
attributes. Previously, if users of this API would want to get a const
Attribute pointer, they had to pass `getSpecificAttr<const XYZ>()`, to
get it compile. It feels like an arbitrary limitation as the constness
was already encoded in the Attribute container's value type.
2024-12-04 15:17:47 +01:00

32 KiB