Home
last modified time | relevance | path

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

/llvm-project/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()
222 SmallVector<uint32_t, 5> typeDecl; in TEST_F() local
223 std::swap(typeDecl, binary); in TEST_F()
[all …]
/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td624 auto typeDecl = cast<CXXRecordDecl>(declaration);
625 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {
633 InjectedClassNameType(typeDecl, injectedSpecializationType);
634 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1379 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate()
1383 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()
1388 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()
1561 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers()
1562 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers() local
1580 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()
1587 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers()
1590 type = Context.getObjCInterfaceType(cast<ObjCInterfaceDecl *>(typeDecl)); in actOnObjCTypeArgsOrProtocolQualifiers()
1714 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1719 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()
1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { ValidateCandidate() local
1582 __anon8421e07e0502(TypeOrClassDecl typeDecl, SourceLocation loc) actOnObjCTypeArgsOrProtocolQualifiers() argument
1715 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { actOnObjCTypeArgsOrProtocolQualifiers() local
[all...]