| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | VirtualNearMissCheck.cpp | 125 if (const auto *Decayed = Type->getAs<DecayedType>()) in getDecayedType()
|
| H A D | EasilySwappableParametersCheck.cpp | 581 return isa<AttributedType, DecayedType, ElaboratedType, ParenType>(T); in isUselessSugar()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 84 def DecayedType : TypeNode<AdjustedType>, NeverCanonical;
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 161 if (const DecayedType *DT = T->getAs<DecayedType>()) { in MakeCXType()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 2775 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 D | TypeProperties.td | 39 let Class = DecayedType in {
|
| H A D | RecursiveASTVisitor.h | 1007 DEF_TRAVERSE_TYPE(DecayedType, { TRY_TO(TraverseType(T->getOriginalType())); }) 1256 DEF_TRAVERSE_TYPELOC(DecayedType,
|
| H A D | TypeLoc.h | 1220 AdjustedTypeLoc, DecayedTypeLoc, DecayedType> {
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ODRHash.cpp | 790 void VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
|
| H A D | TypePrinter.cpp | 591 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 D | Type.cpp | 636 if (const auto *DT = getAs<DecayedType>()) in getPointeeType() 1119 QualType VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
|
| H A D | MicrosoftMangle.cpp | 2099 if (const auto *DT = T->getAs<DecayedType>()) { in mangleFunctionArgumentType()
|
| H A D | Decl.cpp | 2825 if (const auto *DT = dyn_cast<DecayedType>(T)) in getOriginalType()
|
| H A D | ASTImporter.cpp | 375 ExpectedType VisitDecayedType(const DecayedType *T); 1141 ExpectedType ASTNodeImporter::VisitDecayedType(const DecayedType *T) { in VisitDecayedType()
|
| H A D | ASTContext.cpp | 3365 AT = new (*this, TypeAlignment) DecayedType(T, Decayed, Canonical); in getDecayedType()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1067 const AstTypeMatcher<DecayedType> decayedType;
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 7380 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 D | ASTReader.cpp | 10521 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 D | CodeGenFunction.cpp | 2232 type = cast<DecayedType>(ty)->getPointeeType(); in EmitVariablyModifiedType()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 3505 TEST_P(ASTMatchersTest, DecayedType) { in TEST_P() argument
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 3348 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 D | SemaExpr.cpp | 4520 T = cast<DecayedType>(Ty)->getPointeeType(); in captureVariablyModifiedType()
|