summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/Reassociate.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
commit70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5 (patch)
treedd9eee8a6b672d414ae91873338be655edc1f54e /llvm/lib/Transforms/Scalar/Reassociate.cpp
parent55112defb087fc45b6cc1ae724d8ac04cf10b589 (diff)
downloadbcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.gz
bcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.zip
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/Reassociate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp
index 6c66b58729e..9842fd7bb6c 100644
--- a/llvm/lib/Transforms/Scalar/Reassociate.cpp
+++ b/llvm/lib/Transforms/Scalar/Reassociate.cpp
@@ -154,7 +154,7 @@ namespace {
unsigned SymbolicRank;
bool isOr;
};
-}
+} // namespace
namespace {
class Reassociate : public FunctionPass {
@@ -197,7 +197,7 @@ namespace {
void OptimizeInst(Instruction *I);
Instruction *canonicalizeNegConstExpr(Instruction *I);
};
-}
+} // namespace
XorOpnd::XorOpnd(Value *V) {
assert(!isa<ConstantInt>(V) && "No ConstantInt");
OpenPOWER on IntegriCloud