HomeSort by: relevance | last modified time | path
    Searched refs:DC (Results 1 - 25 of 253) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTLambda.h 33 inline bool isLambdaCallOperator(const DeclContext *DC) {
34 if (!DC || !isa<CXXMethodDecl>(DC)) return false;
35 return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
62 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) {
64 dyn_cast<CXXMethodDecl>(DC));
68 DeclContext *DC) {
69 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC);
81 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
82 if (isLambdaCallOperator(DC))
    [all...]
ASTImporterLookupTable.h 33 // 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;
LexicallyOrderedRecursiveASTVisitor.h 79 bool TraverseDeclContextHelper(DeclContext *DC) {
80 if (!DC)
83 for (auto I = DC->decls_begin(), E = DC->decls_end(); I != E;) {
ExternalASTMerger.h 53 DeclContext *DC;
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);
DeclOpenMP.h 50 static T *createDirective(const ASTContext &C, DeclContext *DC,
53 auto *Inst = new (C, DC, size(Clauses.size(), NumChildren))
54 T(DC, std::forward<Params>(P)...);
115 OMPThreadPrivateDecl(DeclContext *DC = nullptr,
117 : OMPDeclarativeDirective<Decl>(OMPThreadPrivate, DC, L) {}
132 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC,
203 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L,
214 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
272 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) {
274 const_cast<DeclContext *>(DC));
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/MCDisassembler/
Disassembler.cpp 104 LLVMDisasmContext *DC = new LLVMDisasmContext(
108 if (!DC)
111 DC->setCPU(CPU);
112 return DC;
134 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR);
135 delete DC;
138 /// Emits the comments that are stored in \p DC comment stream.
140 static void emitComments(LLVMDisasmContext *DC,
143 StringRef Comments = DC->CommentsToEmit.str();
145 const MCAsmInfo *MAI = DC->getAsmInfo()
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
tree-diagnostic.h 33 #define diagnostic_last_function(DC) \
34 ((tree) diagnostic_context_auxiliary_data (DC))
38 #define diagnostic_last_function_changed(DC, DI) \
39 (diagnostic_last_function (DC) != (diagnostic_abstract_origin (DI) \
45 #define diagnostic_set_last_function(DC, DI) \
46 diagnostic_context_auxiliary_data (DC) \
  /src/external/gpl3/gcc.old/dist/gcc/
tree-diagnostic.h 33 #define diagnostic_last_function(DC) \
34 ((tree) diagnostic_context_auxiliary_data (DC))
38 #define diagnostic_last_function_changed(DC, DI) \
39 (diagnostic_last_function (DC) != (diagnostic_abstract_origin (DI) \
45 #define diagnostic_set_last_function(DC, DI) \
46 diagnostic_context_auxiliary_data (DC) \
diagnostic.h 407 #define diagnostic_starter(DC) (DC)->begin_diagnostic
411 #define diagnostic_finalizer(DC) (DC)->end_diagnostic
414 #define diagnostic_context_auxiliary_data(DC) (DC)->x_data
418 #define diagnostic_format_decoder(DC) ((DC)->printer->format_decoder)
421 #define diagnostic_prefixing_rule(DC) ((DC)->printer->wrapping.rule
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTImporterLookupTable.cpp 89 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) {
90 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
95 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) {
96 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
104 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
105 add(DC, ND);
106 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
107 if (DC != ReDC)
113 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
114 remove(DC, ND)
    [all...]
DeclFriend.cpp 34 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC,
50 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
59 auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL,
61 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
DeclOpenMP.cpp 29 DeclContext *DC,
33 C, DC, llvm::None, VL.size(), L);
57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC,
61 C, DC, CL, VL.size(), L);
85 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC,
88 return OMPDeclarativeDirective::createDirective<OMPRequiresDecl>(C, DC, CL, 0,
103 Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
105 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr),
113 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
115 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name
    [all...]
DeclTemplate.cpp 221 TemplateDecl::TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
224 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl), TemplateParams(Params) {}
342 DeclContext *DC,
348 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl);
441 DeclContext *DC,
448 return new (C, DC) ClassTemplateDecl(C, DC, L, Name, Params, Decl);
617 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC,
624 new (C, DC,
    [all...]
DeclBase.cpp 260 auto *DC = getFriendObjectKind() ? getLexicalDeclContext() : getDeclContext();
261 return DC->isDependentContext() || isTemplateDecl() ||
266 if (auto *DC = dyn_cast<DeclContext>(this))
267 if (DC->isFileContext())
281 const DeclContext *DC =
283 return cast<Decl>(DC)->getTemplateDepth();
287 for (const DeclContext *DC = getDeclContext();
288 DC && !DC->isTranslationUnit() && !DC->isNamespace()
    [all...]
ExternalASTMerger.cpp 36 /// 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) {
39 if (isa<LinkageSpecDecl>(DC))
40 return DC->getRedeclContext();
41 return DC;
45 LookupSameContext(Source<TranslationUnitDecl *> SourceTU, const DeclContext *DC,
47 DC = CanonicalizeDC(DC);
    [all...]
ExternalASTSource.cpp 98 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC,
103 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {}
106 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
ASTDumper.cpp 25 void ASTDumper::dumpLookups(const DeclContext *DC, bool DumpDecls) {
28 NodeDumper.dumpBareDeclRef(cast<Decl>(DC));
30 const DeclContext *Primary = DC->getPrimaryContext();
31 if (Primary != DC) {
218 const DeclContext *DC = this;
219 while (!DC->isTranslationUnit())
220 DC = DC->getParent();
221 const ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Disassembler.h 72 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,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
diagnostic.c 56 int *DC = (int *)LLVMContextGetDiagnosticContext(C);
57 if (DC != &handlerCalled || *DC) {
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaModule.cpp 23 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)->getBeginLoc()
    [all...]
  /src/usr.bin/tip/
hunt.c 75 FD = open(cp, (O_RDWR | (DC ? O_NONBLOCK : 0)));
91 if (!DC)
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexTypeSourceInfo.cpp 29 const DeclContext *DC, bool isBase, bool isIBType)
30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) {
237 const DeclContext *DC,
243 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType);
248 const DeclContext *DC,
254 if (!DC)
255 DC = Parent->getLexicalDeclContext();
256 TypeIndexer(*this, Parent, DC, isBase, isIBType).TraverseTypeLoc(TL);
261 const DeclContext *DC) {
266 indexNestedNameSpecifierLoc(Prefix, Parent, DC);
    [all...]
IndexingContext.h 76 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);
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTCommon.h 85 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,
99 for (Decl *LexicalD : DC->decls()) {
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageReport.h 28 void render(const FunctionCoverageSummary &Function, const DemangleCache &DC,
37 const DemangleCache &DC, raw_ostream &OS);

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011