HomeSort by relevance Sort by last modified time
    Searched refs:DC (Results 1 - 25 of 220) sorted by null

1 2 3 4 5 6 7 8 9

  /external/clang/include/clang/AST/
ASTLambda.h 34 inline bool isLambdaCallOperator(const DeclContext *DC) {
35 if (!DC || !isa<CXXMethodDecl>(DC)) return false;
36 return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
63 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) {
65 dyn_cast<CXXMethodDecl>(DC));
71 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
72 if (isLambdaCallOperator(DC))
73 return DC->getParent()->getParent();
75 return DC->getParent()
    [all...]
DeclOpenMP.h 42 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) :
43 Decl(DK, DC, L), NumVars(0) { }
59 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC,
Decl.h 101 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
102 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));
138 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) {
139 return static_cast<ExternCContextDecl *>(const_cast<DeclContext*>(DC));
156 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
157 : Decl(DK, DC, L), Name(N) { }
248 const DeclContext *DC = getDeclContext();
253 if (isa<EnumDecl>(DC))
254 DC = DC->getRedeclContext()
    [all...]
DeclTemplate.h 337 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
339 : NamedDecl(DK, DC, L, Name), TemplatedDecl(nullptr),
344 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
346 : NamedDecl(DK, DC, L, Name), TemplatedDecl(nullptr),
350 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
353 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl),
708 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC,
711 : TemplateDecl(DK, DC, L, Name, Params, Decl), redeclarable_base(C),
863 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
866 : RedeclarableTemplateDecl(FunctionTemplate, C, DC, L, Name, Params
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
diagnostic.h 194 #define diagnostic_starter(DC) (DC)->begin_diagnostic
198 #define diagnostic_finalizer(DC) (DC)->end_diagnostic
201 #define diagnostic_context_auxiliary_data(DC) (DC)->x_data
205 #define diagnostic_format_decoder(DC) ((DC)->printer->format_decoder)
208 #define diagnostic_prefixing_rule(DC) ((DC)->printer->wrapping.rule
    [all...]
  /external/llvm/lib/MC/MCDisassembler/
Disassembler.cpp 90 LLVMDisasmContext *DC =
93 if (!DC)
96 DC->setCPU(CPU);
97 return DC;
119 LLVMDisasmContext *DC = (LLVMDisasmContext *)DCR;
120 delete DC;
123 /// \brief Emits the comments that are stored in \p DC comment stream.
125 static void emitComments(LLVMDisasmContext *DC,
128 StringRef Comments = DC->CommentsToEmit.str();
130 const MCAsmInfo *MAI = DC->getAsmInfo()
    [all...]
  /external/valgrind/none/tests/ppc32/
test_dfp4.stdout.exp 105 dtstdc (DC/DG=0) [tCls]2234000000000e50 => 0 (BF=0)
106 dtstdc (DC/DG=1) [tCls]2234000000000e50 => 0 (BF=0)
107 dtstdc (DC/DG=2) [tCls]2234000000000e50 => 0 (BF=0)
108 dtstdc (DC/DG=3) [tCls]2234000000000e50 => 2 (BF=0)
109 dtstdc (DC/DG=4) [tCls]2234000000000e50 => 0 (BF=0)
110 dtstdc (DC/DG=5) [tCls]2234000000000e50 => 0 (BF=0)
111 dtstdc (DC/DG=0) [tCls]2234000000000e50 => 0 (BF=5)
112 dtstdc (DC/DG=1) [tCls]2234000000000e50 => 0 (BF=5)
113 dtstdc (DC/DG=2) [tCls]2234000000000e50 => 0 (BF=5)
114 dtstdc (DC/DG=3) [tCls]2234000000000e50 => 2 (BF=5
    [all...]
  /external/clang/tools/libclang/
IndexTypeSourceInfo.cpp 25 const DeclContext *DC)
26 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC) { }
98 const DeclContext *DC) {
102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC);
107 const DeclContext *DC) {
111 if (!DC)
112 DC = Parent->getLexicalDeclContext();
113 TypeIndexer(*this, Parent, DC).TraverseTypeLoc(TL);
118 const DeclContext *DC) {
123 indexNestedNameSpecifierLoc(Prefix, Parent, DC);
    [all...]
IndexBody.cpp 26 const NamedDecl *Parent, const DeclContext *DC)
27 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { }
170 const DeclContext *DC) {
174 if (!DC)
175 DC = Parent->getLexicalDeclContext();
176 BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S));
  /external/clang/lib/AST/
