diff --git a/clang/lib/CodeGen/CGCilk.cpp b/clang/lib/CodeGen/CGCilk.cpp index 4391185b8d7f..cb5ade7e02c1 100644 --- a/clang/lib/CodeGen/CGCilk.cpp +++ b/clang/lib/CodeGen/CGCilk.cpp @@ -18,7 +18,6 @@ using namespace clang; using namespace CodeGen; -using namespace std; CodeGenFunction::IsSpawnedScope::IsSpawnedScope(CodeGenFunction *CGF) : CGF(CGF), OldIsSpawned(CGF->IsSpawned), @@ -495,6 +494,7 @@ void CodeGenFunction::EmitCilkScopeStmt(const CilkScopeStmt &S) { void CodeGenFunction::EmitCilkForRangeStmt(const CilkForRangeStmt &S, ArrayRef ForAttrs) { + JumpDest LoopExit = getJumpDestInCurrentScope("pfor.end"); // Setup the sync region