mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[gardening] C++ gardening: Terminate namespaces, fix argument names, ...
Changes: * Terminate all namespaces with the correct closing comment. * Make sure argument names in comments match the corresponding parameter name. * Remove redundant get() calls on smart pointers. * Prefer using "override" or "final" instead of "virtual". Remove "virtual" where appropriate.
This commit is contained in:
@@ -288,7 +288,7 @@ namespace {
|
||||
explicit PrettyModuleFileDeserialization(const ModuleFile &file)
|
||||
: File(file) {}
|
||||
|
||||
virtual void print(raw_ostream &os) const override {
|
||||
void print(raw_ostream &os) const override {
|
||||
os << "While reading from " << File.getModuleFilename() << "\n";
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user