Member predicate Attribute::getName

Gets the name of this attribute.

As examples, this is “noreturn” for __attribute__((__noreturn__)), “fallthrough” for [[clang::fallthrough]], and “dllimport” for __declspec(dllimport).

Note that the name does not include the namespace. For example, the name of [[clang::fallthrough]] is “fallthrough”.

string getName()