Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/
H A DCOFF.h301 uint8_t getStorageClass() const { in getStorageClass() function
318 return getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL; in isExternal()
332 return getStorageClass() == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL; in isWeakExternal()
342 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FUNCTION; in isFunctionLineInfo()
350 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FILE; in isFileRecord()
357 getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL && in isSectionDefinition()
359 bool isOrdinarySection = getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC; in isSectionDefinition()
366 return getStorageClass() == COFF::IMAGE_SYM_CLASS_CLR_TOKEN; in isCLRToken()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDecl.cpp586 if (Var->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
599 if (Var->getStorageClass() != SC_Extern && in getLVForNamespaceScopeDecl()
600 Var->getStorageClass() != SC_PrivateExtern && in getLVForNamespaceScopeDecl()
607 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()
608 Var->getStorageClass() == SC_None) in getLVForNamespaceScopeDecl()
611 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
620 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
719 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
741 if (Function->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
1133 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForLocalDecl()
[all …]
H A DDeclPrinter.cpp405 switch (D->getStorageClass()) { in VisitFunctionDecl()
667 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
H A DASTImporter.cpp2775 Method->getStorageClass(), in VisitFunctionDecl()
2782 NameInfo, T, TInfo, D->getStorageClass(), in VisitFunctionDecl()
3133 D->getStorageClass()); in VisitVarDecl()
3196 T, TInfo, D->getStorageClass(), in VisitParmVarDecl()
4239 TInfo, DTemplated->getStorageClass()); in VisitVarTemplateDecl()
4348 D->getStorageClass(), TemplateArgs.data(), TemplateArgs.size()); in VisitVarTemplateSpecializationDecl()
H A DASTDumper.cpp1065 StorageClass SC = D->getStorageClass(); in VisitFunctionDecl()
1134 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
H A DDeclCXX.cpp1383 if (MD->getStorageClass() == SC_Static) in isStatic()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDecl.h821 StorageClass getStorageClass() const { in getStorageClass() function
838 if (getStorageClass() == SC_None) in hasLocalStorage()
843 if (getStorageClass() == SC_Register && !isLocalVarDecl()) in hasLocalStorage()
849 return getStorageClass() >= SC_Auto; in hasLocalStorage()
855 return (getStorageClass() == SC_Static || in isStaticLocal()
857 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal()
864 return getStorageClass() == SC_Extern || in hasExternalStorage()
865 getStorageClass() == SC_PrivateExtern; in hasExternalStorage()
1928 StorageClass getStorageClass() const { return StorageClass(SClass); } in getStorageClass() function
/minix3/external/bsd/llvm/dist/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp198 Sym.Header.StorageClass = Symbol.getStorageClass(); in dumpSymbols()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp2445 FD->getStorageClass() == SC_Extern); in canRedefineFunction()
2539 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
3233 Old->getStorageClass() == SC_None && in MergeVarDecl()
3260 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
3285 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
3287 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
5710 NewVD->isStaticDataMember() || NewVD->getStorageClass() != SC_None); in ActOnVariableDeclarator()
7516 if (SC != Info->getTemplate()->getTemplatedDecl()->getStorageClass()) in ActOnFunctionDeclarator()
8015 if (NewFD->getStorageClass() == SC_Static) { in CheckFunctionDeclaration()
8083 if (FD->getStorageClass() == SC_Static) in CheckMain()
[all …]
H A DSemaLambda.cpp1261 From->getStorageClass(), in addFunctionPointerConversion()
1609 From->getStorageClass(), in BuildBlockForLambdaConversion()
H A DSemaOpenMP.cpp267 (D->getStorageClass() == SC_Auto || D->getStorageClass() == SC_None)) { in getDSA()
395 D->getStorageClass() == SC_Register) { in getTopDSA()
418 ((D->isLocalVarDecl() && (D->getStorageClass() == SC_Auto || in getTopDSA()
419 D->getStorageClass() == SC_None)) || in getTopDSA()
846 VD->getStorageClass() == SC_Register) { in CheckOMPThreadPrivateDecl()
H A DSemaTemplateInstantiateDecl.cpp485 DI->getType(), DI, D->getStorageClass()); in VisitVarDecl()
1369 D->getCanonicalDecl()->getStorageClass(), in VisitFunctionDecl()
2630 VarTemplate, DI->getType(), DI, D->getStorageClass(), Converted.data(), in VisitVarTemplateSpecializationDecl()
2944 DI, PartialSpec->getStorageClass(), Converted.data(), in InstantiateVarTemplatePartialSpecialization()
H A DSema.cpp818 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
H A DSemaTemplateInstantiate.cpp1700 OldParm->getStorageClass()); in SubstParmVarDecl()
H A DSemaDeclAttr.cpp2866 if (VD->getStorageClass() == SC_Register) in AddAlignedAttr()
4917 VD->getStorageClass()); in DeclClonePragmaWeak()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp577 << "(scl " << format("%3x", unsigned(Symbol->getStorageClass())) << ") " in PrintCOFFSymbolTable()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp876 W.printEnum ("StorageClass", Symbol.getStorageClass(), in printSymbol()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp732 Record.push_back(D->getStorageClass()); in VisitVarDecl()
823 D->getStorageClass() == 0 && in VisitParmVarDecl()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDecl.cpp142 if (D.getStorageClass() == SC_OpenCLWorkGroupLocal) in EmitVarDecl()
H A DCGStmt.cpp1707 if (Variable->getStorageClass() != SC_Register) in AddVariableConstraints()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3095 if (FD->getStorageClass() != SC_None) in getFunctionSourceLocation()
4423 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
4491 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
H A DRewriteObjC.cpp3557 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
3621 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp6438 sc = FD->getStorageClass(); in clang_Cursor_getStorageClass()
6440 sc = VD->getStorageClass(); in clang_Cursor_getStorageClass()
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DAttr.td81 [{S->getStorageClass() != VarDecl::Register &&
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp1295 switch (VD->getStorageClass()) { in addLocalScopeForVarDecl()

12