We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afcf38e + 5981833 commit b16dbccCopy full SHA for b16dbcc
lib/ClangImporter/ImportDecl.cpp
@@ -3842,14 +3842,6 @@ namespace {
3842
recordObjCOverride(result);
3843
}
3844
3845
- static bool hasUnsafeAPIAttr(const clang::Decl *decl) {
3846
- return decl->hasAttrs() && llvm::any_of(decl->getAttrs(), [](auto *attr) {
3847
- if (auto swiftAttr = dyn_cast<clang::SwiftAttrAttr>(attr))
3848
- return swiftAttr->getAttribute() == "import_unsafe";
3849
- return false;
3850
- });
3851
- }
3852
-
3853
static bool hasComputedPropertyAttr(const clang::Decl *decl) {
3854
return decl->hasAttrs() && llvm::any_of(decl->getAttrs(), [](auto *attr) {
3855
if (auto swiftAttr = dyn_cast<clang::SwiftAttrAttr>(attr))
0 commit comments