Skip to content

Commit 7abc364

Browse files
eliecuevasneboat
authored andcommitted
cleanup unneeded imports and fix comments
1 parent 9a2854c commit 7abc364

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

clang/lib/CodeGen/CGCilk.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
#include "CGCleanup.h"
1616
#include "clang/AST/ExprCilk.h"
1717
#include "clang/AST/StmtCilk.h"
18-
#include <iostream>
1918

2019
using namespace clang;
2120
using namespace CodeGen;
22-
using namespace std;
2321

2422
CodeGenFunction::IsSpawnedScope::IsSpawnedScope(CodeGenFunction *CGF)
2523
: CGF(CGF), OldIsSpawned(CGF->IsSpawned),
@@ -539,8 +537,6 @@ CodeGenFunction::EmitCilkForRangeStmt(const CilkForRangeStmt &S,
539537

540538
Builder.CreateCondBr(InitialBoolCondVal, Continue.getBlock(), LoopExit.getBlock());
541539

542-
543-
544540
EmitBlock(CondBlock);
545541
Expr::EvalResult Result;
546542

clang/lib/Parse/ParseCilk.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,9 @@ StmtResult Parser::ParseCilkForStatement(SourceLocation *TrailingElseLoc) {
434434
// if (CoawaitLoc.isValid() && getLangOpts().CPlusPlus20)
435435
// Diag(CoawaitLoc, diag::warn_deprecated_for_co_await);
436436

437-
// // We need to perform most of the semantic analysis for a C++0x for-range
438-
// // statememt before parsing the body, in order to be able to deduce the type
439-
// // of an auto-typed loop variable.
437+
// We need to perform most of the semantic analysis for a C++0x for-range
438+
// statememt before parsing the body, in order to be able to deduce the type
439+
// of an auto-typed loop variable.
440440
StmtResult ForRangeStmt;
441441
// StmtResult ForEachStmt;
442442

0 commit comments

Comments
 (0)