[clang] [llvm] [Clang] Fix cleanup attribute by delaying type checks after the type is deduced (PR #164440)

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 08:06:37 PDT 2025


================
@@ -737,6 +737,9 @@ class Attr {
   // our existing general parsing we need to have a separate flag that
   // opts an attribute into strict parsing of attribute parameters
   bit StrictEnumParameters = 0;
+  // Set to true for attributes which have Sema checks which requires the type
+  // to be deduced.
----------------
AaronBallman wrote:

Might be worth adding a code example of when this would be set to true?

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


More information about the llvm-commits mailing list