projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
SimplifyCFG.cpp
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 3d7ab0fd65a9b19e957124b7cf1af0cc91aed51e..71aaa8808b0aee12e5a0c6fc618f919200973b79 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-136,7
+136,7
@@
public:
: TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC) {}
bool run(BasicBlock *BB);
};
: TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC) {}
bool run(BasicBlock *BB);
};
-}
// namespace
+}
/// SafeToMergeTerminators - Return true if it is safe to merge these two
/// terminator instructions together.
/// SafeToMergeTerminators - Return true if it is safe to merge these two
/// terminator instructions together.
@@
-502,7
+502,7
@@
private:
}
};
}
};
-}
// namespace
+}
static void EraseTerminatorInstAndDCECond(TerminatorInst *TI) {
Instruction *Cond = nullptr;
static void EraseTerminatorInstAndDCECond(TerminatorInst *TI) {
Instruction *Cond = nullptr;
@@
-3717,7
+3717,7
@@
namespace {
// For ArrayKind, this is the array.
GlobalVariable *Array;
};
// For ArrayKind, this is the array.
GlobalVariable *Array;
};
-}
// namespace
+}
SwitchLookupTable::SwitchLookupTable(
Module &M, uint64_t TableSize, ConstantInt *Offset,
SwitchLookupTable::SwitchLookupTable(
Module &M, uint64_t TableSize, ConstantInt *Offset,