/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | FunctionNamingCheck.cpp | 54 if (Decl->getStorageClass() != SC_Static) in generateFixItHint() 112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check()
|
D | GlobalVariableDeclarationCheck.cpp | 29 if (IsConst && (Decl->getStorageClass() != SC_Static)) { in generateFixItHint()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | NameSearchContext.cpp | 32 SourceLocation(), ii, ClangUtil::GetQualType(type), nullptr, SC_Static); in AddVarDecl() 103 arg_qual_type, nullptr, SC_Static, nullptr)); in AddFunDecl()
|
D | ASTResultSynthesizer.cpp | 330 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/ |
D | Specifiers.h | 205 SC_Static, enumerator
|
/external/llvm-project/clang/lib/Frontend/ |
D | InterfaceStubFunctionsConsumer.cpp | 62 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl() 78 if (FD->getStorageClass() == StorageClass::SC_Static) in WriteNamedDecl()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Specifiers.h | 227 SC_Static, enumerator
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 167 Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); in CorrectTypo()
|
/external/llvm-project/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 166 Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); in CorrectTypo()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 592 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()
|
D | DeclPrinter.cpp | 458 case SC_Static: Out << "static "; break; in VisitFunctionDecl()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 1352 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/ |
D | UseTrailingReturnTypeCheck.cpp | 362 F.getStorageClass() != SC_Extern && F.getStorageClass() != SC_Static && in keepSpecifiers()
|
/external/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 638 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/ |
D | SemaDecl.cpp | 2780 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 …]
|
D | Sema.cpp | 843 if (FD->getStorageClass() == SC_Static && in ActOnEndOfTranslationUnit()
|
D | SemaLambda.cpp | 1305 SC_Static, /*IsInline=*/true, in addFunctionPointerConversion()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 1957 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/ |
D | SemaDecl.cpp | 3261 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/ |
D | ChangeNamespace.cpp | 636 StorageClass::SC_Static && in run()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2507 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/ |
D | RewriteObjC.cpp | 2516 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/ |
D | Decl.h | 1084 return (getStorageClass() == SC_Static || in isStaticLocal() 2562 bool isStatic() const { return getStorageClass() == SC_Static; } in isStatic()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
D | PDBASTParser.cpp | 927 auto storage = func->isStatic() ? clang::StorageClass::SC_Static in GetDeclForSymbol()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | PdbAstBuilder.cpp | 1006 storage = clang::SC_Static; in GetOrCreateFunctionDecl()
|