Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/google/
DFunctionNamingCheck.cpp54 if (Decl->getStorageClass() != SC_Static) in generateFixItHint()
112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check()
DGlobalVariableDeclarationCheck.cpp29 if (IsConst && (Decl->getStorageClass() != SC_Static)) { in generateFixItHint()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DNameSearchContext.cpp32 SourceLocation(), ii, ClangUtil::GetQualType(type), nullptr, SC_Static); in AddVarDecl()
103 arg_qual_type, nullptr, SC_Static, nullptr)); in AddFunDecl()
DASTResultSynthesizer.cpp330 result_ptr_id, ptr_qual_type, nullptr, SC_Static); in SynthesizeBodyResult()
346 expr_qual_type, nullptr, SC_Static); in SynthesizeBodyResult()
/external/clang/include/clang/Basic/
DSpecifiers.h205 SC_Static, enumerator
/external/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp62 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl()
78 if (FD->getStorageClass() == StorageClass::SC_Static) in WriteNamedDecl()
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h227 SC_Static, enumerator
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp167 Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); in CorrectTypo()
/external/llvm-project/clang/unittests/Sema/
DExternalSemaSourceTest.cpp166 Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); in CorrectTypo()
/external/clang/lib/AST/
DDecl.cpp592 if (Var->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
619 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
628 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
1141 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForLocalDecl()
1777 case SC_Static: return "static"; in getStorageClassSpecifierString()
2639 if (getCanonicalDecl()->getStorageClass() == SC_Static) in isGlobal()
2726 if (getStorageClass() == SC_Static) in getBuiltinID()
DDeclPrinter.cpp458 case SC_Static: Out << "static "; break; in VisitFunctionDecl()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1352 nullptr, SC_Static, in GenerateCopyHelperFunction()
1527 nullptr, SC_Static, in GenerateDestroyHelperFunction()
1814 SC_Static, in generateByrefCopyHelper()
1888 SC_Static, in generateByrefDisposeHelper()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseTrailingReturnTypeCheck.cpp362 F.getStorageClass() != SC_Extern && F.getStorageClass() != SC_Static && in keepSpecifiers()
/external/llvm-project/clang/lib/AST/
DDecl.cpp638 if (getStorageClass(D->getCanonicalDecl()) == SC_Static) { in getLVForNamespaceScopeDecl()
675 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
1232 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static) in getLVForLocalDecl()
1970 case SC_Static: return "static"; in getStorageClassSpecifierString()
3173 if (getCanonicalDecl()->getStorageClass() == SC_Static) in isGlobal()
3280 if (!ConsiderWrapperFunctions && getStorageClass() == SC_Static) in getBuiltinID()
/external/clang/lib/Sema/
DSemaDecl.cpp2780 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
3564 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
3589 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
3591 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
4201 case DeclSpec::SCS_static: return SC_Static; in StorageClassSpecToVarDeclStorageClass()
5993 case SC_Static: in ActOnVariableDeclarator()
6015 if (SC == SC_Static && CurContext->isRecord()) { in ActOnVariableDeclarator()
6244 if (SC == SC_Static && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
6288 NewVD->setStorageClass(SC_Static); in ActOnVariableDeclarator()
6321 case SC_Static: in ActOnVariableDeclarator()
[all …]
DSema.cpp843 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
DSemaLambda.cpp1305 SC_Static, /*IsInline=*/true, in addFunctionPointerConversion()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp1957 FunctionTy, nullptr, SC_Static, false, false); in GenerateCopyHelperFunction()
2151 FunctionTy, nullptr, SC_Static, false, false); in GenerateDestroyHelperFunction()
2405 SourceLocation(), II, FunctionTy, nullptr, SC_Static, false, false); in generateByrefCopyHelper()
2480 SourceLocation(), II, FunctionTy, nullptr, SC_Static, false, false); in generateByrefDisposeHelper()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp3261 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
4110 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
4135 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
4137 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
4924 case DeclSpec::SCS_static: return SC_Static; in StorageClassSpecToVarDeclStorageClass()
6924 case SC_Static: in ActOnVariableDeclarator()
6946 if (SC == SC_Static && CurContext->isRecord()) { in ActOnVariableDeclarator()
7197 if (SC == SC_Static && S->getFnParent() != nullptr && in ActOnVariableDeclarator()
7259 NewVD->setStorageClass(SC_Static); in ActOnVariableDeclarator()
7292 case SC_Static: in ActOnVariableDeclarator()
[all …]
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp636 StorageClass::SC_Static && in run()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2507 strType, nullptr, SC_Static); in RewriteObjCStringLiteral()
3537 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
3601 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
4433 SC_Static); in SynthBlockInitExpr()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2516 strType, nullptr, SC_Static); in RewriteObjCStringLiteral()
3550 GlobalVarDecl->getStorageClass() == SC_Static && in SynthesizeBlockLiterals()
3614 if (GlobalVarDecl->getStorageClass() == SC_Static) in SynthesizeBlockLiterals()
4442 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static); in SynthBlockInitExpr()
/external/llvm-project/clang/include/clang/AST/
DDecl.h1084 return (getStorageClass() == SC_Static || in isStaticLocal()
2562 bool isStatic() const { return getStorageClass() == SC_Static; } in isStatic()
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.cpp927 auto storage = func->isStatic() ? clang::StorageClass::SC_Static in GetDeclForSymbol()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp1006 storage = clang::SC_Static; in GetOrCreateFunctionDecl()

12