forked from OSchip/llvm-project
Fix another ternary Visual C++ is OK wiht but gcc not.
llvm-svn: 232624
This commit is contained in:
parent
49c63695c0
commit
1a9f58b32d
|
@ -162,7 +162,7 @@ void DereferenceChecker::reportBug(ProgramStateRef State, const Stmt *S,
|
|||
os.flush();
|
||||
BugReport *report =
|
||||
new BugReport(*BT_null,
|
||||
buf.empty() ? BT_null->getDescription() : buf,
|
||||
buf.empty() ? BT_null->getDescription() : StringRef(buf),
|
||||
N);
|
||||
|
||||
bugreporter::trackNullOrUndefValue(N, bugreporter::getDerefExpr(S), *report);
|
||||
|
|
Loading…
Reference in New Issue