commit | f6dcfe05099fdc030768fe16261932a949ce58bc | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Apr 29 22:05:03 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Apr 29 22:05:03 2009 +0000 |
tree | 9af39b69a5293558868e1632ba4e972f5776a5ca | |
parent | b8d8c4b797ae9dbc67c5af93b81aab696d4edfff [diff] [blame] |
Fix null dereference. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70417 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index 4e88baa..34a5fbf 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp
@@ -1675,7 +1675,7 @@ llvm::OwningPtr<PathDiagnostic> D(new PathDiagnostic(R.getBugType().getName(), - PD->useVerboseDescription() + !PD || PD->useVerboseDescription() ? R.getDescription() : R.getShortDescription(), BT.getCategory()));