HomeSort by: relevance | last modified time | path
    Searched defs:ND (Results 1 - 25 of 67) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
ASTUtils.h 70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);
71 if (!ND)
76 if (!ND->getDeclName().isIdentifier())
79 return ND->getName().str();
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
RenamingAction.h 60 RenameOccurrences(const NamedDecl *ND, std::string NewName)
61 : ND(ND), NewName(std::move(NewName)) {}
66 const NamedDecl *ND;
79 QualifiedRenameRule(const NamedDecl *ND,
81 : ND(ND), NewQualifiedName(std::move(NewQualifiedName)) {}
87 const NamedDecl *ND;
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
RecursiveSymbolVisitor.h 36 bool visitSymbolOccurrence(const NamedDecl *ND,
118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace();
119 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc()))
140 bool visit(const NamedDecl *ND, SourceLocation BeginLoc,
143 ND, SourceRange(BeginLoc, EndLoc));
145 bool visit(const NamedDecl *ND, SourceLocation Loc) {
146 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts));
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 97 const NamedDecl *ND = cast<NamedDecl>(D);
98 output << *ND;
LLVMConventionsChecker.cpp 40 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext());
41 if (!ND)
43 const IdentifierInfo *II = ND->getIdentifier();
46 return isa<TranslationUnitDecl>(ND->getDeclContext());
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
BasicValueFactory.cpp 163 const NamedDecl *ND, llvm::ImmutableList<const CXXBaseSpecifier *> L) {
165 PointerToMemberData::Profile(ID, ND, L);
173 new (D) PointerToMemberData(ND, L);
200 const NamedDecl *ND = nullptr;
205 ND = PTMDT.get<const NamedDecl *>();
210 ND = PTMD->getDeclaratorDecl();
240 return getPointerToMemberData(ND, ReducedBaseSpecList);
246 return getPointerToMemberData(ND, BaseSpecList);
SVals.cpp 161 const NamedDecl *ND = nullptr;
163 ND = PTMD.get<const NamedDecl *>();
165 ND = PTMD.get<const PointerToMemberData *>()->getDeclaratorDecl();
167 return ND;
  /src/external/bsd/pcc/dist/pcc/cc/cpp/
cpc.c 37 typedef struct nd ND;
38 struct nd yynode;
40 void qloop(void (*fun)(ND *), ND *n1, int a0, int a1, int a2, int a3);
43 void expr(ND *n1);
44 void eqcol(ND *n1);
45 void eoror(ND *n1);
46 void eandand(ND *n1);
47 void exor(ND *n1)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ExternalASTMerger.cpp 57 auto *ND = cast<NamedDecl>(DC);
58 DeclarationName Name = ND->getDeclName();
513 NamedDecl *ND = cast<NamedDecl>(llvm::cantFail(std::move(NDOrErr)));
514 assert(ND);
522 Decls.push_back(ND);
NestedNameSpecifier.cpp 152 NamedDecl *ND = static_cast<NamedDecl *>(Specifier);
153 if (isa<CXXRecordDecl>(ND))
155 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias;
TemplateBase.cpp 433 NamedDecl *ND = getAsDecl();
435 if (auto *TPO = dyn_cast<TemplateParamObjectDecl>(ND)) {
440 if (auto *VD = dyn_cast<ValueDecl>(ND)) {
444 ND->printQualifiedName(Out);
Mangle.cpp 58 static bool isExternC(const NamedDecl *ND) {
59 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
61 if (const VarDecl *VD = dyn_cast<VarDecl>(ND))
67 const NamedDecl *ND) {
76 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
83 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) &&
87 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND);
305 else if (auto ND = dyn_cast<NamedDecl>(DC)) {
306 if (!shouldMangleDeclName(ND) && ND->getIdentifier()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexTypeSourceInfo.cpp 58 TypedefNameDecl *ND = TL.getTypedefNameDecl();
59 if (ND->isTransparentTag()) {
60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl();
65 TRY_TO(IndexCtx.handleReference(ND, Loc,
73 TRY_TO(IndexCtx.handleReference(ND, Loc,
220 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); });
IndexingContext.cpp 228 const auto *ND = cast<NamedDecl>(D);
230 getDeclContextForTemplateInstationPattern(ND)) {
231 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) {
234 if (BaseND->getKind() == ND->getKind())
274 static bool shouldSkipNamelessDecl(const NamedDecl *ND) {
275 return (ND->getDeclName().isEmpty() && !isa<TagDecl>(ND) &&
276 !isa<ObjCCategoryDecl>(ND)) || isa<CXXDeductionGuideDecl>(ND);
293 } else if (auto ND = dyn_cast<NamedDecl>(Parent))
    [all...]
IndexDecl.cpp 213 for (const NamedDecl *ND : Pattern->lookup(D->getDeclName())) {
214 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND))
215 ND = CTD->getTemplatedDecl();
216 if (ND->isImplicit())
220 if (ND->getKind() != D->getKind())
222 } else if (!isa<TypeDecl>(ND))
224 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) {
232 SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND);
705 if (auto ND = D->getFriendDecl()) {
712 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTCommon.h 104 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD);
105 if (!ND || !needsAnonymousDeclarationNumber(ND))
108 Visit(ND, Index++);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
RenamingAction.cpp 46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) {
48 getUSRsForDeclaration(ND, Context.getASTContext());
49 std::string PrevName = ND->getNameAsString();
68 const NamedDecl *ND =
70 if (!ND)
73 return RenameOccurrences(getCanonicalSymbolDeclaration(ND),
77 const NamedDecl *RenameOccurrences::getRenameDecl() const { return ND; }
81 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(ND, Context);
94 const NamedDecl *ND =
96 if (!ND)
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.compile/
compile-cplus-member.cc 22 typedef enum {NA = 20, NB, NC, ND} ANON_NE;
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.compile/
compile-cplus-member.cc 22 typedef enum {NA = 20, NB, NC, ND} ANON_NE;
  /src/games/backgammon/common_source/
fancy.c 66 static char *ND; /* forward cursor sequence */
73 static int lND; /* length of ND */
83 static char **tstr[] = {&BC, &CD, &CE, &CL, &CM, &HO, &MC, &ML, &ND, &UP};
462 /* CR, LF, and ND */
467 /* LF, ND */
480 /* CR, UP, and ND */
485 /* UP and ND */
520 tputs(ND, 1, addbuf);
529 tputs(ND, 1, addbuf);
537 tputs(ND, 1, addbuf)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseExprCXX.cpp 565 NamedDecl *ND = getNonTypeAnnotation(Tok);
567 E = Actions.ActOnNameClassifiedAsNonType(getCurScope(), SS, ND, Loc, Tok);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
AnalysisDeclContext.cpp 327 const auto *ND = dyn_cast<NamespaceDecl>(DC);
328 if (!ND)
331 while (const DeclContext *Parent = ND->getParent()) {
334 ND = cast<NamespaceDecl>(Parent);
337 return ND->isStdNamespace();
  /src/external/apache2/llvm/dist/clang/lib/CrossTU/
CrossTranslationUnit.cpp 217 CrossTranslationUnitContext::getLookupName(const NamedDecl *ND) {
219 bool Ret = index::generateUSRForDecl(ND, DeclUSR);
235 if (const auto *ND = findDefInDeclContext<T>(SubDC, LookupName))
236 return ND;
238 const auto *ND = dyn_cast<T>(D);
240 if (!ND || !hasBodyOrInit(ND, ResultDecl))
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/
InstrProfWriter.cpp 416 uint32_t ND = Func.getNumValueDataForSite(VK, S);
419 for (uint32_t I = 0; I < ND; I++)
456 uint32_t ND = Func.getNumValueDataForSite(VK, S);
457 OS << ND << "\n";
459 for (uint32_t I = 0; I < ND; I++) {
  /src/libexec/getty/
gettytab.h 101 #define ND gettynums[3].value

Completed in 38 milliseconds

1 2 3