aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Rewrite/ByteCode.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-12-07 18:27:58 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-12-08 06:05:26 +0000
commitbe0a7e9f27083ada6072fcc0711ffa5630daa5ec (patch)
treee8b711523071e25efe6617b58934c89e468eecd5 /mlir/lib/Rewrite/ByteCode.cpp
parent3bed2a7212ceef611d74c9a2aa679cec31375cee (diff)
downloadllvm-be0a7e9f27083ada6072fcc0711ffa5630daa5ec.zip
llvm-be0a7e9f27083ada6072fcc0711ffa5630daa5ec.tar.gz
llvm-be0a7e9f27083ada6072fcc0711ffa5630daa5ec.tar.bz2
Adjust "end namespace" comment in MLIR to match new agree'd coding style
See D115115 and this mailing list discussion: https://lists.llvm.org/pipermail/llvm-dev/2021-December/154199.html Differential Revision: https://reviews.llvm.org/D115309
Diffstat (limited to 'mlir/lib/Rewrite/ByteCode.cpp')
-rw-r--r--mlir/lib/Rewrite/ByteCode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/Rewrite/ByteCode.cpp b/mlir/lib/Rewrite/ByteCode.cpp
index bd1cd7b..bd98ce0 100644
--- a/mlir/lib/Rewrite/ByteCode.cpp
+++ b/mlir/lib/Rewrite/ByteCode.cpp
@@ -160,7 +160,7 @@ enum OpCode : ByteCodeField {
/// Compare a range of types with a set of constants.
SwitchTypes,
};
-} // end anonymous namespace
+} // namespace
//===----------------------------------------------------------------------===//
// ByteCode Generation
@@ -479,7 +479,7 @@ struct ByteCodeLiveRange {
/// The value range storage index for this range.
Optional<unsigned> valueRangeIndex;
};
-} // end anonymous namespace
+} // namespace
void Generator::generate(ModuleOp module) {
FuncOp matcherFunc = module.lookupSymbol<FuncOp>(
@@ -1313,7 +1313,7 @@ public:
return allocatedValueRanges;
}
};
-} // end anonymous namespace
+} // namespace
void ByteCodeExecutor::executeApplyConstraint(PatternRewriter &rewriter) {
LLVM_DEBUG(llvm::dbgs() << "Executing ApplyConstraint:\n");