mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #40305 from compnerd/semitruck
gardening: make c++98-compat-extra-semi an error
This commit is contained in:
@@ -378,7 +378,7 @@ static bool printModuleInterfaceDecl(Decl *D,
|
||||
/// Sorts import declarations for display.
|
||||
static bool compareImports(ImportDecl *LHS, ImportDecl *RHS) {
|
||||
return LHS->getImportPath() < RHS->getImportPath();
|
||||
};
|
||||
}
|
||||
|
||||
/// Sorts Swift declarations for display.
|
||||
static bool compareSwiftDecls(Decl *LHS, Decl *RHS) {
|
||||
@@ -393,7 +393,7 @@ static bool compareSwiftDecls(Decl *LHS, Decl *RHS) {
|
||||
// FIXME: not sufficient to establish a total order for overloaded decls.
|
||||
}
|
||||
return LHS->getKind() < RHS->getKind();
|
||||
};
|
||||
}
|
||||
|
||||
static std::pair<ArrayRef<Decl*>, ArrayRef<Decl*>>
|
||||
getDeclsFromCrossImportOverlay(ModuleDecl *Overlay, ModuleDecl *Declaring,
|
||||
|
||||
Reference in New Issue
Block a user