Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Object/
DCOFF.h316 uint8_t getStorageClass() const { in getStorageClass() function
337 return getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL; in isExternal()
351 return getStorageClass() == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL; in isWeakExternal()
361 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FUNCTION; in isFunctionLineInfo()
369 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FILE; in isFileRecord()
373 return getStorageClass() == COFF::IMAGE_SYM_CLASS_SECTION; in isSection()
380 getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL && in isSectionDefinition()
382 bool isOrdinarySection = getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC; in isSectionDefinition()
389 return getStorageClass() == COFF::IMAGE_SYM_CLASS_CLR_TOKEN; in isCLRToken()
/external/clang/lib/AST/
DDecl.cpp591 if (Var->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
604 if (Var->getStorageClass() != SC_Extern && in getLVForNamespaceScopeDecl()
605 Var->getStorageClass() != SC_PrivateExtern && in getLVForNamespaceScopeDecl()
612 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()
613 Var->getStorageClass() == SC_None) in getLVForNamespaceScopeDecl()
616 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
625 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
726 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
747 if (Function->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
1138 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForLocalDecl()
[all …]
DDeclPrinter.cpp447 switch (D->getStorageClass()) { in VisitFunctionDecl()
711 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
DASTDumper.cpp1092 StorageClass SC = D->getStorageClass(); in VisitFunctionDecl()
1164 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
DASTImporter.cpp2868 Method->getStorageClass(), in VisitFunctionDecl()
2875 NameInfo, T, TInfo, D->getStorageClass(), in VisitFunctionDecl()
3245 D->getStorageClass()); in VisitVarDecl()
3312 T, TInfo, D->getStorageClass(), in VisitParmVarDecl()
4439 TInfo, DTemplated->getStorageClass()); in VisitVarTemplateDecl()
4548 D->getStorageClass(), TemplateArgs.data(), TemplateArgs.size()); in VisitVarTemplateSpecializationDecl()
DDeclCXX.cpp1399 if (MD->getStorageClass() == SC_Static) in isStatic()
DExpr.cpp3495 if (VD->getStorageClass() == SC_Register && in refersToGlobalRegisterVar()
/external/clang/include/clang/AST/
DDecl.h874 StorageClass getStorageClass() const { in getStorageClass() function
891 if (getStorageClass() == SC_None) in hasLocalStorage()
896 if (getStorageClass() == SC_Register && !isLocalVarDeclOrParm()) in hasLocalStorage()
902 return getStorageClass() >= SC_Auto; in hasLocalStorage()
908 return (getStorageClass() == SC_Static || in isStaticLocal()
910 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal()
917 return getStorageClass() == SC_Extern || in hasExternalStorage()
918 getStorageClass() == SC_PrivateExtern; in hasExternalStorage()
2032 StorageClass getStorageClass() const { return StorageClass(SClass); } in getStorageClass() function
/external/llvm/tools/obj2yaml/
Dcoff2yaml.cpp201 Sym.Header.StorageClass = Symbol.getStorageClass(); in dumpSymbols()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp557 << "(scl " << format("%3x", unsigned(Symbol->getStorageClass())) << ") " in printCOFFSymbolTable()
/external/clang/lib/Sema/
DSemaLambda.cpp1244 From->getStorageClass(), in addFunctionPointerConversion()
1672 From->getStorageClass(), in BuildBlockForLambdaConversion()
DSemaDecl.cpp2573 FD->getStorageClass() == SC_Extern); in canRedefineFunction()
2706 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
3442 Old->getStorageClass() == SC_None && in MergeVarDecl()
3477 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
3502 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
3504 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
6097 NewVD->isStaticDataMember() || NewVD->getStorageClass() != SC_None); in ActOnVariableDeclarator()
8032 if (SC != Info->getTemplate()->getTemplatedDecl()->getStorageClass()) in ActOnFunctionDeclarator()
8510 if (NewFD->getStorageClass() == SC_Static) { in CheckFunctionDeclaration()
8578 if (FD->getStorageClass() == SC_Static) in CheckMain()
[all …]
DSemaTemplateInstantiateDecl.cpp522 DI->getType(), DI, D->getStorageClass()); in VisitVarDecl()
1439 D->getCanonicalDecl()->getStorageClass(), in VisitFunctionDecl()
2699 VarTemplate, DI->getType(), DI, D->getStorageClass(), Converted.data(), in VisitVarTemplateSpecializationDecl()
3012 DI, PartialSpec->getStorageClass(), Converted.data(), in InstantiateVarTemplatePartialSpecialization()
DSema.cpp846 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
DSemaOpenMP.cpp395 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getDSA()
568 (D->getStorageClass() == SC_Register && D->hasAttr<AsmLabelAttr>() && in getTopDSA()
1190 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in CheckOMPThreadPrivateDecl()
3131 VD->getTypeSourceInfo(), VD->getStorageClass()); in TransformDefinition()
DSemaTemplateInstantiate.cpp1664 OldParm->getStorageClass()); in SubstParmVarDecl()
DSemaDeclAttr.cpp3134 if (VD->getStorageClass() == SC_Register) in AddAlignedAttr()
5602 VD->getStorageClass()); in DeclClonePragmaWeak()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp908 W.printEnum ("StorageClass", Symbol.getStorageClass(), in printSymbol()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp868 Record.push_back(D->getStorageClass()); in VisitVarDecl()
963 D->getStorageClass() == 0 && in VisitParmVarDecl()
/external/clang/lib/CodeGen/
DCGStmt.cpp1631 if (Variable->getStorageClass() != SC_Register) in AddVariableConstraints()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3081 if (FD->getStorageClass() != SC_None) in getFunctionSourceLocation()
4398 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
4466 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
DRewriteObjC.cpp3546 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
3610 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
/external/clang/tools/libclang/
DCIndex.cpp6767 sc = FD->getStorageClass(); in clang_Cursor_getStorageClass()
6769 sc = VD->getStorageClass(); in clang_Cursor_getStorageClass()
/external/clang/include/clang/Basic/
DAttr.td81 [{S->getStorageClass() != VarDecl::Register &&
/external/clang/lib/Analysis/
DCFG.cpp1352 switch (VD->getStorageClass()) { in addLocalScopeForVarDecl()

12