| 156 | #endif |
| 157 | |
| 158 | AbstractType* createDelayedType(CXType type) |
| 159 | { |
| 160 | auto t = new DelayedType; |
| 161 | |
| 162 | QString typeName = ClangString(clang_getTypeSpelling(type)).toString(); |
| 163 | typeName.remove(QStringLiteral("const ")); |
| 164 | typeName.remove(QStringLiteral("volatile ")); |
| 165 | |
| 166 | t->setIdentifier(IndexedTypeIdentifier(typeName)); |
| 167 | return t; |
| 168 | } |
| 169 | |
| 170 | void contextImportDecl(DUContext* context, const DeclarationPointer& decl) |
| 171 | { |
no test coverage detected