Home
last modified time | relevance | path

Searched refs:getUnderlyingType (Results 1 – 25 of 89) sorted by relevance

1234

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DEnumsGen.cpp143 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitOperators()
195 enumAttr.getUnderlyingType()); in emitSymToStrFnForBitEnum()
232 enumerant.getStr(), enumAttr.getUnderlyingType()); in emitSymToStrFnForBitEnum()
277 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitStrToSymFnForBitEnum()
324 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitUnderlyingToSymFnForIntEnum()
379 StringRef underlyingType = enumAttr.getUnderlyingType(); in emitSpecializedAttrDef()
413 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitUnderlyingToSymFnForBitEnum()
440 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitEnumDecl()
H A DSPIRVUtilsGen.cpp374 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitAvailabilityQueryForBitEnum()
1326 enumAttr->getUnderlyingType()); in emitAvailabilityImpl()
1333 enumAttr->getUnderlyingType()); in emitAvailabilityImpl()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp184 Session.getSymbolCache().findSymbolByTypeIndex(Record->getUnderlyingType()); in getBuiltinType()
186 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType()
302 Record->getUnderlyingType()); in getLength()
349 Record->getUnderlyingType()); in getTypeId()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseUsingCheck.cpp82 if (MatchedDecl->getUnderlyingType()->isArrayType() || StartLoc.isMacroID()) { in check()
93 std::string Type = MatchedDecl->getUnderlyingType().getAsString(PrintPolicy); in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DODRHash.cpp351 AddQualType(D->getUnderlyingType()); in VisitTypedefNameDecl()
719 QualType UnderlyingType = D->getUnderlyingType(); in RemoveTypedef()
846 AddQualType(T->getUnderlyingType()); in VisitDecltypeType()
1035 QualType UnderlyingType = T->getDecl()->getUnderlyingType(); in VisitTypedefType()
1040 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType()
1064 AddQualType(T->getUnderlyingType()); in VisitTypeOfType()
1097 AddQualType(T->getUnderlyingType()); in VisitUnaryTransformType()
H A DStmtIterator.cpp86 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
H A DASTStructuralEquivalence.cpp951 Context, cast<MacroQualifiedType>(T1)->getUnderlyingType(), in IsStructurallyEquivalent()
952 cast<MacroQualifiedType>(T2)->getUnderlyingType())) in IsStructurallyEquivalent()
977 cast<TypeOfType>(T1)->getUnderlyingType(), in IsStructurallyEquivalent()
978 cast<TypeOfType>(T2)->getUnderlyingType())) in IsStructurallyEquivalent()
984 Context, cast<UnaryTransformType>(T1)->getUnderlyingType(), in IsStructurallyEquivalent()
985 cast<UnaryTransformType>(T2)->getUnderlyingType())) in IsStructurallyEquivalent()
1924 return IsStructurallyEquivalent(Context, D1->getUnderlyingType(), in IsStructurallyEquivalent()
1925 D2->getUnderlyingType()); in IsStructurallyEquivalent()
H A DASTImporterLookupTable.cpp28 QualType Ty = D->getUnderlyingType(); in VisitTypedefNameDecl()
H A DType.cpp1288 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1294 typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>(); in VisitObjCTypeParamType()
1299 return typeParam->getUnderlyingType(); in VisitObjCTypeParamType()
1874 return Visit(T->getUnderlyingType()); in VisitMacroQualifiedType()
3444 return getDecl()->getUnderlyingType(); in desugar()
3451 assert(Underlying == getUnderlyingType()); in UsingType()
3454 QualType UsingType::getUnderlyingType() const { in getUnderlyingType() function in UsingType
3458 QualType MacroQualifiedType::desugar() const { return getUnderlyingType(); } in desugar()
3463 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType(); in getModifiedType()
3511 return getUnderlyingType(); in desugar()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeEnum.h46 getUnderlyingType)
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp40 if (TypedefDecl->getUnderlyingType()->isTypedefNameType()) in getUnderlyingTypeDecl()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyEnumDumper.cpp41 auto UnderlyingType = Symbol.getUnderlyingType(); in start()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCocoaConventions.cpp34 RetTy = TD->getDecl()->getUnderlyingType(); in isRefType()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DAttribute.h178 StringRef getUnderlyingType() const;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h532 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
538 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
545 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
H A DTypeProperties.td370 let Read = [{ node->getUnderlyingType() }];
407 let Read = [{ node->getUnderlyingType() }];
417 let Read = [{ node->getUnderlyingType() }];
433 let Read = [{ node->getUnderlyingType() }];
595 let Read = [{ node->getUnderlyingType() }];
H A DTypeLoc.h672 QualType getUnderlyingType() const { in getUnderlyingType() function
673 return getTypePtr()->getUnderlyingType(); in getUnderlyingType()
1133 QualType getInnerType() const { return getTypePtr()->getUnderlyingType(); } in getInnerType()
2005 QualType getUnderlyingType() const { in getUnderlyingType() function
2006 return this->getTypePtr()->getUnderlyingType(); in getUnderlyingType()
H A DASTNodeTraverser.h417 void VisitTypedefDecl(const TypedefDecl *D) { Visit(D->getUnderlyingType()); } in VisitTypedefDecl()
543 Visit(D->getUnderlyingType()); in VisitTypeAliasDecl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp113 Ty = TT->getDecl()->getUnderlyingType(); in isGlobalConstString()
H A DVLASizeChecker.cpp265 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp485 if (!DT->getUnderlyingType().isNull()) in VisitFunctionDecl()
486 DeducedType = DT->getUnderlyingType(); in VisitFunctionDecl()
505 while (DT && !DT->getUnderlyingType().isNull()) { in VisitDecltypeTypeLoc()
506 DeducedType = DT->getUnderlyingType(); in VisitDecltypeTypeLoc()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DAttribute.cpp189 StringRef EnumAttr::getUnderlyingType() const { in getUnderlyingType() function in EnumAttr
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h149 inline QualType getUnderlyingType(const Expr &Node) { return Node.getType(); }
151 inline QualType getUnderlyingType(const ValueDecl &Node) {
154 inline QualType getUnderlyingType(const TypedefNameDecl &Node) {
155 return Node.getUnderlyingType();
157 inline QualType getUnderlyingType(const FriendDecl &Node) {
162 inline QualType getUnderlyingType(const CXXBaseSpecifier &Node) {
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp588 QualType T = TDecl->getUnderlyingType(); in ActOnSuperClassOfClassInterface()
915 if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(), in checkTypeParamListConsistency()
916 newTypeParam->getUnderlyingType())) in checkTypeParamListConsistency()
925 << newTypeParam->getUnderlyingType() in checkTypeParamListConsistency()
928 << prevTypeParam->getUnderlyingType() in checkTypeParamListConsistency()
933 prevTypeParam->getUnderlyingType().getAsString( in checkTypeParamListConsistency()
954 = " : " + prevTypeParam->getUnderlyingType().getAsString( in checkTypeParamListConsistency()
958 << prevTypeParam->getUnderlyingType() in checkTypeParamListConsistency()
1122 QualType T = TDecl->getUnderlyingType(); in ActOnTypedefedProtocols()
1157 QualType T = TDecl->getUnderlyingType(); in ActOnCompatibilityAlias()
[all …]
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()

1234