reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/JSONNodeDumper.cpp
   93   JOS.attribute("id", createPointerRepresentation(D));
   95   if (!D)
   98   JOS.attribute("kind", (llvm::Twine(D->getDeclKindName()) + "Decl").str());
  100                       [D, this] { writeSourceLocation(D->getLocation()); });
  100                       [D, this] { writeSourceLocation(D->getLocation()); });
  102                       [D, this] { writeSourceRange(D->getSourceRange()); });
  102                       [D, this] { writeSourceRange(D->getSourceRange()); });
  103   attributeOnlyIfTrue("isImplicit", D->isImplicit());
  104   attributeOnlyIfTrue("isInvalid", D->isInvalidDecl());
  106   if (D->isUsed())
  108   else if (D->isThisDeclarationReferenced())
  111   if (const auto *ND = dyn_cast<NamedDecl>(D))
  114   if (D->getLexicalDeclContext() != D->getDeclContext()) {
  114   if (D->getLexicalDeclContext() != D->getDeclContext()) {
  118     const auto *ParentDeclContextDecl = dyn_cast<Decl>(D->getDeclContext());
  123   addPreviousDeclaration(D);
  124   InnerDeclVisitor::Visit(D);