Working in D133574 we discovered -Wconsumed print '' with anonymous
class/struct. After this patch we give a line number, file name of
anonymous struct/class declaration.
Example:
struct S { struct { __attribute__((callable_when(consumed))) void func(); } s; };
local/anoy-consume.cpp:3:20: warning: consumed analysis attribute is attached to member of class 'S::(unnamed struct at local/anoy-consume.cpp:2:3)' which isn't marked as consumable [-Wconsumed] __attribute__((callable_when(consumed))) void func(); ^ 1 warning generated.
Link: https://reviews.llvm.org/D133574#3817743
Link: https://godbolt.org/z/16vP3voTW