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

References

tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
   76   if (llvm::isa<VarDecl>(ND)) {
   78   } else if (llvm::isa<FunctionDecl>(ND)) {
   80   } else if (llvm::isa<TypedefNameDecl>(ND)) {
   82   } else if (llvm::isa<EnumConstantDecl>(ND)) {
   84   } else if (llvm::isa<EnumDecl>(ND)) {
   87     if (ND->getName().empty())
   90     assert(llvm::isa<RecordDecl>(ND) &&
   95     if (ND->getName().empty())
  100   SourceLocation Loc = SM.getExpansionLoc(ND->getLocation());
  102     llvm::errs() << "Declaration " << ND->getNameAsString() << "("
  103                  << ND->getDeclKindName()
  111   return SymbolInfo(ND->getNameAsString(), Type, FilePath, GetContexts(ND));
  111   return SymbolInfo(ND->getNameAsString(), Type, FilePath, GetContexts(ND));