зеркало из https://github.com/microsoft/clang-1.git
Remove an unused parameter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
894993f48a
Коммит
1eacb725d3
|
@ -1313,8 +1313,7 @@ void GRExprEngine::EvalLocation(ExplodedNodeSet &Dst, Stmt *S,
|
|||
static bool EvalOSAtomicCompareAndSwap(ExplodedNodeSet& Dst,
|
||||
GRExprEngine& Engine,
|
||||
GRStmtNodeBuilder& Builder,
|
||||
CallExpr* CE, SVal L,
|
||||
ExplodedNode* Pred) {
|
||||
CallExpr* CE, ExplodedNode* Pred) {
|
||||
|
||||
// Not enough arguments to match OSAtomicCompareAndSwap?
|
||||
if (CE->getNumArgs() != 3)
|
||||
|
@ -1434,7 +1433,7 @@ static bool EvalOSAtomic(ExplodedNodeSet& Dst,
|
|||
// Check for compare and swap.
|
||||
if (strncmp(FName, "OSAtomicCompareAndSwap", 22) == 0 ||
|
||||
strncmp(FName, "objc_atomicCompareAndSwap", 25) == 0)
|
||||
return EvalOSAtomicCompareAndSwap(Dst, Engine, Builder, CE, L, Pred);
|
||||
return EvalOSAtomicCompareAndSwap(Dst, Engine, Builder, CE, Pred);
|
||||
|
||||
// FIXME: Other atomics.
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче