Searched refs:QT (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp141 QualType QT = Ctx.getTemplateSpecializationType( local
147 return QT.getTypePtr();
173 QualType QT = Ctx.getTemplateSpecializationType( local
179 return QT.getTypePtr();
368 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx, argument
372 if (isa<PointerType>(QT.getTypePtr())) {
374 Qualifiers Quals = QT.getQualifiers();
375 QT = getFullyQualifiedType(QT->getPointeeType(), Ctx, WithGlobalNsPrefix);
376 QT
463 getFullyQualifiedName(QualType QT, const ASTContext &Ctx, const PrintingPolicy &Policy, bool WithGlobalNsPrefix) argument
[all...]
H A DPrintfFormatString.cpp681 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, argument
691 if (QT->isObjCRetainableType()) {
710 if (QT->isPointerType() && (QT->getPointeeType()->isAnyCharacterType())) {
718 if (QT->getPointeeType()->isWideCharType())
727 if (const EnumType *ETy = QT->getAs<EnumType>())
728 QT = ETy->getDecl()->getIntegerType();
730 const BuiltinType *BT = QT->getAs<BuiltinType>();
732 const VectorType *VT = QT->getAs<VectorType>();
734 QT
[all...]
H A DExprObjC.cpp267 QualType QT = MD->getReturnType(); local
268 if (QT == Ctx.getObjCInstanceType()) {
272 return QT;
278 QualType QT = getType(); local
281 return Ctx.getLValueReferenceType(QT);
283 return Ctx.getRValueReferenceType(QT);
285 return QT;
H A DASTDiagnostic.cpp28 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { argument
32 const Type *Ty = QC.strip(QT);
36 QT = ET->desugar();
41 QT = PT->desugar();
46 QT = MDT->desugar();
52 QT = ST->desugar();
57 QT = AT->desugar();
62 QT = AT->desugar();
69 QT = AT->desugar();
101 QT
[all...]
H A DCommentSema.cpp869 QualType QT = VD->getType(); local
870 return QT->isFunctionPointerType();
884 QualType QT;
886 QT = VD->getType();
889 QT = PD->getType();
895 if (QT->getAs<TypedefType>())
897 if (const auto *P = QT->getAs<PointerType>())
900 if (const auto *P = QT->getAs<BlockPointerType>())
903 return QT->isFunctionPointerType() || QT
[all...]
H A DASTTypeTraits.cpp141 } else if (const QualType *QT = get<QualType>())
142 QT->print(OS, PP);
H A DScanfFormatString.cpp412 bool ScanfSpecifier::fixType(QualType QT, QualType RawQT, argument
420 if (!QT->isPointerType())
423 QualType PT = QT->getPointeeType();
509 if (AT.isValid() && AT.matchesType(Ctx, QT))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DQualTypeNames.h70 /// \param[in] QT - the type for which the fully qualified name will be
75 std::string getFullyQualifiedName(QualType QT, const ASTContext &Ctx,
83 /// \param[in] QT - the type for which the fully qualified type will be
88 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx,
H A DDataCollection.h48 template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) { argument
49 addDataToConsumer(DataConsumer, QT.getAsString());
H A DTemplateBase.h98 void *QT; member in struct:clang::TemplateArgument::DA
152 TemplateArgument(ValueDecl *D, QualType QT) { argument
155 DeclArg.QT = QT.getAsOpaquePtr();
272 return QualType::getFromOpaquePtr(DeclArg.QT);
H A DFormatString.h465 /// For a TypedefType QT, if it is a named integer type such as size_t,
467 static bool namedTypeToLengthModifier(QualType QT, LengthModifier &LM);
604 bool fixType(QualType QT, const LangOptions &LangOpt, ASTContext &Ctx,
675 bool fixType(QualType QT, QualType RawQT, const LangOptions &LangOpt,
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp40 void visitStructFields(QualType QT, CharUnits CurStructOffset, Ts... Args) { argument
41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
46 FT = QT.isVolatileQualified() ? FT.withVolatile() : FT;
175 void visitStruct(QualType QT, const FieldDecl *FD, argument
179 asDerived().visitStructFields(QT, FieldOffset);
207 std::string getName(QualType QT, bool IsVolatile) { argument
208 QT = IsVolatile ? QT.withVolatile() : QT;
209 asDerived().visitStructFields(QT, CharUnit
441 getFunction(StringRef FuncName, QualType QT, std::array<CharUnits, N> Alignments, CodeGenModule &CGM) argument
491 callFunc(StringRef FuncName, QualType QT, std::array<Address, N> Addrs, CodeGenFunction &CallerCGF) argument
600 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
606 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
641 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
644 getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT); local
647 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 1> Addrs) argument
650 getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT); local
687 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
697 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
717 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
729 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
749 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
759 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
780 visitARCStrong(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
795 visitARCWeak(QualType QT, const FieldDecl *FD, CharUnits CurStructOffset, std::array<Address, 2> Addrs) argument
826 QualType QT = Dst.getType(); local
832 callSpecialFunction(G &&Gen, StringRef FuncName, QualType QT, bool IsVolatile, CodeGenFunction &CGF, std::array<Address, N> Addrs) argument
844 getSpecialFunction(G &&Gen, StringRef FuncName, QualType QT, bool IsVolatile, std::array<CharUnits, N> Alignments, CodeGenModule &CGM) argument
857 QualType QT = Dst.getType(); local
864 getNonTrivialCopyConstructorStr( QualType QT, CharUnits Alignment, bool IsVolatile, ASTContext &Ctx) argument
870 getNonTrivialDestructorStr(QualType QT, CharUnits Alignment, bool IsVolatile, ASTContext &Ctx) argument
881 QualType QT = Dst.getType(); local
892 QualType QT = Dst.getType(); local
906 QualType QT = Dst.getType(); local
917 QualType QT = Dst.getType(); local
931 QualType QT = Dst.getType(); local
939 getNonTrivialCStructDefaultConstructor( CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) argument
948 getNonTrivialCStructCopyConstructor( CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, bool IsVolatile, QualType QT) argument
960 getNonTrivialCStructMoveConstructor( CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, bool IsVolatile, QualType QT) argument
972 getNonTrivialCStructCopyAssignmentOperator( CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, bool IsVolatile, QualType QT) argument
984 getNonTrivialCStructMoveAssignmentOperator( CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, bool IsVolatile, QualType QT) argument
996 getNonTrivialCStructDestructor( CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h141 QualType QT);
151 QualType QT);
161 QualType QT);
169 bool IsVolatile, QualType QT);
177 bool IsVolatile, QualType QT);
185 bool IsVolatile, QualType QT);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp69 QualType QT) {
86 !cocoa::isCocoaObjectRef(QT))
110 QualType QT) {
111 if (auto Out = hasAnyEnabledAttrOf<T1>(D, QT))
113 return hasAnyEnabledAttrOf<T2, Others...>(D, QT);
167 static bool isOSObjectPtr(QualType QT) { argument
168 return isOSObjectSubclass(QT->getPointeeCXXRecordDecl());
222 RetainSummaryManager::isKnownSmartPointer(QualType QT) { argument
223 QT = QT
68 hasAnyEnabledAttrOf(const Decl *D, QualType QT) argument
109 hasAnyEnabledAttrOf(const Decl *D, QualType QT) argument
635 QualType QT = (*pi)->getType(); local
888 hasTypedefNamed(QualType QT, StringRef Name) argument
912 QualType QT = pd->getType(); local
926 QualType QT = getCallableReturnType(FD); local
[all...]
H A DConsumed.cpp143 static bool isConsumableType(const QualType &QT) { argument
144 if (QT->isPointerType() || QT->isReferenceType())
147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
153 static bool isAutoCastType(const QualType &QT) { argument
154 if (QT->isPointerType() || QT->isReferenceType())
157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
163 static bool isSetOnReadPtrType(const QualType &QT) { argument
164 if (const CXXRecordDecl *RD = QT
193 mapConsumableAttrState(const QualType QT) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp84 static std::string getPrettyTypeName(QualType QT) { argument
85 QualType PT = QT->getPointeeType();
86 if (!PT.isNull() && !QT->getAs<TypedefType>())
89 return QT.getAsString();
204 static std::string findAllocatedObjectName(const Stmt *S, QualType QT) { argument
208 return getPrettyTypeName(QT);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFuchsiaHandleChecker.cpp231 static SymbolRef getFuchsiaHandleSymbol(QualType QT, SVal Arg, argument
234 while (QT->isAnyPointerType() || QT->isReferenceType()) {
236 QT = QT->getPointeeType();
238 if (const auto *HandleType = QT->getAs<TypedefType>()) {
H A DLLVMConventionsChecker.cpp50 if (const ElaboratedType *QT = T->getAs<ElaboratedType>())
51 T = QT->getNamedType();
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp640 llvm::SmallVectorImpl<QualType> &QT) {
682 // corresponding QualType into "QT".
694 << " QT.push_back(Context."
705 OS << " QT.append({";
728 // QT contains GenTypeNumTypes * #GenVectorSizes elements.
751 auto QT = T->getValueAsDef("QTName"); local
752 if (QT->getValueAsBit("IsAbstract") == 1)
756 OS << " QT.push_back(Context." << QT->getValueAsString("Name")
771 for (unsigned I = 0; I < QT
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp560 bool PointerTypeTakesAnyBlockArguments(QualType QT);
561 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT);
1297 QualType QT = PDecl->getType(); local
1299 (void)convertBlockPointerToFunctionPointer(QT);
1300 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
2277 QualType QT = ND->getType(); local
2278 const Type* TypePtr = QT->getAs<Type>();
2283 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType();
2284 TypePtr = QT->getAs<Type>();
2288 std::string TypeAsString(QT
3917 QualType QT = GetGroupRecordTypeForObjCIvarBitfield(IV); local
4075 QualType QT = (*AI)->getType(); local
4123 QualType QT = (*I)->getType(); local
4217 QualType QT = (*I)->getType(); local
4732 QualType QT = CE->getType(); local
4806 PointerTypeTakesAnyBlockArguments(QualType QT) argument
4824 PointerTypeTakesAnyObjCQualifiedType(QualType QT) argument
5317 QualType QT = (*I)->getType(); local
5334 QualType QT = (*I)->getType(); local
[all...]
H A DRewriteObjC.cpp466 bool PointerTypeTakesAnyBlockArguments(QualType QT);
467 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT);
1131 QualType QT = PDecl->getType(); local
1133 (void)convertBlockPointerToFunctionPointer(QT);
1134 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
2191 QualType QT = ND->getType(); local
2192 const Type* TypePtr = QT->getAs<Type>();
2197 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType();
2198 TypePtr = QT->getAs<Type>();
2202 std::string TypeAsString(QT
3287 QualType QT = (*AI)->getType(); local
3335 QualType QT = (*I)->getType(); local
3429 QualType QT = (*I)->getType(); local
3903 QualType QT = CE->getType(); local
3962 PointerTypeTakesAnyBlockArguments(QualType QT) argument
3980 PointerTypeTakesAnyObjCQualifiedType(QualType QT) argument
4457 QualType QT = (*I)->getType(); local
4474 QualType QT = (*I)->getType(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3188 QualType QT = NRVOCandidate->getType(); local
3189 if (QT.getNonReferenceType()
3206 << NRVOCandidate->getDeclName() << ResultType << QT; local
3216 QualType QT = FakeNRVOCandidate->getType(); local
3217 if (QT->isLValueReferenceType()) {
3220 } else if (QT.getNonReferenceType()
3992 QualType QT; member in class:__anon2094::CatchHandlerType
3999 CatchHandlerType(QualType QT, Unique) : QT(QT), IsPointe argument
4017 CatchHandlerType(QualType QT, bool IsPointer) argument
[all...]
H A DSemaDeclAttr.cpp457 QualType QT = Exp->getType(); local
458 return QT->isBooleanType() || QT->isIntegerType();
503 QualType QT = VD->getType(); local
504 if (QT->isAnyPointerType())
507 if (const auto *RT = QT->getAs<RecordType>()) {
518 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; local
524 static const RecordType *getRecordType(QualType QT) { argument
525 if (const auto *RT = QT->getAs<RecordType>())
529 if (const auto *PT = QT
1437 QualType QT = S.GetTypeFromParser(PT, &QTLoc); local
1469 QualType QT = I->getType(); local
5059 isValidSubjectOfNSReturnsRetainedAttribute(QualType QT) argument
5063 isValidSubjectOfNSAttribute(QualType QT) argument
5068 isValidSubjectOfCFAttribute(QualType QT) argument
5073 isValidSubjectOfOSAttribute(QualType QT) argument
5138 checkNSReturnsRetainedReturnType(SourceLocation Loc, QualType QT) argument
5459 QualType QT = VD->getType(); local
[all...]
H A DDeclSpec.cpp390 QualType QT = DS.getRepAsType().get(); local
391 if (QT.isNull())
394 if (const LocInfoType *LIT = dyn_cast<LocInfoType>(QT))
395 QT = LIT->getType();
397 if (QT.isNull())
400 return QT->isFunctionType();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h656 static bool isKnownSmartPointer(QualType QT);
719 /// type for functions/methods) {@code QT} has any of the given attributes,
726 Optional<ObjKind> hasAnyEnabledAttrOf(const Decl *D, QualType QT);
729 Optional<ObjKind> hasAnyEnabledAttrOf(const Decl *D, QualType QT);

Completed in 387 milliseconds

123