Home
last modified time | relevance | path

Searched refs:DecayedType (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DVirtualNearMissCheck.cpp125 if (const auto *Decayed = Type->getAs<DecayedType>()) in getDecayedType()
H A DEasilySwappableParametersCheck.cpp581 return isa<AttributedType, DecayedType, ElaboratedType, ParenType>(T); in isUselessSugar()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td84 def DecayedType : TypeNode<AdjustedType>, NeverCanonical;
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp161 if (const DecayedType *DT = T->getAs<DecayedType>()) { in MakeCXType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h2775 class DecayedType : public AdjustedType {
2779 DecayedType(QualType OriginalType, QualType Decayed, QualType Canonical);
7384 DecayedType::DecayedType(QualType OriginalType, QualType DecayedPtr,
7394 QualType DecayedType::getPointeeType() const {
H A DTypeProperties.td39 let Class = DecayedType in {
H A DRecursiveASTVisitor.h1007 DEF_TRAVERSE_TYPE(DecayedType, { TRY_TO(TraverseType(T->getOriginalType())); })
1256 DEF_TRAVERSE_TYPELOC(DecayedType,
H A DTypeLoc.h1220 AdjustedTypeLoc, DecayedTypeLoc, DecayedType> {
/llvm-project-15.0.7/clang/lib/AST/
H A DODRHash.cpp790 void VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
H A DTypePrinter.cpp591 void TypePrinter::printDecayedBefore(const DecayedType *T, raw_ostream &OS) { in printDecayedBefore()
596 void TypePrinter::printDecayedAfter(const DecayedType *T, raw_ostream &OS) { in printDecayedAfter()
H A DType.cpp636 if (const auto *DT = getAs<DecayedType>()) in getPointeeType()
1119 QualType VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
H A DMicrosoftMangle.cpp2099 if (const auto *DT = T->getAs<DecayedType>()) { in mangleFunctionArgumentType()
H A DDecl.cpp2825 if (const auto *DT = dyn_cast<DecayedType>(T)) in getOriginalType()
H A DASTImporter.cpp375 ExpectedType VisitDecayedType(const DecayedType *T);
1141 ExpectedType ASTNodeImporter::VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
H A DASTContext.cpp3365 AT = new (*this, TypeAlignment) DecayedType(T, Decayed, Canonical); in getDecayedType()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1067 const AstTypeMatcher<DecayedType> decayedType;
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7380 extern const AstTypeMatcher<DecayedType> decayedType;
7383 AST_MATCHER_P(DecayedType, hasDecayedType, internal::Matcher<QualType>, in AST_MATCHER_P() argument
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp10521 if (const DecayedType *ParamDecayedType = in diagnoseOdrViolations()
10522 FirstParamType->getAs<DecayedType>()) { in diagnoseOdrViolations()
10531 if (const DecayedType *ParamDecayedType = in diagnoseOdrViolations()
10532 SecondParamType->getAs<DecayedType>()) { in diagnoseOdrViolations()
11105 if (const DecayedType *ParamDecayedType = in diagnoseOdrViolations()
11106 FirstParamType->getAs<DecayedType>()) { in diagnoseOdrViolations()
11117 if (const DecayedType *ParamDecayedType = in diagnoseOdrViolations()
11118 SecondParamType->getAs<DecayedType>()) { in diagnoseOdrViolations()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2232 type = cast<DecayedType>(ty)->getPointeeType(); in EmitVariablyModifiedType()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp3505 TEST_P(ASTMatchersTest, DecayedType) { in TEST_P() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp3348 const auto *OldParamDT = dyn_cast<DecayedType>(OldParam->getType()); in mergeParamDeclTypes()
3349 const auto *NewParamDT = dyn_cast<DecayedType>(NewParam->getType()); in mergeParamDeclTypes()
6810 if (auto DT = dyn_cast<DecayedType>(Type)) { in deduceOpenCLAddressSpace()
H A DSemaExpr.cpp4520 T = cast<DecayedType>(Ty)->getPointeeType(); in captureVariablyModifiedType()