/external/clang/lib/AST/ |
Mangle.cpp | 101 const NamedDecl *ND = cast<NamedDecl>(DC); 102 if (IdentifierInfo *II = ND->getIdentifier()) 110 mangleName(ND, Stream);
|
ASTDiagnostic.cpp | 280 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); 281 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), Qualified); 307 NamedDecl *ND = cast<NamedDecl>(DC); 308 if (isa<NamespaceDecl>(ND)) 310 else if (isa<ObjCMethodDecl>(ND)) 312 else if (isa<FunctionDecl>(ND)) 316 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), true);
|
TemplateBase.cpp | 332 if (NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getAsDecl())) { 333 if (ND->getDeclName()) { 334 Out << *ND;
|
DeclBase.cpp | 225 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) 226 if (ND->isAnonymousNamespace()) 1030 NamedDecl *ND = cast<NamedDecl>(D); 1033 if (!ND->getDeclName()) return; 1038 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); 1040 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) 1041 Pos->second.remove(ND); 1074 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 1075 ND->getDeclContext()->getPrimaryContext()-> 1076 makeDeclVisibleInContextWithFlags(ND, false, true) [all...] |
Decl.cpp | 158 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 159 LV = merge(LV, getLVForDecl(ND, F)); 285 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); 286 if (!ND) continue; 287 if (llvm::Optional<Visibility> Vis = ND->getExplicitVisibility()) { 744 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) 745 return getLVForDecl(ND, Flags); [all...] |
ItaniumMangle.cpp | 66 static const CXXRecordDecl *GetLocalClassDecl(const NamedDecl *ND) { 67 const DeclContext *DC = dyn_cast<DeclContext>(ND); 69 DC = getEffectiveDeclContext(ND); 148 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { 152 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(ND)) 156 unsigned &discriminator = Uniquifier[ND]; 261 void mangleName(const NamedDecl *ND); 263 void mangleNameOrStandardSubstitution(const NamedDecl *ND); 266 bool mangleSubstitution(const NamedDecl *ND); 274 bool mangleStandardSubstitution(const NamedDecl *ND); [all...] |
Type.cpp | 47 NamedDecl *ND = NULL; 51 ND = ty->getAs<RecordType>()->getDecl(); 53 ND = ty->getAs<EnumType>()->getDecl(); 55 ND = ty->getAs<TypedefType>()->getDecl(); 60 if (ND) 61 return ND->getIdentifier(); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 98 const NamedDecl *ND = cast<NamedDecl>(D); 99 output << *ND;
|
LLVMConventionsChecker.cpp | 41 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); 42 if (!ND) 44 const IdentifierInfo *II = ND->getIdentifier(); 47 return isa<TranslationUnitDecl>(ND->getDeclContext());
|
CheckSecuritySyntaxOnly.cpp | 200 const NamedDecl *ND = DR->getDecl(); 201 return ND == x || ND == y ? DR : NULL;
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 157 clang::NamedDecl *const ND = *I; 160 switch (ND->getKind()) { 163 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 167 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 121 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 122 Out << *ND;
|
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 271 NamedDecl *ND = dyn_cast<NamedDecl>(DC); 272 if (!ND) 288 if (NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 289 if (ND->getIdentifier()) 389 NamedDecl *ND = dyn_cast<NamedDecl>(DC); 390 if (!ND) 393 ParentKind = getCursorKindForDecl(ND); 397 unsigned CodeCompletionResult::getPriorityFromDecl(NamedDecl *ND) { 398 if (!ND) 402 DeclContext *DC = ND->getDeclContext()->getRedeclContext() [all...] |
SemaTemplateVariadic.cpp | 479 getDepthAndIndex(NamedDecl *ND) { 480 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) 483 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 486 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND); 516 NamedDecl *ND = i->first.get<NamedDecl *>(); 517 if (isa<ParmVarDecl>(ND)) 520 llvm::tie(Depth, Index) = getDepthAndIndex(ND); 522 Name = ND->getIdentifier(); 616 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); 617 if (isa<ParmVarDecl>(ND)) { [all...] |
SemaExprMember.cpp | 555 NamedDecl *ND = candidate.getCorrectionDecl(); 556 return ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)); 618 if (NamedDecl *ND = Corrected.getCorrectionDecl()) { 624 R.addDecl(ND); 628 SemaRef.Diag(ND->getLocation(), diag::note_previous_decl) 629 << ND->getDeclName(); [all...] |
/frameworks/base/tools/aapt/ |
Package.cpp | 249 const size_t ND = dir->getDirs().size(); 251 for (i=0; i<ND; i++) {
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 188 const NamedDecl *ND = cast<NamedDecl>(D); 189 llvm::errs() << ' ' << *ND << '\n'; 449 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) { 450 IdentifierInfo *II = ND->getIdentifier();
|
/external/clang/lib/Parse/ |
ParseExpr.cpp | 469 NamedDecl *ND = candidate.getCorrectionDecl(); 470 if (!ND) 473 if (isa<TypeDecl>(ND)) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 546 else if (const NamedDecl *ND = dyn_cast<NamedDecl>(Callee)) 547 Out << "Calling '" << *ND << "'"; 558 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Caller)) 559 Out << "Entered call from '" << *ND << "'"; 576 else if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Callee)) 577 Out << "Returning from '" << *ND << "'"; 737 case 2: Out << "nd"; return;
|
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 152 const NamedDecl *ND = cast<NamedDecl>(&D); 153 const DeclContext *DC = ND->getDeclContext(); [all...] |
CodeGenModule.cpp | 316 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); 322 if (!getCXXABI().getMangleContext().shouldMangleDeclName(ND)) { 323 IdentifierInfo *II = ND->getIdentifier(); 332 if (const CXXConstructorDecl *D = dyn_cast<CXXConstructorDecl>(ND)) 334 else if (const CXXDestructorDecl *D = dyn_cast<CXXDestructorDecl>(ND)) 336 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(ND)) 339 getCXXABI().getMangleContext().mangleName(ND, Out); 550 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) 551 setGlobalVisibility(GV, ND); [all...] |
/external/llvm/include/llvm/Analysis/ |
Dominators.h | 110 NodeT *Nd = (*I)->getBlock(); 111 OtherChildren.insert(Nd); 259 typename InvTraits::NodeType *ND = *PI; 260 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && 261 DT.isReachableFromEntry(ND)) {
|
/external/webkit/Source/WebKit/android/content/ |
address_detector.cpp | 410 // Handle cases like 12a, 1st, 2nd, 3rd, 7th. 703 ND = 33, // ND North Dakota 791 ND, ND, ND, ND, ND, ND, ND, ND, ND, XX, // 580-58 [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
EnumSetTest.java | 104 IN, SN, SB, TE, I, XE, CS, BA, LA, CE, PR, ND, PM, SM, EU, GD, TB, DY, HO, ER, TM, YB, LU,
|
/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 99 NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl()); 100 ParmVarDecl *PV = dyn_cast_or_null<ParmVarDecl>(ND); 117 DeclSeq.push_back(ND); 119 NamedDecl *ND = ME->getMemberDecl(); 120 DeclSeq.push_back(ND); 733 // while (b) { x -> x2, y -> y1 | [1st:] x2=x1; [2nd:] x2=NULL; } [all...] |