Home
last modified time | relevance | path

Searched refs:QualType (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTContext.h363 QualType ObjCIdRedefinitionType;
364 QualType ObjCClassRedefinitionType;
365 QualType ObjCSelRedefinitionType;
382 QualType ObjCConstantStringType;
386 mutable QualType ObjCSuperType;
388 QualType ObjCNSStringType;
700 QualType getIntTypeForBitwidth(unsigned DestWidth,
706 QualType getRealTypeForBitwidth(unsigned DestWidth, bool ExplicitIEEE) const;
1057 mutable QualType AutoDeductTy; // Deduction against 'auto'.
1058 mutable QualType AutoRRefDeductTy; // Deduction against 'auto &&'.
[all …]
H A DType.h61 class QualType; variable
668 class QualType {
691 QualType() = default;
692 QualType(const Type *Ptr, unsigned Quals) : Value(Ptr, Quals) {}
693 QualType(const ExtQuals *Ptr, unsigned Quals) : Value(Ptr, Quals) {}
715 static QualType getFromOpaquePtr(const void *Ptr) {
716 QualType T;
804 return QualType::isConstant(*this, Ctx);
840 QualType withConst() const {
848 QualType withVolatile() const {
[all …]
H A DNonTrivialTypeVisitor.h22 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit()
28 RetTy visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind()
31 case QualType::DK_objc_strong_lifetime: in visitWithKind()
33 case QualType::DK_nontrivial_c_struct: in visitWithKind()
35 case QualType::DK_none: in visitWithKind()
37 case QualType::DK_cxx_destructor: in visitWithKind()
39 case QualType::DK_objc_weak_lifetime: in visitWithKind()
51 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit()
58 RetTy visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, in visitWithKind()
59 QualType FT, Ts &&... Args) { in visitWithKind()
[all …]
H A DTypeOrdering.h29 bool operator()(QualType T1, QualType T2) const { in operator()
39 template<> struct DenseMapInfo<clang::QualType> {
40 static inline clang::QualType getEmptyKey() { return clang::QualType(); }
42 static inline clang::QualType getTombstoneKey() {
43 using clang::QualType;
44 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
47 static unsigned getHashValue(clang::QualType Val) {
52 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
H A DTypeProperties.td13 def : Property<"elementType", QualType> {
21 def : Property<"pointeeType", QualType> {
29 def : Property<"originalType", QualType> {
32 def : Property<"adjustedType", QualType> {
50 def : Property<"pointeeType", QualType> {
58 def : Property<"pointeeTypeAsWritten", QualType> {
81 def : Property<"pointeeType", QualType> {
84 def : Property<"baseType", QualType> {
85 let Read = [{ QualType(node->getClass(), 0) }];
94 def : Property<"elementType", QualType> {
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h70 const QualType ArrayIndexTy;
75 SVal evalCastKind(UndefinedVal V, QualType CastTy, QualType OriginalTy);
76 SVal evalCastKind(UnknownVal V, QualType CastTy, QualType OriginalTy);
77 SVal evalCastKind(Loc V, QualType CastTy, QualType OriginalTy);
78 SVal evalCastKind(NonLoc V, QualType CastTy, QualType OriginalTy);
79 SVal evalCastSubKind(loc::ConcreteInt V, QualType CastTy,
80 QualType OriginalTy);
81 SVal evalCastSubKind(loc::GotoLabel V, QualType CastTy, QualType OriginalTy);
82 SVal evalCastSubKind(loc::MemRegionVal V, QualType CastTy,
83 QualType OriginalTy);
[all …]
H A DSymbolManager.h67 QualType getType() const override;
79 QualType T;
86 QualType t, unsigned count, const void *symbolTag) in SymbolConjured()
102 QualType getType() const override;
109 QualType T, unsigned Count, const LocationContext *LCtx, in Profile()
146 QualType getType() const override;
184 QualType getType() const override;
212 QualType T;
218 SymbolMetadata(SymbolID sym, const MemRegion* r, const Stmt *s, QualType t, in SymbolMetadata()
235 QualType getType() const override;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DType.cpp73 const IdentifierInfo* QualType::getBaseTypeIdentifier() const { in getBaseTypeIdentifier()
93 bool QualType::mayBeDynamicClass() const { in mayBeDynamicClass()
98 bool QualType::mayBeNotDynamicClass() const { in mayBeNotDynamicClass()
103 bool QualType::isConstant(QualType T, const ASTContext &Ctx) { in isConstant()
118 ArrayType::ArrayType(TypeClass tc, QualType et, QualType can, in ArrayType()
142 QualType ElementType, in getNumAddressingBits()
189 const ASTContext &Context, QualType ET, in Profile()
203 QualType et, QualType can, in DependentSizedArrayType()
212 QualType ET, in Profile()
223 QualType ElementType, in DependentVectorType()
[all …]
H A DASTContext.cpp592 QualType QT = TD->getUnderlyingType(); in getCommentForDecl()
617 QualType Ty = I.getType(); in getCommentForDecl()
632 QualType Ty = I.getType(); in getCommentForDecl()
695 QualType T = NTTP->getExpansionType(I); in Profile()
715 QualType ConstrainedType) { in canonicalizeImmediatelyDeclaredConstraint()
791 QualType ParamAsArgument(NewTTP->getTypeForDecl(), 0); in getCanonicalTemplateTemplateParmDecl()
811 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl()
815 SmallVector<QualType, 2> ExpandedTypes; in getCanonicalTemplateTemplateParmDecl()
1238 TypedefDecl *ASTContext::buildImplicitTypedef(QualType T, in buildImplicitTypedef()
1262 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
[all …]
H A DInheritViz.cpp36 std::map<QualType, int, QualTypeOrdering> DirectBaseCount;
37 std::set<QualType, QualTypeOrdering> KnownVirtualBases;
43 void WriteGraph(QualType Type) { in WriteGraph()
53 void WriteNode(QualType Type, bool FromVirtual);
58 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual);
62 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { in WriteNode()
63 QualType CanonType = Context.getCanonicalType(Type); in WriteNode()
96 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode()
124 InheritanceHierarchyWriter::WriteNodeReference(QualType Type, in WriteNodeReference()
126 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
[all …]
H A DASTDiagnostic.cpp28 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { in Desugar()
77 QualType SugarRT = FT->getReturnType(); in Desugar()
78 QualType RT = Desugar(Context, SugarRT, DesugarReturn); in Desugar()
85 SmallVector<QualType, 4> Args; in Desugar()
88 for (QualType SugarPT : FPT->param_types()) { in Desugar()
89 QualType PT = Desugar(Context, SugarPT, DesugarArgument); in Desugar()
132 if (QualType(Ty,0) == Context.getObjCIdType() || in Desugar()
133 QualType(Ty,0) == Context.getObjCClassType() || in Desugar()
134 QualType(Ty,0) == Context.getObjCSelType() || in Desugar()
135 QualType(Ty,0) == Context.getObjCProtoType()) in Desugar()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp84 static CXTypeKind GetTypeKind(QualType T) { in GetTypeKind()
126 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType()
145 QualType UnqualT = T.getUnqualifiedType(); in MakeCXType()
169 static inline QualType GetQualType(CXType CT) { in GetQualType()
170 return QualType::getFromOpaquePtr(CT.data[0]); in GetQualType()
178 GetTemplateArguments(QualType Type) { in GetTemplateArguments()
193 static Optional<QualType> TemplateArgumentToQualType(const TemplateArgument &A) { in TemplateArgumentToQualType()
199 static Optional<QualType>
221 return MakeCXType(QualType(), TU); in clang_getCursorType()
225 QualType T = cxcursor::getCursorExpr(C)->getType(); in clang_getCursorType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DInitialization.h141 QualType Type;
221 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
240 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity()
262 InitializeParameter(ASTContext &Context, ParmVarDecl *Parm, QualType Type) { in InitializeParameter()
278 QualType Type, in InitializeParameter()
290 InitializeTemplateParameter(QualType T, NonTypeTemplateParmDecl *Param) { in InitializeTemplateParameter()
301 QualType Type, bool NRVO) { in InitializeResult()
306 QualType Type) { in InitializeStmtExprResult()
311 QualType Type, bool NRVO) { in InitializeBlock()
316 QualType Type, bool NRVO) { in InitializeLambdaToBlock()
[all …]
H A DOverload.h333 void setFromType(QualType T) { FromTypePtr = T.getAsOpaquePtr(); } in setFromType()
335 void setToType(unsigned Idx, QualType T) { in setToType()
340 void setAllToTypes(QualType T) { in setAllToTypes()
346 QualType getFromType() const { in getFromType()
347 return QualType::getFromOpaquePtr(FromTypePtr); in getFromType()
350 QualType getToType(unsigned Idx) const { in getToType()
352 return QualType::getFromOpaquePtr(ToTypePtrs[Idx]); in getToType()
364 APValue &ConstantValue, QualType &ConstantType,
426 QualType getFromType() const { in getFromType()
427 return QualType::getFromOpaquePtr(FromTypePtr); in getFromType()
[all …]
H A DSema.h180 class QualType; variable
301 void enterDesignatedInitializer(SourceLocation Tok, QualType BaseType,
313 llvm::function_ref<QualType()> ComputeType);
322 void enterTypeCast(SourceLocation Tok, QualType CastType);
330 QualType get(SourceLocation Tok) const { in get()
332 return QualType(); in get()
337 return QualType(); in get()
345 QualType Type;
348 llvm::function_ref<QualType()> ComputeType;
385 QualType ResultTy,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp52 DefinedOrUnknownSVal SValBuilder::makeZeroVal(QualType type) { in makeZeroVal()
68 const llvm::APSInt& rhs, QualType type) { in makeNonLoc()
79 QualType type) { in makeNonLoc()
86 const SymExpr *rhs, QualType type) { in makeNonLoc()
93 QualType fromTy, QualType toTy) { in makeNonLoc()
110 return evalCast(val, ArrayIndexTy, QualType{}); in convertToArrayIndex()
119 QualType T = region->getValueType(); in getRegionValueSymbolVal()
139 QualType T = Ex->getType(); in conjureSymbolVal()
146 QualType ExType = Ex->getType(); in conjureSymbolVal()
156 QualType type, in conjureSymbolVal()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DConstantEmitter.h74 QualType destType);
76 QualType destType);
102 llvm::Constant *emitAbstract(const Expr *E, QualType T);
104 QualType T);
107 llvm::Constant *tryEmitAbstract(const Expr *E, QualType T);
108 llvm::Constant *tryEmitAbstractForMemory(const Expr *E, QualType T);
110 llvm::Constant *tryEmitAbstract(const APValue &value, QualType T);
111 llvm::Constant *tryEmitAbstractForMemory(const APValue &value, QualType T);
115 llvm::Constant *emitNullForMemory(QualType T) { in emitNullForMemory()
118 llvm::Constant *emitForMemory(llvm::Constant *C, QualType T) { in emitForMemory()
[all …]
H A DCGNonTrivialStruct.cpp25 static uint64_t getFieldSize(const FieldDecl *FD, QualType FT, in getFieldSize()
40 void visitStructFields(QualType QT, CharUnits CurStructOffset, Ts... Args) { in visitStructFields()
45 QualType FT = FD->getType(); in visitStructFields()
86 void preVisit(QualType::PrimitiveCopyKind PCK, QualType FT, in preVisit()
93 void visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind()
107 void visitTrivial(QualType FT, const FieldDecl *FD, CharUnits CurStructOffset, in visitTrivial()
159 void visitARCStrong(QualType FT, const FieldDecl *FD, in visitARCStrong()
168 void visitARCWeak(QualType FT, const FieldDecl *FD, in visitARCWeak()
175 void visitStruct(QualType QT, const FieldDecl *FD, in visitStruct()
188 return asDerived().visitTrivial(QualType(AT, 0), FD, CurStructOffset); in visitArray()
[all …]
H A DCGCXXABI.h67 llvm::Constant *GetBogusMemberPointer(QualType T);
83 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
206 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
233 Address Ptr, QualType ElementType,
237 virtual llvm::GlobalVariable *getThrowInfo(QualType T) { return nullptr; } in getThrowInfo()
250 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0;
252 getAddrOfCXXCatchHandlerType(QualType Ty, QualType CatchHandlerType) = 0;
256 QualType SrcRecordTy) = 0;
258 virtual llvm::Value *EmitTypeid(CodeGenFunction &CGF, QualType SrcRecordTy,
263 QualType SrcRecordTy) = 0;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp389 using ArgTypes = std::vector<Optional<QualType>>;
390 using RetType = Optional<QualType>;
394 const QualType Irrelevant{};
395 bool static isIrrelevant(QualType T) { return T.isNull(); } in isIrrelevant()
402 using ArgQualTypes = std::vector<QualType>;
404 QualType RetTy;
412 for (Optional<QualType> Arg : ArgTys) { in Signature()
434 static void assertArgTypeSuitableForSignature(QualType T) { in assertArgTypeSuitableForSignature()
440 static void assertRetTypeSuitableForSignature(QualType T) { in assertRetTypeSuitableForSignature()
446 static QualType getArgType(const FunctionDecl *FD, ArgNo ArgN) { in getArgType()
[all …]
H A DDynamicTypeChecker.cpp59 void reportTypeError(QualType DynamicType, QualType StaticType,
68 void DynamicTypeChecker::reportTypeError(QualType DynamicType, in reportTypeError()
69 QualType StaticType, in reportTypeError()
77 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
80 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
115 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
121 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
124 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
129 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
132 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h220 bool AlreadyTransformed(QualType T) { in AlreadyTransformed()
318 QualType TransformType(QualType T);
334 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
343 QualType TransformTypeWithDeducedTST(QualType T);
518 QualType ObjectType = QualType(),
562 QualType ObjectType = QualType(),
629 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
636 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T);
640 QualType TransformFunctionProtoType(TypeLocBuilder &TLB,
648 SmallVectorImpl<QualType> &Exceptions,
[all …]
H A DSemaType.cpp70 QualType type) { in diagnoseBadTypeAttribute()
251 void diagnoseIgnoredTypeAttrs(QualType type) const { in diagnoseIgnoredTypeAttrs()
258 QualType getAttributedType(Attr *A, QualType ModifiedType, in getAttributedType()
259 QualType EquivType) { in getAttributedType()
260 QualType T = in getAttributedType()
270 QualType ReplaceAutoType(QualType TypeWithAuto, QualType Replacement) { in ReplaceAutoType()
271 QualType T = sema.ReplaceAutoType(TypeWithAuto, Replacement); in ReplaceAutoType()
362 static void processTypeAttrs(TypeProcessingState &state, QualType &type,
366 QualType &type);
369 ParsedAttr &attr, QualType &type);
[all …]
H A DSemaCast.cpp58 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation()
74 QualType DestType;
75 QualType ResultType;
138 void checkAddressSpaceCast(QualType SrcType, QualType DestType);
166 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref()
192 QualType DestType);
206 QualType DestType, bool CStyle,
211 QualType DestType, bool CStyle,
216 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType,
217 QualType DestType, bool CStyle,
[all …]
/netbsd-src/external/mit/isl/dist/interface/
H A Dgenerator.h184 static bool is_isl_ctx(QualType type);
186 static bool is_isl_type(QualType type);
187 static bool is_isl_neg_error(QualType type);
188 static bool is_isl_bool(QualType type);
189 static bool is_isl_stat(QualType type);
190 static bool is_isl_size(QualType type);
191 static bool is_long(QualType type);
192 static bool is_callback(QualType type);
194 static bool is_string(QualType type);
197 static string extract_type(QualType type);
[all …]

12345678910>>...17