Home
last modified time | relevance | path

Searched refs:HasAttrs (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/AST/
DDeclBase.cpp573 assert(!HasAttrs && "Decl already contains attrs."); in setAttrsImpl()
579 HasAttrs = true; in setAttrsImpl()
583 if (!HasAttrs) return; in dropAttrs()
585 HasAttrs = false; in dropAttrs()
590 assert(HasAttrs && "No attrs to get!"); in getAttrs()
595 bool HasLHSAttr = this->HasAttrs; in swapAttrs()
596 bool HasRHSAttr = RHS->HasAttrs; in swapAttrs()
616 this->HasAttrs = false; in swapAttrs()
617 RHS->HasAttrs = true; in swapAttrs()
DASTDumper.cpp669 bool HasAttrs = D->attr_begin() != D->attr_end(); in dumpDecl() local
675 setMoreChildren(HasAttrs || HasComment || HasDeclContext); in dumpDecl()
/external/clang/include/clang/AST/
DDeclBase.h251 unsigned HasAttrs : 1; variable
309 HasAttrs(false), Implicit(false), Used(false), Referenced(false), in Decl()
319 HasAttrs(false), Implicit(false), Used(false), Referenced(false), in Decl()
405 bool hasAttrs() const { return HasAttrs; } in hasAttrs()
436 if (!HasAttrs) return; in dropAttr()
442 HasAttrs = false; in dropAttr()