Home
last modified time | relevance | path

Searched refs:TypeDecl (Results 1 – 25 of 120) sorted by relevance

12345

/external/llvm-project/libc/config/linux/
Dapi.td9 def SizeT : TypeDecl<"size_t"> {
16 def SSizeT : TypeDecl<"ssize_t"> {
23 def StructTm: TypeDecl<"struct tm"> {
39 def TimeT: TypeDecl<"time_t"> {
45 def OffT : TypeDecl<"off_t"> {
52 def FILE : TypeDecl<"FILE"> {
146 def FloatT : TypeDecl<"float_t"> {
153 def DoubleT : TypeDecl<"double_t"> {
274 def StructSigactionDefn : TypeDecl<"struct sigaction"> {
288 def SighandlerTDefn : TypeDecl<"__sighandler_t"> {
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp27 const NamedDecl *TypeDecl = in AST_MATCHER() local
29 return TypeDecl->isInStdNamespace() && in AST_MATCHER()
30 (TypeDecl->getName().equals("enable_if") || in AST_MATCHER()
31 TypeDecl->getName().equals("enable_if_t")); in AST_MATCHER()
/external/llvm-project/libc/config/
Dpublic_api.td3 class TypeDecl<string name> {
26 list<TypeDecl> TypeDeclarations = [];
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DExceptionBaseclassCheck.cpp57 if (const auto *TypeDecl = Result.Nodes.getNodeAs<NamedDecl>("decl")) in check() local
58 diag(TypeDecl->getBeginLoc(), "type defined here", DiagnosticIDs::Note); in check()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.h20 class TypeDecl; variable
146 void MaybeRecordPersistentType(clang::TypeDecl *D);
DClangPersistentVariables.cpp76 if (clang::TypeDecl *tdecl = llvm::dyn_cast<clang::TypeDecl>(p.m_decl)) { in GetCompilerTypeFromPersistentDecl()
DASTResultSynthesizer.cpp392 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator; in RecordPersistentTypes()
401 void ASTResultSynthesizer::MaybeRecordPersistentType(TypeDecl *D) { in MaybeRecordPersistentType()
/external/llvm-project/libc/utils/LibcTableGenUtil/
DAPIIndexer.cpp124 for (llvm::Record *TypeDecl : TypeDeclList) in indexPublicAPIDef()
125 TypeDeclsMap[std::string(TypeDecl->getValueAsString("Name"))] = TypeDecl; in indexPublicAPIDef()
/external/python/pycparser/pycparser/
Dc_parser.py273 if isinstance(decl, c_ast.TypeDecl):
283 while not isinstance(decl_tail.type, c_ast.TypeDecl):
312 while not isinstance(type, c_ast.TypeDecl):
405 decls[0]['decl'] = c_ast.TypeDecl(
419 while not isinstance(decls_0_tail, c_ast.TypeDecl):
1039 p[0] = {'decl': c_ast.TypeDecl(None, None, None), 'bitsize': p[2]}
1109 p[0] = c_ast.TypeDecl(
1300 type=p[2] or c_ast.TypeDecl(None, None, None),
1369 type=p[2] or c_ast.TypeDecl(None, None, None),
1377 dummytype = c_ast.TypeDecl(None, None, None)
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp325 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier()
330 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier()
683 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
685 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
686 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier()
724 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
813 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp325 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier()
330 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier()
678 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier()
680 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier()
681 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier()
720 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
807 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
/external/llvm-project/clang/unittests/AST/
DSizelessTypesTest.cpp26 TypeDecl *Foo = cast<TypeDecl>(TU.lookup(&Ctx.Idents.get("foo")).front());
/external/llvm-project/clang/tools/libclang/
DCXCursor.h42 class TypeDecl; variable
88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
/external/clang/tools/libclang/
DCXCursor.h43 class TypeDecl; variable
92 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
97 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
DCXType.cpp166 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getCursorType()
912 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getDeclObjCTypeEncoding()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DASTTests.cpp189 const TypeDecl *TargetDecl = nullptr; in TEST()
192 if (const auto *TD = llvm::dyn_cast<TypeDecl>(&ND)) { in TEST()
/external/llvm-project/libc/utils/HdrGen/
DPublicAPICommand.cpp62 llvm::Record *TypeDecl = Pair.second; in writeAPIFromIndex() local
63 dedentAndWrite(TypeDecl->getValueAsString("Decl"), OS); in writeAPIFromIndex()
/external/python/pycparser/examples/
Dcdecl.py96 if typ == c_ast.TypeDecl:
145 if typ in (c_ast.Decl, c_ast.TypeDecl, c_ast.PtrDecl, c_ast.ArrayDecl):
/external/clang/include/clang/AST/
DASTContext.h273 TypeDecl *FILEDecl;
276 TypeDecl *jmp_bufDecl;
279 TypeDecl *sigjmp_bufDecl;
282 TypeDecl *ucontext_tDecl;
988 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const;
1199 QualType getTypeDeclType(const TypeDecl *Decl,
1200 const TypeDecl *PrevDecl = nullptr) const {
1498 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl()
1508 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl()
1520 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DAST.h108 QualType declaredType(const TypeDecl *D);
/external/llvm-project/clang/include/clang/AST/
DASTContext.h387 TypeDecl *FILEDecl = nullptr;
390 TypeDecl *jmp_bufDecl = nullptr;
393 TypeDecl *sigjmp_bufDecl = nullptr;
396 TypeDecl *ucontext_tDecl = nullptr;
1087 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const;
1416 QualType getTypeDeclType(const TypeDecl *Decl,
1417 const TypeDecl *PrevDecl = nullptr) const {
1759 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl()
1769 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl()
1781 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl()
[all …]
/external/python/cffi/cffi/
Dcparser.py380 isinstance(decl.type.type, pycparser.c_ast.TypeDecl) and
534 if isinstance(type, (pycparser.c_ast.TypeDecl,
555 if (isinstance(typenode, pycparser.c_ast.TypeDecl) and
581 if isinstance(typenode, pycparser.c_ast.TypeDecl):
658 isinstance(params[-1].type, pycparser.c_ast.TypeDecl) and
/external/python/pycparser/utils/internal/
Dmemprofiling.py13 if typ == TypeDecl:
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp62 const ASTContext &Ctx, const TypeDecl *TD,
372 const TypeDecl *TD, in createNestedNameSpecifier()
/external/llvm-project/clang/lib/AST/
DQualTypeNames.cpp46 const ASTContext &Ctx, const TypeDecl *TD,
356 const TypeDecl *TD, in createNestedNameSpecifier()

12345