DeclFriend.cpp 27 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC,
43 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
50 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL,
52 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
DeclOpenMP.cpp 29 DeclContext *DC,
32 OMPThreadPrivateDecl *D = new (C, DC, VL.size() * sizeof(Expr *))
33 OMPThreadPrivateDecl(OMPThreadPrivate, DC, L);
Mangle.cpp 221 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD,
223 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC));
227 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) {
230 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) &&
232 if (isa<BlockDecl>(DC))
233 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent()
    [all...]
DeclTemplate.cpp 256 DeclContext *DC,
262 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl);
333 DeclContext *DC,
340 ClassTemplateDecl *New = new (C, DC) ClassTemplateDecl(C, DC, L, Name,
492 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC,
497 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename);
539 NonTypeTemplateParmDecl::NonTypeTemplateParmDecl(DeclContext *DC,
    [all...]
DeclBase.cpp 200 for (const DeclContext *DC = getDeclContext();
201 DC && !DC->isTranslationUnit() && !DC->isNamespace();
202 DC = DC->getParent())
203 if (DC->isFunctionOrMethod())
204 return DC;
241 void Decl::setDeclContext(DeclContext *DC) {
242 DeclCtx = DC;
    [all...]
DeclObjC.cpp 154 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC,
158 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
166 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) {
173 DeclContext::lookup_result R = DC->lookup(propertyID);
748 const DeclContext *DC = getDeclContext();
749 if (isa<ObjCProtocolDecl>(DC))
    [all...]
ExternalASTSource.cpp 101 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC,
106 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {}
109 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
  /external/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 60 const DeclContext *DC = FD->getDeclContext();
61 while (DC->isTransparentContext())
62 DC = DC->getParent();
65 if (!DC->isTranslationUnit())
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mri/
label.s 5 LABEL DC.L SYMBOL ; And yet another comment
  /system/bt/btcore/src/
device_class.c 34 #define DC(x) ((_bt_device_class_t *)x)
55 static bool device_class_get_major_service_(const bt_device_class_t *dc, int bitmask);
56 static void device_class_clr_major_service_(bt_device_class_t *dc, int bitmask);
57 static void device_class_set_major_service_(bt_device_class_t *dc, int bitmask);
59 void device_class_from_stream(bt_device_class_t *dc, const uint8_t *data) {
60 assert(dc != NULL);
62 *dc = *(bt_device_class_t *)data;
65 int device_class_to_stream(const bt_device_class_t *dc, uint8_t *data, size_t len) {
66 assert(dc != NULL);
70 data[i] = dc->_[i]
    [all...]
  /external/clang/lib/Frontend/
ASTConsumers.cpp 82 if (DeclContext *DC = dyn_cast<DeclContext>(D)) {
83 if (DC == DC->getPrimaryContext())
84 DC->dumpLookups(Out, Dump);
87 << DC->getPrimaryContext() << "\n";
193 void PrintDeclContext(const DeclContext* DC, unsigned Indentation);
197 void DeclContextPrinter::PrintDeclContext(const DeclContext* DC,
200 switch (DC->getDeclKind()) {
202 Out << "[translation unit] " << DC;
206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC);
    [all...]
  /external/clang/lib/Serialization/
ASTCommon.h 81 const DeclContext *getDefinitiveDeclContext(const DeclContext *DC);
90 /// \brief Visit each declaration within \c DC that needs an anonymous
92 template<typename Fn> void numberAnonymousDeclsWithin(const DeclContext *DC,
95 for (Decl *LexicalD : DC->decls()) {
  /external/llvm/include/llvm-c/
Disassembler.h 214 int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options);
230 void LLVMDisasmDispose(LLVMDisasmContextRef DC);
234 * the parameter DC. The bytes of the instruction are specified in the
242 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/
compressed-plt-1a.s 1 # Define a function with all "compressed" (dc and ic) references.
9 .if (\types) & DC
  /external/clang/lib/Sema/
CodeCompleteConsumer.cpp 266 StringRef CodeCompletionTUInfo::getParentName(const DeclContext *DC) {
267 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
272 StringRef &CachedParentName = ParentNames[DC];
283 while (DC && !DC->isFunctionOrMethod()) {
284 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
286 Contexts.push_back(DC);
289 DC = DC->getParent();
376 void CodeCompletionBuilder::addParentContext(const DeclContext *DC) {
    [all...]
  /frameworks/compile/slang/
slang_rs_object_ref_count.h 101 clang::DeclContext *DC);
151 clang::DeclContext* DC,
195 void SetDeclContext(clang::DeclContext* DC) { mCurrentDC = DC; }

Completed in 1458 milliseconds

1 2 3 4 5 6 7 8 9