Home
last modified time | relevance | path

Searched refs:getTypePtrOrNull (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp42 T = ICNT->getInjectedSpecializationType().getTypePtrOrNull(); in resolveTypeToRecordDecl()
63 return T->castAs<PointerType>()->getPointeeType().getTypePtrOrNull(); in getPointeeType()
88 return FirstArg.getAsType().getTypePtrOrNull(); in getPointeeType()
115 const Type *BaseType = ME->getBaseType().getTypePtrOrNull(); in resolveMemberExpr()
192 return VD->getType().getTypePtrOrNull(); in resolveDeclsToType()
H A DSemanticHighlighting.cpp84 kindForType(TD->getUnderlyingType().getTypePtrOrNull(), Resolver)) in kindForDecl()
632 kindForType(AT->getDeducedType().getTypePtrOrNull(), H.getResolver()); in VisitDeclaratorDecl()
644 const Type *Deduced = AT->getDeducedType().getTypePtrOrNull(); in VisitDeclaratorDecl()
H A DIncludeCleaner.cpp125 if (isNew(T.getTypePtrOrNull())) // don't care about quals in TraverseType()
H A DIncludeFixer.cpp172 if (const Type *T = QT.getTypePtrOrNull()) { in fix()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp86 const Type *TP = T.getTypePtrOrNull(); in GetTypeKind()
451 const Type *TP = T.getTypePtrOrNull(); in clang_getPointeeType()
492 const Type *TP = T.getTypePtrOrNull(); in clang_getTypeDeclaration()
524 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getTypeDeclaration()
536 TP = cast<ElaboratedType>(TP)->getNamedType().getTypePtrOrNull(); in clang_getTypeDeclaration()
806 const Type *TP = T.getTypePtrOrNull(); in clang_getElementType()
841 const Type *TP = T.getTypePtrOrNull(); in clang_getNumElements()
864 const Type *TP = T.getTypePtrOrNull(); in clang_getArrayElementType()
890 const Type *TP = T.getTypePtrOrNull(); in clang_getArraySize()
934 const Type *TP = T.getTypePtrOrNull(); in clang_Type_getClassType()
[all …]
H A DCIndexCodeCompletion.cpp641 const Type *type = baseType.getTypePtrOrNull(); in ProcessCodeCompleteResults()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp52 const Type *T = Base->getType().getTypePtrOrNull(); in isRefCountable()
159 maybeRefToRawOperator->getConversionType().getTypePtrOrNull()) { in isGetterOfRefCounted()
H A DUncountedLambdaCapturesChecker.cpp61 if (auto *CapturedVarType = CapturedVar->getType().getTypePtrOrNull()) { in visitLambdaExpr()
H A DNoUncountedMembersChecker.cpp73 const Type *MemberType = Member->getType().getTypePtrOrNull(); in visitRecordDecl()
H A DUncountedCallArgsChecker.cpp83 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h87 const T *getTypePtrOrNull() const { in getTypePtrOrNull() function
88 return cast_or_null<T>(Stored.getTypePtrOrNull()); in getTypePtrOrNull()
254 operator const T*() const { return this->Stored.getTypePtrOrNull(); }
H A DType.h767 const Type *getTypePtrOrNull() const;
6563 inline const Type *QualType::getTypePtrOrNull() const {
H A DDecl.h3815 void setIntegerType(QualType T) { IntegerType = T.getTypePtrOrNull(); } in setIntegerType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUseAfterMoveCheck.cpp238 const Type *TheType = VD->getType().getNonReferenceType().getTypePtrOrNull(); in isStandardSmartPointer()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp401 const Type *ExprType = E->getType().getTypePtrOrNull(); in eligibleForExtraction()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp192 E, E->getBaseType().getTypePtrOrNull(), Info, in VisitCXXDependentScopeMemberExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp414 if (const Type *TypePtr = Value->getType().getTypePtrOrNull()) { in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp496 const Type *Tp = ConversionDec->getConversionType().getTypePtrOrNull(); in isMoveSafeMethod()
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentSema.cpp911 if (auto *DesugaredTypePtr = DesugaredType.getTypePtrOrNull()) { in isClassOrStructOrTagTypedefDecl()
H A DAPValue.cpp159 : ElemTy((const void *)ElemTy.getTypePtrOrNull()), Path(Path) {} in LValuePathSerializationHelper()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmtAsm.cpp825 if (const Type *PT = getCurrentThisType().getTypePtrOrNull()) in LookupInlineAsmField()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h238 if (qt.getTypePtrOrNull() == nullptr) in GetType()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h553 return T.getTypePtrOrNull() ? T.getDesugaredType(Context) : T; in getDesugaredValueType()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp544 TD->setTypeForDecl(Reader.GetType(DeferredTypeID).getTypePtrOrNull()); in Visit()
553 ID->TypeForDecl = Reader.GetType(DeferredTypeID).getTypePtrOrNull(); in Visit()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExpr.cpp2129 const Type* BaseType = Base->getType().getTypePtrOrNull(); in ParsePostfixExpressionSuffix()

12