Searched refs:DC (Results 1 - 25 of 169) sorted by relevance

1234567

/freebsd-11-stable/contrib/gcc/
H A Ddiagnostic.h118 #define diagnostic_starter(DC) (DC)->begin_diagnostic
122 #define diagnostic_finalizer(DC) (DC)->end_diagnostic
125 #define diagnostic_auxiliary_data(DC) (DC)->x_data
128 #define diagnostic_format_decoder(DC) ((DC)->printer->format_decoder)
131 #define diagnostic_prefixing_rule(DC) ((DC)
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h33 inline bool isLambdaCallOperator(const DeclContext *DC) { argument
34 if (!DC || !isa<CXXMethodDecl>(DC)) return false;
35 return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
62 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { argument
64 dyn_cast<CXXMethodDecl>(DC));
68 DeclContext *DC) {
69 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC);
81 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) { argument
82 if (isLambdaCallOperator(DC))
67 isGenericLambdaCallOperatorOrStaticInvokerSpecialization( DeclContext *DC) argument
[all...]
H A DASTImporterLookupTable.h33 // friend void foo(); // this is never found in the DC of the TU.
36 // // The fwd decl to Foo is not found in the lookupPtr of the DC of the
39 // // the Decls in the DC, but that would not scale.
46 // given DC. Once we found it then we can handle any visibility related tasks.
57 void add(DeclContext *DC, NamedDecl *ND);
58 void remove(DeclContext *DC, NamedDecl *ND);
67 LookupResult lookup(DeclContext *DC, DeclarationName Name) const;
68 void dump(DeclContext *DC) const;
H A DLexicallyOrderedRecursiveASTVisitor.h79 bool TraverseDeclContextHelper(DeclContext *DC) { argument
80 if (!DC)
83 for (auto I = DC->decls_begin(), E = DC->decls_end(); I != E;) {
H A DDeclOpenMP.h49 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) : argument
50 Decl(DK, DC, L), NumVars(0) { }
63 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC,
134 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L,
145 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
203 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { argument
205 const_cast<DeclContext *>(DC));
233 OMPDeclareMapperDecl(Kind DK, DeclContext *DC, SourceLocation L, argument
237 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), VarName(VarName),
249 static OMPDeclareMapperDecl *Create(ASTContext &C, DeclContext *DC,
300 castFromDeclContext(const DeclContext *DC) argument
316 OMPCapturedExprDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id, QualType Type, TypeSourceInfo *TInfo, SourceLocation StartLoc) argument
356 OMPRequiresDecl(Kind DK, DeclContext *DC, SourceLocation L) argument
442 OMPAllocateDecl(Kind DK, DeclContext *DC, SourceLocation L) argument
[all...]
H A DExternalASTMerger.h53 DeclContext *DC; member in struct:clang::ExternalASTMerger::DCOrigin
143 bool FindExternalVisibleDeclsByName(const DeclContext *DC,
148 FindExternalLexicalDecls(const DeclContext *DC,
158 /// Returns true if DC can be found in any source AST context.
159 bool CanComplete(DeclContext *DC);
189 /// corresponding (either by forced origin or by name lookup) to DC.
191 void ForEachMatchingDC(const DeclContext *DC, CallbackType Callback);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp103 LLVMDisasmContext *DC = new LLVMDisasmContext(
107 if (!DC)
110 DC->setCPU(CPU);
111 return DC;
133 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
134 delete DC;
137 /// Emits the comments that are stored in \p DC comment stream.
139 static void emitComments(LLVMDisasmContext *DC, argument
142 StringRef Comments = DC->CommentsToEmit.str();
144 const MCAsmInfo *MAI = DC
169 getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) argument
194 getLatency(LLVMDisasmContext *DC, const MCInst &Inst) argument
230 emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) argument
255 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
304 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
311 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
318 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
334 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
341 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp71 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { argument
72 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
77 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { argument
78 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
86 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); local
87 add(DC, ND);
88 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
89 if (DC != ReDC)
95 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); local
96 remove(DC, N
103 lookup(DeclContext *DC, DeclarationName Name) const argument
134 DeclContext *DC = Entry.first; local
[all...]
H A DDeclFriend.cpp34 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, argument
50 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
59 auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL,
61 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
H A DDeclOpenMP.cpp29 DeclContext *DC,
33 new (C, DC, additionalSizeToAlloc<Expr *>(VL.size()))
34 OMPThreadPrivateDecl(OMPThreadPrivate, DC, L);
61 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, argument
65 C, DC, additionalSizeToAlloc<Expr *, OMPClause *>(VL.size(), CL.size()))
66 OMPAllocateDecl(OMPAllocate, DC, L);
104 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC, argument
108 new (C, DC, additionalSizeToAlloc<OMPClause *>(CL.size()))
109 OMPRequiresDecl(OMPRequires, DC, L);
135 Kind DK, DeclContext *DC, SourceLocatio
28 Create(ASTContext &C, DeclContext *DC, SourceLocation L, ArrayRef<Expr *> VL) argument
134 OMPDeclareReductionDecl( Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope) argument
144 Create( ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, QualType T, OMPDeclareReductionDecl *PrevDeclInScope) argument
175 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, QualType T, DeclarationName VarName, OMPDeclareMapperDecl *PrevDeclInScope) argument
234 Create(ASTContext &C, DeclContext *DC, IdentifierInfo *Id, QualType T, SourceLocation StartLoc) argument
[all...]
H A DDeclTemplate.cpp196 TemplateDecl::TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, argument
199 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl), TemplateParams(Params) {}
317 DeclContext *DC,
323 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl);
416 DeclContext *DC,
423 return new (C, DC) ClassTemplateDecl(C, DC, L, Name, Params, Decl);
592 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, argument
599 new (C, DC,
316 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
415 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
672 NonTypeTemplateParmDecl( DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) argument
690 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
705 Create( const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) argument
764 TemplateTemplateParmDecl( DeclContext *DC, SourceLocation L, unsigned D, unsigned P, IdentifierInfo *Id, TemplateParameterList *Params, ArrayRef<TemplateParameterList *> Expansions) argument
777 Create(const ASTContext &C, DeclContext *DC, SourceLocation L, unsigned D, unsigned P, bool ParameterPack, IdentifierInfo *Id, TemplateParameterList *Params) argument
786 Create(const ASTContext &C, DeclContext *DC, SourceLocation L, unsigned D, unsigned P, IdentifierInfo *Id, TemplateParameterList *Params, ArrayRef<TemplateParameterList *> Expansions) argument
864 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, ClassTemplateSpecializationDecl *PrevDecl) argument
884 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, ClassTemplateSpecializationDecl *PrevDecl) argument
974 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, Expr *ConstraintExpr) argument
997 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, const ASTTemplateArgumentListInfo *ArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
1017 Create(ASTContext &Context, TagKind TK,DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, const TemplateArgumentListInfo &ArgInfos, QualType CanonInjectedType, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
1054 Create(ASTContext &Context, DeclContext *DC, SourceLocation L, MutableArrayRef<TemplateParameterList *> Params, FriendUnion Friend, SourceLocation FLoc) argument
1070 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, NamedDecl *Decl) argument
1120 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, TemplateParameterList *Params, VarDecl *Decl) argument
1226 VarTemplateSpecializationDecl( Kind DK, ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) argument
1242 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) argument
1292 VarTemplatePartialSpecializationDecl( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args, const ASTTemplateArgumentListInfo *ArgInfos) argument
1308 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args, const TemplateArgumentListInfo &ArgInfos) argument
1332 createMakeIntegerSeqParameterList(const ASTContext &C, DeclContext *DC) argument
1381 createTypePackElementParameterList(const ASTContext &C, DeclContext *DC) argument
1402 createBuiltinTemplateParameterList( const ASTContext &C, DeclContext *DC, BuiltinTemplateKind BTK) argument
1416 BuiltinTemplateDecl(const ASTContext &C, DeclContext *DC, DeclarationName Name, BuiltinTemplateKind BTK) argument
[all...]
H A DDeclBase.cpp250 auto *DC = getFriendObjectKind() ? getLexicalDeclContext() : getDeclContext();
251 return DC->isDependentContext() || isTemplateDecl() || getDescribedTemplate();
255 for (const DeclContext *DC = getDeclContext();
256 DC && !DC->isTranslationUnit() && !DC->isNamespace();
257 DC = DC->getParent())
258 if (DC->isFunctionOrMethod())
259 return DC;
295 setDeclContext(DeclContext *DC) argument
299 setLexicalDeclContext(DeclContext *DC) argument
304 setDeclContextsImpl(getDeclContext(), DC, getASTContext()); local
361 const DeclContext *DC = getDeclContext(); local
951 getKind(const DeclContext *DC) argument
1135 isLinkageSpecContext(const DeclContext *DC, LinkageSpecDecl::LanguageIDs ID) argument
1150 const DeclContext *DC = this; local
1329 SetNoExternalVisibleDeclsForName(const DeclContext *DC, DeclarationName Name) argument
1344 SetExternalVisibleDeclsForName(const DeclContext *DC, DeclarationName Name, ArrayRef<NamedDecl*> Decls) argument
1779 DeclContext *DC = this; local
[all...]
H A DExternalASTMerger.cpp36 /// For the given DC, return the DC that is safe to perform lookups on. This is
37 /// the DC we actually want to work with most of the time.
38 const DeclContext *CanonicalizeDC(const DeclContext *DC) { argument
39 if (isa<LinkageSpecDecl>(DC))
40 return DC->getRedeclContext();
41 return DC;
45 LookupSameContext(Source<TranslationUnitDecl *> SourceTU, const DeclContext *DC, argument
47 DC = CanonicalizeDC(DC);
[all...]
H A DASTDumper.cpp25 void ASTDumper::dumpLookups(const DeclContext *DC, bool DumpDecls) { argument
28 NodeDumper.dumpBareDeclRef(cast<Decl>(DC));
30 const DeclContext *Primary = DC->getPrimaryContext();
31 if (Primary != DC) {
214 const DeclContext *DC = this; local
215 while (!DC->isTranslationUnit())
216 DC = DC->getParent();
217 ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();
H A DDecl.cpp304 const DeclContext *DC = D->getDeclContext(); local
305 while (DC->getDeclKind() != Decl::TranslationUnit) {
306 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC))
307 Ret = cast<Decl>(DC);
308 DC = DC->getParent();
717 for (const DeclContext *DC = D->getDeclContext();
718 !isa<TranslationUnitDecl>(DC);
719 DC
1186 getLVForClosure(const DeclContext *DC, Decl *ContextDecl, LVComputationKind computation) argument
1963 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass SC) argument
1980 Create(ASTContext &C, DeclContext *DC, SourceLocation StartL, SourceLocation IdL, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S) argument
2047 const DeclContext *DC = D.getDeclContext(); local
2063 const DeclContext *DC = D.getDeclContext(); local
2672 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) argument
2779 FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, StorageClass S, bool isInlineSpecified, ConstexprSpecKind ConstexprKind, Expr *TrailingRequiresClause) argument
4006 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable, InClassInitStyle InitStyle) argument
4117 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, SourceLocation StartL) argument
4235 EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool Scoped, bool ScopedUsingClassTag, bool Fixed) argument
4252 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool IsScoped, bool IsScopedUsingClassTag, bool IsFixed) argument
4366 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl *PrevDecl) argument
4387 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl* PrevDecl) argument
4536 BlockDecl(DeclContext *DC, SourceLocation CaretLoc) argument
4595 Create(const ASTContext &C, TranslationUnitDecl *DC, SourceLocation CommentLoc, PragmaMSCommentKind CommentKind, StringRef Arg) argument
4618 Create(const ASTContext &C, TranslationUnitDecl *DC, SourceLocation Loc, StringRef Name, StringRef Value) argument
4642 Create(const ASTContext &C, TranslationUnitDecl *DC) argument
4649 Create(ASTContext &C, DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II) argument
4654 Create(ASTContext &C, DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, SourceLocation GnuLabelL) argument
4685 Create(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id, QualType Type, ImplicitParamKind ParamKind) argument
4702 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, StorageClass SC, bool isInlineSpecified, bool hasWrittenPrototype, ConstexprSpecKind ConstexprKind, Expr *TrailingRequiresClause) argument
4724 Create(ASTContext &C, DeclContext *DC, SourceLocation L) argument
4732 CapturedDecl(DeclContext *DC, unsigned NumParams) argument
4736 Create(ASTContext &C, DeclContext *DC, unsigned NumParams) argument
4769 IndirectFieldDecl(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName N, QualType T, MutableArrayRef<NamedDecl *> CH) argument
4782 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, QualType T, llvm::MutableArrayRef<NamedDecl *> CH) argument
4803 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
4853 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
4883 Create(ASTContext &C, DeclContext *DC, StringLiteral *Str, SourceLocation AsmLoc, SourceLocation RParenLoc) argument
4898 Create(ASTContext &C, DeclContext *DC, SourceLocation L) argument
4921 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, ArrayRef<SourceLocation> IdentifierLocs) argument
4931 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, SourceLocation EndLoc) argument
4937 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, Module *Imported, ArrayRef<SourceLocation> IdentifierLocs) argument
4945 CreateImplicit(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, Module *Imported, SourceLocation EndLoc) argument
4983 Create(ASTContext &C, DeclContext *DC, SourceLocation ExportLoc) argument
[all...]
H A DExternalASTSource.cpp111 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC, argument
116 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {} argument
119 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
118 FindExternalLexicalDecls( const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, SmallVectorImpl<Decl *> &Result) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DDisassembler.h72 int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options);
88 void LLVMDisasmDispose(LLVMDisasmContextRef DC);
92 * the parameter DC. The bytes of the instruction are specified in the
100 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp23 SourceLocation ImportLoc, DeclContext *DC,
27 if (auto *LSD = dyn_cast<LinkageSpecDecl>(DC)) {
36 DC = LSD->getParent();
39 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC))
40 DC = DC->getParent();
42 if (!isa<TranslationUnitDecl>(DC)) {
46 << M->getFullModuleName() << DC;
47 S.Diag(cast<Decl>(DC)
22 checkModuleImportContext(Sema &S, Module *M, SourceLocation ImportLoc, DeclContext *DC, bool FromInclude = false) argument
49 << DC; local
680 checkExportedDeclContext(Sema &S, DeclContext *DC, SourceLocation BlockStart) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp28 const DeclContext *DC, bool isBase, bool isIBType)
29 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) {
211 const DeclContext *DC,
217 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType);
222 const DeclContext *DC,
228 if (!DC)
229 DC = Parent->getLexicalDeclContext();
230 TypeIndexer(*this, Parent, DC, isBase, isIBType).TraverseTypeLoc(TL);
235 const DeclContext *DC) {
240 indexNestedNameSpecifierLoc(Prefix, Parent, DC);
27 TypeIndexer(IndexingContext &indexCtx, const NamedDecl *parent, const DeclContext *DC, bool isBase, bool isIBType) argument
209 indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent, const DeclContext *DC, bool isBase, bool isIBType) argument
220 indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, const DeclContext *DC, bool isBase, bool isIBType) argument
233 indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, const NamedDecl *Parent, const DeclContext *DC) argument
[all...]
H A DIndexingContext.h76 const DeclContext *DC = nullptr);
80 const DeclContext *DC,
103 const DeclContext *DC = nullptr,
108 const DeclContext *DC = nullptr,
114 const DeclContext *DC = nullptr);
116 bool indexDeclContext(const DeclContext *DC);
119 const DeclContext *DC = nullptr);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h85 const DeclContext *getDefinitiveDeclContext(const DeclContext *DC);
94 /// Visit each declaration within \c DC that needs an anonymous
96 template<typename Fn> void numberAnonymousDeclsWithin(const DeclContext *DC, argument
99 for (Decl *LexicalD : DC->decls()) {
/freebsd-11-stable/usr.bin/tip/tip/
H A Dhunt.c87 (boolean(value(DC)) ? O_NONBLOCK : 0)));
98 if (!boolean(value(DC)))
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.h28 void render(const FunctionCoverageSummary &Function, const DemangleCache &DC,
37 const DemangleCache &DC, raw_ostream &OS);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp83 if (DeclContext *DC = dyn_cast<DeclContext>(D)) {
84 if (DC == DC->getPrimaryContext())
85 DC->dumpLookups(Out, OutputKind != None, OutputKind == DumpFull);
88 << DC->getPrimaryContext() << "\n";
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.h61 void MaterializeVisibleDecls(const clang::DeclContext *DC) { return; } argument
77 /// \param[in] DC
85 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC,
90 /// \param[in] DC
100 const clang::DeclContext *DC,
218 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC,
220 return m_original.FindExternalVisibleDeclsByName(DC, Name);
224 const clang::DeclContext *DC,
227 return m_original.FindExternalLexicalDecls(DC, IsKindWeWant, Decls);

Completed in 297 milliseconds

1234567