Home
last modified time | relevance | path

Searched refs:getStorageClass (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/lib/AST/
DDecl.cpp580 if (Var->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
593 if (Var->getStorageClass() != SC_Extern && in getLVForNamespaceScopeDecl()
594 Var->getStorageClass() != SC_PrivateExtern && in getLVForNamespaceScopeDecl()
601 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()
602 Var->getStorageClass() == SC_None) in getLVForNamespaceScopeDecl()
605 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
614 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
710 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
732 if (Function->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
1109 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForLocalDecl()
[all …]
DDeclPrinter.cpp390 switch (D->getStorageClass()) { in VisitFunctionDecl()
653 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
DASTImporter.cpp2773 Method->getStorageClass(), in VisitFunctionDecl()
2780 NameInfo, T, TInfo, D->getStorageClass(), in VisitFunctionDecl()
3128 D->getStorageClass()); in VisitVarDecl()
3191 T, TInfo, D->getStorageClass(), in VisitParmVarDecl()
4204 TInfo, DTemplated->getStorageClass()); in VisitVarTemplateDecl()
4313 D->getStorageClass(), TemplateArgs.data(), TemplateArgs.size()); in VisitVarTemplateSpecializationDecl()
DASTDumper.cpp900 StorageClass SC = D->getStorageClass(); in VisitFunctionDecl()
1014 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
DDeclCXX.cpp1351 if (MD->getStorageClass() == SC_Static) in isStatic()
/external/clang/include/clang/AST/
DDecl.h806 StorageClass getStorageClass() const { in getStorageClass() function
823 if (getStorageClass() == SC_None) in hasLocalStorage()
828 if (getStorageClass() == SC_Register && !isLocalVarDecl()) in hasLocalStorage()
834 return getStorageClass() >= SC_Auto; in hasLocalStorage()
840 return (getStorageClass() == SC_Static || in isStaticLocal()
842 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal()
849 return getStorageClass() == SC_Extern || in hasExternalStorage()
850 getStorageClass() == SC_PrivateExtern; in hasExternalStorage()
1910 StorageClass getStorageClass() const { return StorageClass(SClass); } in getStorageClass() function
/external/clang/lib/Sema/
DSemaDecl.cpp2355 FD->getStorageClass() == SC_Extern); in canRedefineFunction()
2449 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
3143 Old->getStorageClass() == SC_None && in MergeVarDecl()
3163 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
3188 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
3190 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
5570 NewVD->isStaticDataMember() || NewVD->getStorageClass() != SC_None); in ActOnVariableDeclarator()
7359 if (SC != Info->getTemplate()->getTemplatedDecl()->getStorageClass()) in ActOnFunctionDeclarator()
7857 if (NewFD->getStorageClass() == SC_Static) { in CheckFunctionDeclaration()
7925 if (FD->getStorageClass() == SC_Static) in CheckMain()
[all …]
DSemaLambda.cpp1256 From->getStorageClass(), in addFunctionPointerConversion()
1598 From->getStorageClass(), in BuildBlockForLambdaConversion()
DSemaOpenMP.cpp227 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getDSA()
369 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getTopDSA()
DSemaTemplateInstantiateDecl.cpp406 DI->getType(), DI, D->getStorageClass()); in VisitVarDecl()
1286 D->getCanonicalDecl()->getStorageClass(), in VisitFunctionDecl()
2544 VarTemplate, DI->getType(), DI, D->getStorageClass(), Converted.data(), in VisitVarTemplateSpecializationDecl()
2858 DI, PartialSpec->getStorageClass(), Converted.data(), in InstantiateVarTemplatePartialSpecialization()
DSema.cpp787 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
DSemaTemplateInstantiate.cpp1646 OldParm->getStorageClass()); in SubstParmVarDecl()
DSemaDeclAttr.cpp2742 if (VD->getStorageClass() == SC_Register) in AddAlignedAttr()
4654 VD->getStorageClass()); in DeclClonePragmaWeak()
DSemaExprObjC.cpp2929 var->getStorageClass() == SC_Extern && in VisitDeclRefExpr()
DSemaDeclCXX.cpp10845 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
12285 if (New->getStorageClass() == SC_Static) in CheckOverridingFunctionAttributes()
DSemaExpr.cpp181 if (I->getStorageClass() != SC_None) in hasAnyExplicitStorageClass()
9054 if (vd->getStorageClass() == SC_Register && in CheckAddressOfOperand()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp359 Record.push_back(D->getStorageClass()); // FIXME: stable encoding in VisitFunctionDecl()
713 Record.push_back(D->getStorageClass()); in VisitVarDecl()
803 D->getStorageClass() == 0 && in VisitParmVarDecl()
DASTReaderDecl.cpp1001 if (VD->getStorageClass() == SC_Extern && VarLinkage != NoLinkage && in VisitVarDeclImpl()
/external/clang/lib/CodeGen/
DCGDecl.cpp142 if (D.getStorageClass() == SC_OpenCLWorkGroupLocal) in EmitVarDecl()
DCGStmt.cpp1660 if (Variable->getStorageClass() != SC_Register) in AddVariableConstraints()
DCGExpr.cpp1829 if (VD->getStorageClass() == SC_Register && in EmitDeclRefLValue()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp3107 if (FD->getStorageClass() != SC_None) in getFunctionSourceLocation()
4441 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
4509 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
DRewriteObjC.cpp3570 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
3634 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
/external/clang/include/clang/Basic/
DAttr.td81 [{S->getStorageClass() != VarDecl::Register &&
/external/clang/lib/Analysis/
DCFG.cpp1227 switch (VD->getStorageClass()) { in addLocalScopeForVarDecl()

12