Home
last modified time | relevance | path

Searched refs:typeDecl (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/
H A DDeserializationTest.cpp183 SmallVector<uint32_t, 5> typeDecl; in TEST_F() local
184 std::swap(typeDecl, binary); in TEST_F()
188 std::swap(typeDecl, binary); in TEST_F()
198 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F()
204 SmallVector<uint32_t, 5> typeDecl; in TEST_F() local
205 std::swap(typeDecl, binary); in TEST_F()
210 std::swap(typeDecl, binary); in TEST_F()
215 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F()
223 std::swap(typeDecl, binary); in TEST_F()
227 std::swap(typeDecl, binary); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td566 auto typeDecl = cast<CXXRecordDecl>(declaration);
567 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {
575 InjectedClassNameType(typeDecl, injectedSpecializationType);
576 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp1366 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local
1370 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()
1375 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()
1552 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1553 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers()
1571 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()
1578 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers()
1581 type = Context.getObjCInterfaceType(typeDecl.get<ObjCInterfaceDecl *>()); in actOnObjCTypeArgsOrProtocolQualifiers()
1705 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1710 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()