summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-02-07 02:26:14 +0000
committerTed Kremenek <kremenek@apple.com>2012-02-07 02:26:14 +0000
commit8ffd764702af055479365ea3f2a07bc826b1cd8f (patch)
tree2e022347cbfed0d8af4dc66293101c04d8a19d2c /clang/lib/StaticAnalyzer
parentc15a364cbf6252046439be08d2d71ccacb00bb7e (diff)
downloadbcm5719-llvm-8ffd764702af055479365ea3f2a07bc826b1cd8f.tar.gz
bcm5719-llvm-8ffd764702af055479365ea3f2a07bc826b1cd8f.zip
Quote name of function in path diagnostics.
llvm-svn: 149958
Diffstat (limited to 'clang/lib/StaticAnalyzer')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
index 68ec6b0a930..c0804e7340e 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+++ b/clang/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<NamedDecl>(caller))
- Out << "Returning to " << ND->getNameAsString();
+ Out << "Returning to '" << ND->getNameAsString() << "'";
else
Out << "Returning to caller";
}
OpenPOWER on IntegriCloud