commit | da0e8429a3598acfdd0ecf15135d432e4dd3517c | [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 | d49967f8764135ae65658e354b6d38e3637c9de3 [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()));