HomeSort by: relevance | last modified time | path
    Searched refs:QT (Results 1 - 25 of 72) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/AST/
QualTypeNames.cpp 141 QualType QT = Ctx.getTemplateSpecializationType(
147 return QT.getTypePtr();
173 QualType QT = Ctx.getTemplateSpecializationType(
179 return QT.getTypePtr();
368 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx,
372 if (isa<PointerType>(QT.getTypePtr())) {
374 Qualifiers Quals = QT.getQualifiers();
375 QT = getFullyQualifiedType(QT->getPointeeType(), Ctx, WithGlobalNsPrefix);
376 QT = Ctx.getPointerType(QT)
    [all...]
PrintfFormatString.cpp 681 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt,
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 = VT->getElementType()
    [all...]
ExprObjC.cpp 267 QualType QT = MD->getReturnType();
268 if (QT == Ctx.getObjCInstanceType()) {
272 return QT;
278 QualType QT = getType();
281 return Ctx.getLValueReferenceType(QT);
283 return Ctx.getRValueReferenceType(QT);
285 return QT;
ASTDiagnostic.cpp 28 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) {
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 = FPT ? Context.getFunctionType(RT, Args, FPT->getExtProtoInfo()
    [all...]
CommentSema.cpp 869 QualType QT = VD->getType();
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->isBlockPointerType()
    [all...]
ASTTypeTraits.cpp 155 } else if (const QualType *QT = get<QualType>())
156 QT->print(OS, PP);
ScanfFormatString.cpp 412 bool ScanfSpecifier::fixType(QualType QT, QualType RawQT,
420 if (!QT->isPointerType())
423 QualType PT = QT->getPointeeType();
509 if (AT.isValid() && AT.matchesType(Ctx, QT))
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
QualTypeNames.h 70 /// \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,
DataCollection.h 48 template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) {
49 addDataToConsumer(DataConsumer, QT.getAsString());
TemplateBase.h 109 void *QT;
163 TemplateArgument(ValueDecl *D, QualType QT) {
166 DeclArg.QT = QT.getAsOpaquePtr();
283 return QualType::getFromOpaquePtr(DeclArg.QT);
FormatString.h 465 /// 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,
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGNonTrivialStruct.cpp 40 void visitStructFields(QualType QT, CharUnits CurStructOffset, Ts... Args) {
41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
46 FT = QT.isVolatileQualified() ? FT.withVolatile() : FT;
175 void visitStruct(QualType QT, const FieldDecl *FD,
179 asDerived().visitStructFields(QT, FieldOffset);
207 std::string getName(QualType QT, bool IsVolatile) {
208 QT = IsVolatile ? QT.withVolatile() : QT;
209 asDerived().visitStructFields(QT, CharUnits::Zero())
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
CodeGenABITypes.h 141 QualType QT);
151 QualType QT);
161 QualType QT);
169 bool IsVolatile, QualType QT);
177 bool IsVolatile, QualType QT);
185 bool IsVolatile, QualType QT);
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXType.cpp 893 static bool isIncompleteTypeWithAlignment(QualType QT) {
894 return QT->isIncompleteArrayType() || !QT->isIncompleteType();
901 QualType QT = GetQualType(T);
905 if (QT->isReferenceType())
906 QT = QT.getNonReferenceType();
907 if (!isIncompleteTypeWithAlignment(QT))
909 if (QT->isDependentType())
911 if (const auto *Deduced = dyn_cast<DeducedType>(QT))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
RetainSummaryManager.cpp 69 QualType QT) {
86 !cocoa::isCocoaObjectRef(QT))
110 QualType QT) {
111 if (auto Out = hasAnyEnabledAttrOf<T1>(D, QT))
113 return hasAnyEnabledAttrOf<T2, Others...>(D, QT);
165 static bool isOSObjectPtr(QualType QT) {
166 return isOSObjectSubclass(QT->getPointeeCXXRecordDecl());
220 RetainSummaryManager::isKnownSmartPointer(QualType QT) {
221 QT = QT.getCanonicalType()
    [all...]
Consumed.cpp 143 static bool isConsumableType(const QualType &QT) {
144 if (QT->isPointerType() || QT->isReferenceType())
147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
153 static bool isAutoCastType(const QualType &QT) {
154 if (QT->isPointerType() || QT->isReferenceType())
157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
163 static bool isSetOnReadPtrType(const QualType &QT) {
164 if (const CXXRecordDecl *RD = QT->getPointeeCXXRecordDecl()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
RetainCountDiagnostics.cpp 86 static std::string getPrettyTypeName(QualType QT) {
87 QualType PT = QT->getPointeeType();
88 if (!PT.isNull() && !QT->getAs<TypedefType>())
91 return QT.getAsString();
206 static std::string findAllocatedObjectName(const Stmt *S, QualType QT) {
210 return getPrettyTypeName(QT);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedLocalVarsChecker.cpp 58 QualType QT = V->getType();
59 auto *T = QT.getTypePtr();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
LLVMConventionsChecker.cpp 50 if (const ElaboratedType *QT = T->getAs<ElaboratedType>())
51 T = QT->getNamedType();
FuchsiaHandleChecker.cpp 278 getFuchsiaHandleSymbols(QualType QT, SVal Arg, ProgramStateRef State) {
280 while (QT->isAnyPointerType() || QT->isReferenceType()) {
282 QT = QT->getPointeeType();
284 if (QT->isStructureType()) {
291 if (const auto *HandleType = QT->getAs<TypedefType>()) {
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangOpenCLBuiltinEmitter.cpp 665 llvm::SmallVectorImpl<QualType> &QT) {
708 // corresponding QualType into "QT".
720 << " QT.push_back("
759 OS << " QT.reserve(" << VectorList.size() * BaseTypes.size() << ");\n"
761 << " QT.append(TypeList);\n"
788 auto QT = T->getValueAsDef("QTExpr");
789 if (QT->getValueAsBit("IsAbstract") == 1)
801 OS << " QT.push_back(" << QT->getValueAsString("TypeExpr") << ");\n";
818 for (unsigned I = 0; I < QT.size(); I++)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 560 bool PointerTypeTakesAnyBlockArguments(QualType QT);
561 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT);
1298 QualType QT = PDecl->getType();
1300 (void)convertBlockPointerToFunctionPointer(QT);
1301 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
2279 QualType QT = ND->getType();
2280 const Type* TypePtr = QT->getAs<Type>();
2285 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType();
2286 TypePtr = QT->getAs<Type>();
2290 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy()))
    [all...]
RewriteObjC.cpp 466 bool PointerTypeTakesAnyBlockArguments(QualType QT);
467 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT);
1132 QualType QT = PDecl->getType();
1134 (void)convertBlockPointerToFunctionPointer(QT);
1135 QT.getAsStringInternal(Name, Context->getPrintingPolicy());
2193 QualType QT = ND->getType();
2194 const Type* TypePtr = QT->getAs<Type>();
2199 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType();
2200 TypePtr = QT->getAs<Type>();
2204 std::string TypeAsString(QT.getAsString(Context->getPrintingPolicy()))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDeclAttr.cpp 413 QualType QT = Exp->getType();
414 return QT->isBooleanType() || QT->isIntegerType();
459 QualType QT = VD->getType();
460 if (QT->isAnyPointerType())
463 if (const auto *RT = QT->getAs<RecordType>()) {
474 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT;
480 static const RecordType *getRecordType(QualType QT) {
481 if (const auto *RT = QT->getAs<RecordType>())
485 if (const auto *PT = QT->getAs<PointerType>()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
RetainSummaryManager.h 656 static bool isKnownSmartPointer(QualType QT);
719 /// type for functions/methods) @c 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 71 milliseconds

1 2 3