Home
last modified time | relevance | path

Searched refs:isFileVarDecl (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp1214 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && in findStyleKind()
1218 if (Decl->isFileVarDecl() && NamingStyles[SK_GlobalConstant]) in findStyleKind()
1241 if (Decl->isFileVarDecl() && Type.getTypePtr()->isAnyPointerType() && in findStyleKind()
1245 if (Decl->isFileVarDecl() && NamingStyles[SK_GlobalVariable]) in findStyleKind()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCUDA.cpp718 (VD->isFileVarDecl() || VD->isStaticDataMember()) && in MaybeAddCUDAConstantAttr()
H A DSemaDecl.cpp4590 if (!New->hasExternalStorage() && !New->isFileVarDecl() && in MergeVarDecl()
8081 if (I->isFileVarDecl()) { in CheckShadow()
8398 if (NewVD->isFileVarDecl() || NewVD->isStaticLocal() || in CheckVariableDeclarationType()
8499 if (NewVD->isFileVarDecl()) in CheckVariableDeclarationType()
8513 if (NewVD->isFileVarDecl()) in CheckVariableDeclarationType()
13039 } else if (VDecl->isFileVarDecl()) { in AddInitializerToDecl()
13097 VDecl->isFileVarDecl()) in AddInitializerToDecl()
13980 if (VD->isFileVarDecl() && !isa<VarTemplatePartialSpecializationDecl>(VD)) in FinalizeDeclaration()
H A DSema.cpp1674 assert(VD->isFileVarDecl() && in checkVar()
H A DSemaOpenMP.cpp3546 else if (VD && VD->isFileVarDecl()) in reportOriginalDsa()
22670 if (!VD->isFileVarDecl() && !VD->isStaticLocal() && in checkDeclIsAllowedInOpenMPTarget()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h1108 return !isFileVarDecl() && getTSCSpec() == TSCS_unspecified; in hasLocalStorage()
1127 && !isFileVarDecl(); in isStaticLocal()
1257 bool isFileVarDecl() const { in isFileVarDecl() function
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp1927 if (VD->isFileVarDecl() || VD->hasExternalStorage()) in tryEmitBase()
H A DCodeGenModule.cpp3219 assert(VD->isFileVarDecl() && "Cannot emit local var decl as global."); in EmitGlobal()
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp2245 if (!C.getLangOpts().CPlusPlus && isFileVarDecl()) in isThisDeclarationADefinition()
H A DASTContext.cpp11549 if (!VD->isFileVarDecl()) in DeclMustBeEmitted()
11621 assert(VD->isFileVarDecl() && "Expected file scoped var"); in DeclMustBeEmitted()
H A DASTImporter.cpp4070 if (D->isFileVarDecl()) { in VisitVarDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp2979 return Var->isFileVarDecl() && in isConsumerInterestedIn()