From b9201d2d138dca631cdc43f8e57d9e9e6248c25c Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 7 Feb 2012 02:26:14 +0000 Subject: [PATCH] Quote name of function in path diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149958 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp index 68ec6b0a93..c0804e7340 100644 --- a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp +++ b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp @@ -763,7 +763,7 @@ CallEnterExitBRVisitor::VisitNode(const ExplodedNode *N, const Decl *caller = CExit->getLocationContext()->getParent()->getDecl(); pos = getLastStmtLoc(PrevN, BRC.getSourceManager()); if (const NamedDecl *ND = dyn_cast(caller)) - Out << "Returning to " << ND->getNameAsString(); + Out << "Returning to '" << ND->getNameAsString() << "'"; else Out << "Returning to caller"; } -- 2.50.1