MIGChecker - assert we have a non-null LocationContext. NFCI.
Fixes scan-build warning. llvm-svn: 361097
This commit is contained in:
parent
4c146ab8c4
commit
3e95568dcf
|
@ -144,6 +144,8 @@ static const ParmVarDecl *getOriginParam(SVal V, CheckerContext &C,
|
|||
|
||||
static bool isInMIGCall(CheckerContext &C) {
|
||||
const LocationContext *LC = C.getLocationContext();
|
||||
assert(LC && "Unknown location context");
|
||||
|
||||
const StackFrameContext *SFC;
|
||||
// Find the top frame.
|
||||
while (LC) {
|
||||
|
|
Loading…
Reference in New Issue