/external/clang/lib/Index/ |
ASTLocation.cpp | 50 return NDRef.ND; 88 if (const NamedDecl *ND = dyn_cast<NamedDecl>(AsDecl())) 89 OS << *ND; 98 OS << "[NamedRef: " << AsNamedRef().ND->getDeclKindName() << " "; 99 OS << *AsNamedRef().ND;
|
DeclReferenceMap.cpp | 58 NamedDecl *ND = TL.getTypedefNameDecl(); 59 Map.insert(std::make_pair(ND, ASTLocation(CurrentDecl, ND, TL.getNameLoc()))); 63 NamedDecl *ND = TL.getIFaceDecl(); 64 Map.insert(std::make_pair(ND, ASTLocation(CurrentDecl, ND, TL.getNameLoc())));
|
Analyzer.cpp | 72 NamedDecl *ND = dyn_cast<NamedDecl>(D); 73 if (!ND) 78 I = RefMap.refs_begin(ND), E = RefMap.refs_end(ND); I != E; ++I)
|
/external/clang/lib/AST/ |
Mangle.cpp | 99 const NamedDecl *ND = cast<NamedDecl>(DC); 100 if (IdentifierInfo *II = ND->getIdentifier()) 108 mangleName(ND, Stream);
|
ASTDiagnostic.cpp | 272 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); 273 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), Qualified); 299 NamedDecl *ND = cast<NamedDecl>(DC); 300 if (isa<NamespaceDecl>(ND)) 302 else if (isa<ObjCMethodDecl>(ND)) 304 else if (isa<FunctionDecl>(ND)) 308 ND->getNameForDiagnostic(S, Context.getPrintingPolicy(), true);
|
DeclBase.cpp | 200 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) 201 if (ND->isAnonymousNamespace()) 976 NamedDecl *ND = cast<NamedDecl>(D); 979 if (!ND->getDeclName()) return; 984 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); 986 Pos->second.remove(ND); 1012 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 1013 ND->getDeclContext()->makeDeclVisibleInContext(ND); 1027 if (NamedDecl *ND = dyn_cast<NamedDecl>(*D) [all...] |
Decl.cpp | 173 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) 174 LV = merge(LV, getLVForDecl(ND, F)); 846 } else if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(*I)) { 847 if (ND->isAnonymousNamespace()) 850 OS << *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 | 82 const NamedDecl *ND = cast<NamedDecl>(D); 83 output << *ND;
|
CheckSecuritySyntaxOnly.cpp | 173 const NamedDecl *ND = DR->getDecl(); 174 return ND == x || ND == y ? DR : NULL;
|
LLVMConventionsChecker.cpp | 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); 43 if (!ND) 45 const IdentifierInfo *II = ND->getIdentifier(); 48 return isa<TranslationUnitDecl>(ND->getDeclContext());
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 163 clang::NamedDecl *const ND = *I; 166 switch (ND->getKind()) { 169 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 173 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
|
/external/clang/include/clang/Index/ |
ASTLocation.h | 43 NamedDecl *ND; 46 NamedRef() : ND(0) { } 47 NamedRef(NamedDecl *nd, SourceLocation loc) : ND(nd), Loc(loc) { } 57 NamedDecl *ND; 81 NDRef.ND = ndRef; 116 return NamedRef(NDRef.ND, SourceLocation::getFromRawEncoding(NDRef.RawLoc));
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 120 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 121 Out << *ND;
|
/external/clang/lib/Sema/ |
SemaTemplateVariadic.cpp | 452 getDepthAndIndex(NamedDecl *ND) { 453 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) 456 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 459 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND); 489 NamedDecl *ND = i->first.get<NamedDecl *>(); 490 if (isa<ParmVarDecl>(ND)) 493 llvm::tie(Depth, Index) = getDepthAndIndex(ND); 495 Name = ND->getIdentifier(); 589 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); 590 if (isa<ParmVarDecl>(ND)) { [all...] |
SemaExprMember.cpp | 585 NamedDecl *ND = Corrected.getCorrectionDecl(); 587 if (ND && (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND))) { 593 R.addDecl(ND); 597 SemaRef.Diag(ND->getLocation(), diag::note_previous_decl) 598 << ND->getDeclName(); [all...] |
SemaTemplateInstantiateDecl.cpp | 565 NamedDecl *ND = D->getFriendDecl(); 566 assert(ND && "friend decl must be a decl or a type!"); 572 Decl *NewND = Visit(ND); [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 130 const NamedDecl *ND = cast<NamedDecl>(D); 131 llvm::errs() << ' ' << *ND << '\n';
|
/frameworks/base/tools/aapt/ |
Package.cpp | 249 const size_t ND = dir->getDirs().size(); 251 for (i=0; i<ND; i++) {
|
AaptAssets.cpp | [all...] |
Command.cpp | 787 const size_t ND = densities.size(); 788 for (size_t i=0; i<ND; i++) { [all...] |
/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 171 NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl()); 172 DeclSeq.push_back(ND); 174 NamedDecl *ND = ME->getMemberDecl(); 175 DeclSeq.push_back(ND); [all...] |
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 153 const NamedDecl *ND = cast<NamedDecl>(&D); 154 const DeclContext *DC = ND->getDeclContext(); [all...] |
CodeGenModule.cpp | 305 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); 311 if (!getCXXABI().getMangleContext().shouldMangleDeclName(ND)) { 312 IdentifierInfo *II = ND->getIdentifier(); 321 if (const CXXConstructorDecl *D = dyn_cast<CXXConstructorDecl>(ND)) 323 else if (const CXXDestructorDecl *D = dyn_cast<CXXDestructorDecl>(ND)) 325 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(ND)) 328 getCXXABI().getMangleContext().mangleName(ND, Out); 533 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) 534 setGlobalVisibility(GV, ND); [all...] |
/external/llvm/include/llvm/Analysis/ |
Dominators.h | 110 NodeT *Nd = (*I)->getBlock(); 111 OtherChildren.insert(Nd); 247 typename InvTraits::NodeType *ND = *PI; 248 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && 249 DT.isReachableFromEntry(ND)) {
|