/external/clang/lib/AST/ |
D | Decl.cpp | 580 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 …]
|
D | DeclPrinter.cpp | 390 switch (D->getStorageClass()) { in VisitFunctionDecl() 653 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
|
D | ASTImporter.cpp | 2773 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()
|
D | ASTDumper.cpp | 900 StorageClass SC = D->getStorageClass(); in VisitFunctionDecl() 1014 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
|
D | DeclCXX.cpp | 1351 if (MD->getStorageClass() == SC_Static) in isStatic()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 806 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/ |
D | SemaDecl.cpp | 2355 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 …]
|
D | SemaLambda.cpp | 1256 From->getStorageClass(), in addFunctionPointerConversion() 1598 From->getStorageClass(), in BuildBlockForLambdaConversion()
|
D | SemaOpenMP.cpp | 227 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getDSA() 369 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getTopDSA()
|
D | SemaTemplateInstantiateDecl.cpp | 406 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()
|
D | Sema.cpp | 787 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
|
D | SemaTemplateInstantiate.cpp | 1646 OldParm->getStorageClass()); in SubstParmVarDecl()
|
D | SemaDeclAttr.cpp | 2742 if (VD->getStorageClass() == SC_Register) in AddAlignedAttr() 4654 VD->getStorageClass()); in DeclClonePragmaWeak()
|
D | SemaExprObjC.cpp | 2929 var->getStorageClass() == SC_Extern && in VisitDeclRefExpr()
|
D | SemaDeclCXX.cpp | 10845 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope() 12285 if (New->getStorageClass() == SC_Static) in CheckOverridingFunctionAttributes()
|
D | SemaExpr.cpp | 181 if (I->getStorageClass() != SC_None) in hasAnyExplicitStorageClass() 9054 if (vd->getStorageClass() == SC_Register && in CheckAddressOfOperand()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 359 Record.push_back(D->getStorageClass()); // FIXME: stable encoding in VisitFunctionDecl() 713 Record.push_back(D->getStorageClass()); in VisitVarDecl() 803 D->getStorageClass() == 0 && in VisitParmVarDecl()
|
D | ASTReaderDecl.cpp | 1001 if (VD->getStorageClass() == SC_Extern && VarLinkage != NoLinkage && in VisitVarDeclImpl()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 142 if (D.getStorageClass() == SC_OpenCLWorkGroupLocal) in EmitVarDecl()
|
D | CGStmt.cpp | 1660 if (Variable->getStorageClass() != SC_Register) in AddVariableConstraints()
|
D | CGExpr.cpp | 1829 if (VD->getStorageClass() == SC_Register && in EmitDeclRefLValue()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 3107 if (FD->getStorageClass() != SC_None) in getFunctionSourceLocation() 4441 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals() 4509 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
|
D | RewriteObjC.cpp | 3570 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals() 3634 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 81 [{S->getStorageClass() != VarDecl::Register &&
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 1227 switch (VD->getStorageClass()) { in addLocalScopeForVarDecl()
|