reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/Attrs.inc
 8849       if (!VD->hasAttrs())
 8857       if (!VD->hasAttrs())
tools/clang/include/clang/AST/DeclBase.h
  506     return hasAttrs() ? getAttrs().begin() : nullptr;
  509     return hasAttrs() ? getAttrs().end() : nullptr;
  539     return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
  543     return hasAttrs() && hasSpecificAttr<T>(getAttrs());
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1142   if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) {
 1142   if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) {
 1143     AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs());
 1143     AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs());
tools/clang/lib/AST/ASTImporter.cpp
  274       if (FromD->hasAttrs())
tools/clang/lib/AST/DeclBase.cpp
  386   if (!hasAttrs())
  831   if (!hasAttrs()) {
tools/clang/lib/AST/DeclPrinter.cpp
  231   if (D->hasAttrs()) {
  253   if (D->hasAttrs()) {
tools/clang/lib/AST/Mangle.cpp
  108   if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
tools/clang/lib/Analysis/ThreadSafety.cpp
 1515   if(!FunDecl || !FunDecl->hasAttrs())
 1740   if (!D || !D->hasAttrs())
 1779   if (!D || !D->hasAttrs())
 2089   if(!D || !D->hasAttrs())
 2150         if (!CtorD || !CtorD->hasAttrs())
 2163         if (!CtorD || !CtorD->hasAttrs())
 2307   if (!SortedGraph->empty() && D->hasAttrs()) {
 2474           if (!DD->hasAttrs())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4407       if (VD->hasAttrs()) {
11081   if (!FD->hasAttrs() || !FD->hasAttr<OMPDeclareVariantAttr>())
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  275       if (VD->hasAttrs()) {
  327     if (VD->hasAttrs() && VD->hasAttr<OMPAllocateDeclAttr>())
  335           if (!FD->hasAttrs())
 4798   if (VD->hasAttrs()) {
tools/clang/lib/Index/CommentToXML.cpp
  983   if (DI->CommentDecl->hasAttrs()) {
tools/clang/lib/Sema/SemaCUDA.cpp
   99   return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) {
tools/clang/lib/Sema/SemaDecl.cpp
 2622   if (!New->hasAttrs())
 2778   if (!Old->hasAttrs() && !New->hasAttrs())
 2778   if (!Old->hasAttrs() && !New->hasAttrs())
 2871   if (!Old->hasAttrs())
 2874   bool foundAny = New->hasAttrs();
 2935   if (!oldDecl->hasAttrs())
 2938   bool foundAny = newDecl->hasAttrs();
 7545   if (NewVD->hasAttrs())
16161     if (NewFD->hasAttrs())
16729     if (Record->hasAttrs()) {
17579   if (Enum->hasAttrs())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2218   if (D->hasAttrs()) {
 3764   assert(D->hasAttrs() && "no attributes on decl");
tools/clang/lib/Sema/SemaOpenMP.cpp
 2177                 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr, DRE);
 4983     return FD->hasAttrs() &&
 5096   if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) {
 5202   if (!Func->isDependentContext() && Func->hasAttrs()) {
 6388         LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr,
12123                      D->hasAttrs() ? &D->getAttrs() : nullptr,
12373                      D->hasAttrs() ? &D->getAttrs() : nullptr,
12550                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
12555                      D->hasAttrs() ? &D->getAttrs() : nullptr);
13342                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13344                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13394                      D->hasAttrs() ? &D->getAttrs() : nullptr,
13843                      D->hasAttrs() ? &D->getAttrs() : nullptr,
14166                      ".copyin.src", VD->hasAttrs() ? &VD->getAttrs() : nullptr);
14171                      VD->hasAttrs() ? &VD->getAttrs() : nullptr);
14280                      D->hasAttrs() ? &D->getAttrs() : nullptr);
14284                      D->hasAttrs() ? &D->getAttrs() : nullptr);
16421                      D->hasAttrs() ? &D->getAttrs() : nullptr,
tools/clang/lib/Sema/SemaStmt.cpp
 3593     if (FD->hasAttrs())
 3605     if (MD->hasAttrs())
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  996   if (Field->hasAttrs())
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 4418         if (!D->hasAttrs())
tools/clang/lib/Serialization/ASTWriter.cpp
 5354         Record.push_back(D->hasAttrs());
 5355         if (D->hasAttrs())
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  299   Record.push_back(D->hasAttrs());
  300   if (D->hasAttrs())
  384       !D->hasAttrs() &&
  449       !D->hasAttrs() &&
  486       !D->hasAttrs() &&
  777       !D->hasAttrs() &&
  909       !D->hasAttrs() &&
 1026       !D->hasAttrs() &&
 1076       !D->hasAttrs() &&
 1343       !D->hasAttrs() &&
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  930   if (ShouldIncludeOwnershipAnnotatedFunctions && FD->hasAttrs()) {
 1213     if (FD->hasAttrs())
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp
  155     if (Method->hasAttrs()) {
tools/clang/tools/libclang/CIndex.cpp
 3982   if (D->hasAttrs()) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  282   if (!D->hasAttrs())
 1153   if (D->hasAttrs()) {