зеркало из https://github.com/microsoft/clang-1.git
Hardcode "Assert" as a no-return function (panic).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ad487f4ef2
Коммит
9a094cbf19
|
@ -882,6 +882,10 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred,
|
|||
case 5:
|
||||
if (!memcmp(s, "panic", 5)) Builder->BuildSinks = true;
|
||||
break;
|
||||
|
||||
case 6:
|
||||
if (!memcmp(s, "Assert", 6)) Builder->BuildSinks = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче