diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-02-07 02:26:14 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-02-07 02:26:14 +0000 |
commit | b9201d2d138dca631cdc43f8e57d9e9e6248c25c (patch) | |
tree | 70e1611762f2627c60cbfa5aca766ce35ead80a1 /lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | |
parent | bb3d9976fd0e037ec9864baeaf23dc138bcb6df0 (diff) |
Quote name of function in path diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporterVisitors.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<NamedDecl>(caller)) - Out << "Returning to " << ND->getNameAsString(); + Out << "Returning to '" << ND->getNameAsString() << "'"; else Out << "Returning to caller"; } |