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

Declarations

tools/clang/include/clang/AST/DeclarationName.h
  406   std::string getAsString() const;

References

tools/clang/include/clang/AST/Decl.h
  292   std::string getNameAsString() const { return Name.getAsString(); }
tools/clang/lib/AST/DeclPrinter.cpp
  638     Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString();
 1254     Out << Param->getDeclName().getAsString();
tools/clang/lib/AST/JSONNodeDumper.cpp
  287     JOS.attribute("name", ND->getDeclName().getAsString());
  299     Ret["name"] = ND->getDeclName().getAsString();
 1250   JOS.attribute("name", ULE->getName().getAsString());
 1372   JOS.attribute("member", DSME->getMember().getAsString());
tools/clang/lib/Analysis/LiveVariables.cpp
  655       llvm::errs() << " " << (*di)->getDeclName().getAsString()
tools/clang/lib/Frontend/ASTUnit.cpp
  921       std::string NameStr = Name.getAsString();
 2042       HiddenNames.insert(Name.getAsString());
tools/clang/lib/Index/CommentToXML.cpp
  902         std::string Name = DeclName.getAsString();
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  751   Saved = Name.getAsString();
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  629             Name.getAsString() == Corrected.getAsString(getLangOpts());
tools/clang/lib/Sema/SemaDeclCXX.cpp
10815                                           NameInfo.getName().getAsString() +
10824                    InsertLoc, " " + NameInfo.getName().getAsString());
10833               UsingLoc, "auto &" + NameInfo.getName().getAsString() + " = ");
10848               "constexpr auto " + NameInfo.getName().getAsString() + " = ");
tools/clang/lib/Sema/SemaExpr.cpp
  321         << DMD->getVarName().getAsString();
 1903       TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr;
 2016         Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr;
 2447     D << SS.getScopeRep() << NameInfo.getName().getAsString()
13390           << OE->getName().getAsString() << "";
tools/clang/lib/Sema/SemaExprMember.cpp
  712               Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts());
tools/clang/lib/Sema/SemaLookup.cpp
  670   llvm::errs() << "lookup results for " << getLookupName().getAsString()
 5047     if (BestTC.getCorrection().getAsString() != "super") {
 5048       if (SecondBestTC.getCorrection().getAsString() == "super")
 5056         BestTC.getCorrection().getAsString() != "super")
 5162   return CorrectionName.getAsString();
tools/clang/lib/Sema/SemaOpenMP.cpp
15916   VarDecl *VD = buildVarDecl(*this, StartLoc, MapperType, VN.getAsString());
tools/clang/lib/Sema/SemaStmt.cpp
 3171         Str += NRVOCandidate->getDeclName().getAsString();
 3204             Str += FakeNRVOCandidate->getDeclName().getAsString();
tools/clang/lib/Sema/SemaTemplate.cpp
  478                                   Name.getAsString() == CorrectedStr;
  609         << "" << NameInfo.getName().getAsString() << SourceRange(Less, Greater);
  644                                 Name.getAsString() == CorrectedStr;
 4360       << NameInfo.getName().getAsString() << SS.getRange();
tools/clang/lib/Sema/SemaType.cpp
 1762     return Entity.getAsString();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
 2365     Out << DR->getDecl()->getDeclName().getAsString();
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  198           declName = ND->getDeclName().getAsString();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  463   os << "code{" << getDecl()->getDeclName().getAsString() << '}';
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  719           const std::string &declName = ND->getDeclName().getAsString();
tools/clang/tools/libclang/CIndex.cpp
 4553         return cxstring::createDup(E->getName().getAsString());
tools/clang/unittests/AST/ExternalASTSourceTest.cpp
   71       if (Name.getAsString() == "j")
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
   67       if (Ident.getAsString() == FromName && CorrectedQuotedStr == ToName)
  113     if (CurrentSema && Typo.getName().getAsString() == CorrectFrom) {
  155     if (CurrentSema && Typo.getName().getAsString() == CorrectFrom) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  184   std::string decl_name(clang_decl_name.getAsString());
  688   const ConstString name(context.m_decl_name.getAsString().c_str());
  820   const ConstString name(context.m_decl_name.getAsString().c_str());
 1076     IdentifierInfo *ident = &original_ctx->Idents.get(decl_name.getAsString());
 1079     const std::string &decl_name_string = decl_name.getAsString();
 1203     ss.Printf("%s", decl_name.getAsString().c_str());
 1205     ss.Printf("%s", decl_name.getAsString().c_str());
 1464   std::string name_str = context.m_decl_name.getAsString();
 1529             context.m_decl_name.getAsString().c_str());
 2192       ClangASTContext::IsOperator(decl_name.getAsString().c_str(), op_kind)) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  692   const ConstString name(context.m_decl_name.getAsString().c_str());
  791   const ConstString name(context.m_decl_name.getAsString().c_str());
 1649   std::string decl_name(context.m_decl_name.getAsString());
 1738   std::string decl_name(context.m_decl_name.getAsString());
 1857               context.m_decl_name.getAsString().c_str());
 1871   std::string decl_name(context.m_decl_name.getAsString());
 1886               current_id, context.m_decl_name.getAsString().c_str(),
 2040   std::string decl_name(context.m_decl_name.getAsString());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
   46                 name.getAsString().c_str(), decl_ctx->getDeclKindName(),
tools/lldb/source/Symbol/ClangASTContext.cpp
 2329              named_decl->getDeclName().getAsString().c_str());
 2344            record_decl->getDeclName().getAsString().c_str(),
 2351              named_decl->getDeclName().getAsString().c_str());
 2398             if (lhs_decl_name.getAsString() != rhs_decl_name.getAsString())
 2398             if (lhs_decl_name.getAsString() != rhs_decl_name.getAsString())
 2425                 if (lhs_decl_name.getAsString() != rhs_decl_name.getAsString())
 2425                 if (lhs_decl_name.getAsString() != rhs_decl_name.getAsString())
 4643               name = cxx_method_decl->getDeclName().getAsString();
 9889       return ConstString(nd->getDeclName().getAsString());
tools/lldb/source/Symbol/ClangASTImporter.cpp
  878     std::string namespace_string = decl->getDeclName().getAsString();
tools/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp
   59   std::string decl_name(clang_decl_name.getAsString());