aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r--lib/Analysis/BugReporter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index 5a0e9cb90a..9c55333e4c 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/lib/Analysis/BugReporter.cpp
@@ -322,6 +322,13 @@ void BugReporter::GeneratePathDiagnostic(PathDiagnostic& PD,
}
}
+ else {
+
+ // FIXME: Get line number.
+
+ os << "'Default' branch taken. "
+ "Execution continues after switch statement.";
+ }
PD.push_front(new PathDiagnosticPiece(L, os.str()));
break;