Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DSpecifiers.h145 SC_Static, enumerator
/external/clang/lib/Index/
DEntity.cpp137 if (D->getStorageClass() == SC_Static) in VisitVarDecl()
145 if (D->getStorageClass() == SC_Static) in VisitFunctionDecl()
/external/clang/lib/AST/
DDecl.cpp223 if (Var->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
264 if (Function->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
1128 case SC_Static: return "static"; break; in getStorageClassSpecifierString()
1160 getStorageClass() != SC_Static) || in isExternC()
1170 return getStorageClass() != SC_Static; in isExternC()
1554 return getStorageClass() != SC_Static && !getAttr<OverloadableAttr>(); in isExternC()
1563 return getStorageClass() != SC_Static && in isExternC()
1577 if (getStorageClass() == SC_Static) in isGlobal()
1647 if (getStorageClass() == SC_Static) in getBuiltinID()
DDeclPrinter.cpp365 case SC_Static: Out << "static "; break; in VisitFunctionDecl()
/external/clang/lib/Sema/
DSemaDecl.cpp988 if (FD->getStorageClass() == SC_Static && in ShouldWarnIfUnusedFileScopedDecl()
1605 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
1606 Old->getStorageClass() != SC_Static && in MergeFunctionDecl()
2076 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
2093 else if (New->getStorageClass() != SC_Static && in MergeVarDecl()
2094 Old->getStorageClass() == SC_Static) { in MergeVarDecl()
2452 case DeclSpec::SCS_static: return SC_Static; in StorageClassSpecToVarDeclStorageClass()
2471 case DeclSpec::SCS_static: return SC_Static; in StorageClassSpecToFunctionDeclStorageClass()
3621 if (SC == SC_Static) { in ActOnVariableDeclarator()
3626 SC = SC_Static; in ActOnVariableDeclarator()
[all …]
DSemaDeclCXX.cpp4241 if (SC == SC_Static) { in CheckConstructorDeclarator()
4392 if (SC == SC_Static) { in CheckDestructorDeclarator()
4480 if (SC == SC_Static) { in CheckConversionDeclarator()
7590 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
/external/clang/lib/StaticAnalyzer/Core/
DBasicStore.cpp465 assert(!(VD->getStorageClass() == SC_Static && in BindDeclInternal()
469 if (VD->getStorageClass() == SC_Static) { in BindDeclInternal()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1085 SC_Static, in GenerateCopyHelperFunction()
1199 SC_Static, in GenerateDestroyHelperFunction()
1434 SC_Static, in generateByrefCopyHelper()
1503 SC_Static, in generateByrefDisposeHelper()
DCGDecl.cpp114 case SC_Static: { in EmitVarDecl()
/external/clang/include/clang/AST/
DDeclCXX.h1242 (isStatic ? SC_Static : SC_None),
1258 bool isStatic() const { return getStorageClass() == SC_Static; }
DDecl.h813 return getStorageClass() == SC_Static && !isFileVarDecl(); in isStaticLocal()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp2661 strType, 0, SC_Static, SC_None); in RewriteObjCStringLiteral()
4432 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
4496 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
5363 SC_Static, SC_None); in SynthBlockInitExpr()