Lines Matching defs:attributes
38 std::vector<const char*> attributes;
41 attributes.emplace_back("noreturn");
42 attributes.emplace_back("carries_dependency");
46 attributes.emplace_back("deprecated");
49 attributes.emplace_back("fallthrough");
50 attributes.emplace_back("nodiscard");
51 attributes.emplace_back("maybe_unused");
55 attributes.emplace_back("likely");
56 attributes.emplace_back("unlikely");
57 attributes.emplace_back("no_unique_address");
61 attributes.emplace_back("assume");
64 return attributes;
83 // TODO: Don't emit FixItHints for attributes with `using` in them or emit correct fixes.
127 auto diagnostic = diag(attr->getLoc(), "Non-standard attributes should use the _Ugly spelling");