aboutsummaryrefslogtreecommitdiff
path: root/Driver/ASTConsumers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/ASTConsumers.cpp')
-rw-r--r--Driver/ASTConsumers.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/Driver/ASTConsumers.cpp b/Driver/ASTConsumers.cpp
index 60246865e9..9b3d0974b3 100644
--- a/Driver/ASTConsumers.cpp
+++ b/Driver/ASTConsumers.cpp
@@ -671,15 +671,17 @@ void GRSimpleValsVisitor::VisitCFG(CFG& C, Decl& CD) {
if (!Visualize) {
if (FunctionDecl *FD = dyn_cast<FunctionDecl>(&CD)) {
- llvm::cerr << "ANALYZE: " << FD->getIdentifier()->getName() << ' '
+ llvm::cerr << "ANALYZE: "
<< Ctx->getSourceManager().getSourceName(FD->getLocation())
- << ' ';
+ << ' '
+ << FD->getIdentifier()->getName()
+ << '\n';
}
else if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(&CD)) {
- llvm::cerr << "ANALYZE (ObjC Method): '"
- << MD->getSelector().getName() << "' "
+ llvm::cerr << "ANALYZE (ObjC Method): "
<< Ctx->getSourceManager().getSourceName(MD->getLocation())
- << ' ';
+ << " '"
+ << MD->getSelector().getName() << "'\n";
}
#if 0