We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a24332 commit 05ed66aCopy full SHA for 05ed66a
1 file changed
swift/extractor/translators/DeclTranslator.cpp
@@ -102,17 +102,6 @@ codeql::PatternBindingDecl DeclTranslator::translatePatternBindingDecl(
102
}
103
104
codeql::ConcreteVarDecl DeclTranslator::translateVarDecl(const swift::VarDecl& decl) {
105
- if (decl.getNameStr() == "capacity") {
106
- std::string dump;
107
- llvm::raw_string_ostream oss{dump};
108
- decl.dump(oss);
109
- oss << '\n';
110
- decl.getDeclContext()->printContext(oss);
111
112
- oss << "pointer: " << &decl << '\n';
113
- oss << "mangling: " << swift::Mangle::ASTMangler().mangleAnyDecl(&decl, true);
114
- dispatcher.emitDebugInfo(dump);
115
- }
116
auto entry = createEntry(decl);
117
entry.introducer_int = static_cast<uint8_t>(decl.getIntroducer());
118
fillVarDecl(decl, entry);
0 commit comments