Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 0f1ab96

Browse files
Christopher Ponce de Leonfacebook-github-bot
authored andcommitted
Revert D51029740: Namespace doesn't need to be followed by semicolon
Differential Revision: D51029740 Original commit changeset: 177e3f6e6b0a Original Phabricator Diff: D51029740 fbshipit-source-id: c71ff386342902f2cfa6552d6a834ea3f2475e32
1 parent fa68565 commit 0f1ab96

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

include/glow/Backends/BackendOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ struct BackendOptions {
9999

100100
#undef PRINT_VALUE
101101

102-
} // namespace glow
102+
}; // namespace glow
103103

104104
#endif // GLOW_BACKENDS_BACKENDOPTIONS_H

include/glow/Optimizer/GraphOptimizer/CompilationContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,6 @@ struct CompilationContext {
542542

543543
using CompilationMode = CompilationContext::CompilationMode;
544544

545-
} // namespace glow
545+
}; // namespace glow
546546

547547
#endif // GLOW_OPTIMIZER_GRAPHOPTIMIZER_COMPILATIONCONTEXT_H

lib/Backends/NNPI/tests/TestBlacklist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ void prepareBlacklist(const std::vector<TestSetup> &testBlacklistedSetups,
9696
}
9797
}
9898
}
99-
} // namespace TestBlacklist
99+
}; // namespace TestBlacklist

lib/Importer/Caffe2ModelLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Node *fixNonZero(Function *F, Module &mod, const std::string opName,
9696

9797
return withMinusOnesInt;
9898
}
99-
} // namespace glow
99+
}; // namespace glow
100100

101101
/// Legacy padding modes supported in caffe2. These are used by MaxPool
102102
/// operators, and are defined in caffe2_legacy.proto in the caffe2 source

lib/Importer/ProtobufLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,4 @@ Expected<TypeRef> ProtobufLoader::loadQuantTy(const std::string &name,
408408
return mod_.uniqueType(k, dims, dummyScale, thisUniqueOffset);
409409
}
410410

411-
} // namespace glow
411+
}; // namespace glow

lib/Quantization/Quantization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ class FunctionQuantizer : public FunctionConverter {
842842
cleanUp();
843843
assert(function_.verify() && "Conversion led to invalid function");
844844
}
845-
} // namespace
845+
}; // namespace
846846

847847
} // namespace
848848

tests/benchmark/CommonSLSEB.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,5 +690,5 @@ inline void printSummary(const std::string &runPrefix,
690690
printf("BenchSummary,%s,%f,%f,%f,%f\n", runPrefix.c_str(), medianRuntime,
691691
minRuntime, gb / medianRuntime, gb / minRuntime);
692692
}
693-
} // namespace benchmark
694-
} // namespace glow
693+
}; // namespace benchmark
694+
}; // namespace glow

0 commit comments

Comments
 (0)