Lines Matching refs:decl
140 static bool IsAnnotated(clang::Decl* decl, const std::string& anno) {
141 clang::AnnotateAttr* attr = decl->getAttr<clang::AnnotateAttr>();
145 static bool IsStackAnnotated(clang::Decl* decl) {
146 return IsAnnotated(decl, "blink_stack_allocated");
149 static bool IsIgnoreAnnotated(clang::Decl* decl) {
150 return IsAnnotated(decl, "blink_gc_plugin_ignore");
153 static bool IsIgnoreCycleAnnotated(clang::Decl* decl) {
154 return IsAnnotated(decl, "blink_gc_plugin_ignore_cycle") ||
155 IsIgnoreAnnotated(decl);