diff --git a/include/glow/Backends/BackendOptions.h b/include/glow/Backends/BackendOptions.h index fa5330c5f5..f4340da04b 100644 --- a/include/glow/Backends/BackendOptions.h +++ b/include/glow/Backends/BackendOptions.h @@ -99,6 +99,6 @@ struct BackendOptions { #undef PRINT_VALUE -} // namespace glow +}; // namespace glow #endif // GLOW_BACKENDS_BACKENDOPTIONS_H diff --git a/include/glow/Optimizer/GraphOptimizer/CompilationContext.h b/include/glow/Optimizer/GraphOptimizer/CompilationContext.h index e7eed29173..0c272ddbc9 100644 --- a/include/glow/Optimizer/GraphOptimizer/CompilationContext.h +++ b/include/glow/Optimizer/GraphOptimizer/CompilationContext.h @@ -542,6 +542,6 @@ struct CompilationContext { using CompilationMode = CompilationContext::CompilationMode; -} // namespace glow +}; // namespace glow #endif // GLOW_OPTIMIZER_GRAPHOPTIMIZER_COMPILATIONCONTEXT_H diff --git a/lib/Backends/NNPI/tests/TestBlacklist.h b/lib/Backends/NNPI/tests/TestBlacklist.h index 2d79fd8f39..f8fb3d4641 100644 --- a/lib/Backends/NNPI/tests/TestBlacklist.h +++ b/lib/Backends/NNPI/tests/TestBlacklist.h @@ -96,4 +96,4 @@ void prepareBlacklist(const std::vector &testBlacklistedSetups, } } } -} // namespace TestBlacklist +}; // namespace TestBlacklist diff --git a/lib/Importer/Caffe2ModelLoader.cpp b/lib/Importer/Caffe2ModelLoader.cpp index bc44838e21..f99f7fa11d 100644 --- a/lib/Importer/Caffe2ModelLoader.cpp +++ b/lib/Importer/Caffe2ModelLoader.cpp @@ -96,7 +96,7 @@ Node *fixNonZero(Function *F, Module &mod, const std::string opName, return withMinusOnesInt; } -} // namespace glow +}; // namespace glow /// Legacy padding modes supported in caffe2. These are used by MaxPool /// operators, and are defined in caffe2_legacy.proto in the caffe2 source diff --git a/lib/Importer/ProtobufLoader.cpp b/lib/Importer/ProtobufLoader.cpp index da45df0b75..2851b66b8a 100644 --- a/lib/Importer/ProtobufLoader.cpp +++ b/lib/Importer/ProtobufLoader.cpp @@ -408,4 +408,4 @@ Expected ProtobufLoader::loadQuantTy(const std::string &name, return mod_.uniqueType(k, dims, dummyScale, thisUniqueOffset); } -} // namespace glow +}; // namespace glow diff --git a/lib/Quantization/Quantization.cpp b/lib/Quantization/Quantization.cpp index 0c244c7541..5926a768ac 100644 --- a/lib/Quantization/Quantization.cpp +++ b/lib/Quantization/Quantization.cpp @@ -842,7 +842,7 @@ class FunctionQuantizer : public FunctionConverter { cleanUp(); assert(function_.verify() && "Conversion led to invalid function"); } -} // namespace +}; // namespace } // namespace diff --git a/tests/benchmark/CommonSLSEB.h b/tests/benchmark/CommonSLSEB.h index b566421aa1..76623ba7ea 100644 --- a/tests/benchmark/CommonSLSEB.h +++ b/tests/benchmark/CommonSLSEB.h @@ -690,5 +690,5 @@ inline void printSummary(const std::string &runPrefix, printf("BenchSummary,%s,%f,%f,%f,%f\n", runPrefix.c_str(), medianRuntime, minRuntime, gb / medianRuntime, gb / minRuntime); } -} // namespace benchmark -} // namespace glow +}; // namespace benchmark +}; // namespace glow