Skip to content

Commit

Permalink
Revert D51029740: Namespace doesn't need to be followed by semicolon
Browse files Browse the repository at this point in the history
Differential Revision:
D51029740

Original commit changeset: 177e3f6e6b0a

Original Phabricator Diff: D51029740

fbshipit-source-id: c71ff386342902f2cfa6552d6a834ea3f2475e32
  • Loading branch information
Christopher Ponce de Leon authored and facebook-github-bot committed Nov 6, 2023
1 parent fa68565 commit 0f1ab96
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion include/glow/Backends/BackendOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ struct BackendOptions {

#undef PRINT_VALUE

} // namespace glow
}; // namespace glow

#endif // GLOW_BACKENDS_BACKENDOPTIONS_H
2 changes: 1 addition & 1 deletion include/glow/Optimizer/GraphOptimizer/CompilationContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,6 @@ struct CompilationContext {

using CompilationMode = CompilationContext::CompilationMode;

} // namespace glow
}; // namespace glow

#endif // GLOW_OPTIMIZER_GRAPHOPTIMIZER_COMPILATIONCONTEXT_H
2 changes: 1 addition & 1 deletion lib/Backends/NNPI/tests/TestBlacklist.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ void prepareBlacklist(const std::vector<TestSetup> &testBlacklistedSetups,
}
}
}
} // namespace TestBlacklist
}; // namespace TestBlacklist
2 changes: 1 addition & 1 deletion lib/Importer/Caffe2ModelLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/Importer/ProtobufLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,4 @@ Expected<TypeRef> ProtobufLoader::loadQuantTy(const std::string &name,
return mod_.uniqueType(k, dims, dummyScale, thisUniqueOffset);
}

} // namespace glow
}; // namespace glow
2 changes: 1 addition & 1 deletion lib/Quantization/Quantization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ class FunctionQuantizer : public FunctionConverter {
cleanUp();
assert(function_.verify() && "Conversion led to invalid function");
}
} // namespace
}; // namespace

} // namespace

Expand Down
4 changes: 2 additions & 2 deletions tests/benchmark/CommonSLSEB.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0f1ab96

Please sign in to comment.