Home
last modified time | relevance | path

Searched refs:IncompleteArrayType (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp683 const IncompleteArrayType *A = cast<IncompleteArrayType>(Ty); in ConvertType()
935 if (isa<IncompleteArrayType>(AT)) in isZeroInitializable()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td64 def IncompleteArrayType : TypeNode<ArrayType>;
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DProgram.cpp351 if (isa<IncompleteArrayType>(ArrayType)) { in createDescriptor()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h462 template<> struct CanProxyAdaptor<IncompleteArrayType>;
H A DASTContext.h223 mutable llvm::FoldingSet<IncompleteArrayType> IncompleteArrayTypes;
2713 const IncompleteArrayType *getAsIncompleteArrayType(QualType T) const { in getAsIncompleteArrayType()
2714 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
H A DTypeProperties.td120 let Class = IncompleteArrayType in {
H A DType.h3061 class IncompleteArrayType : public ArrayType {
3064 IncompleteArrayType(QualType et, QualType can,
6882 return isa<IncompleteArrayType>(CanonicalType);
H A DRecursiveASTVisitor.h1015 DEF_TRAVERSE_TYPE(IncompleteArrayType,
1271 DEF_TRAVERSE_TYPELOC(IncompleteArrayType, {
H A DTypeLoc.h1575 IncompleteArrayType> {
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp814 ET = cast<IncompleteArrayType> (TP)->getElementType(); in clang_getElementType()
872 ET = cast<IncompleteArrayType> (TP)->getElementType(); in clang_getArrayElementType()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h490 return getKind() == EK_New && isa_and_nonnull<IncompleteArrayType>( in isVariableLengthArrayNew()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp3680 const auto *iat = cast<IncompleteArrayType>(ty); in getVariableArrayDecayedType()
3809 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType()
3812 if (IncompleteArrayType *iat = in getIncompleteArrayType()
3828 IncompleteArrayType *existing = in getIncompleteArrayType()
3834 IncompleteArrayType(elementType, canon, ASM, elementTypeQuals); in getIncompleteArrayType()
5971 if (const auto *IAT = dyn_cast<IncompleteArrayType>(AT)) { in getUnqualifiedArrayType()
6015 isa<IncompleteArrayType>(AT2)))) in UnwrapSimilarArrayTypes()
6017 } else if (isa<IncompleteArrayType>(AT1)) { in UnwrapSimilarArrayTypes()
6018 if (!(isa<IncompleteArrayType>(AT2) || in UnwrapSimilarArrayTypes()
6800 if (const auto *IAT = dyn_cast<IncompleteArrayType>(ATy)) in getAsArrayType()
[all …]
H A DODRHash.cpp812 void VisitIncompleteArrayType(const IncompleteArrayType *T) { in VisitIncompleteArrayType()
H A DTypePrinter.cpp543 void TypePrinter::printIncompleteArrayBefore(const IncompleteArrayType *T, in printIncompleteArrayBefore()
549 void TypePrinter::printIncompleteArrayAfter(const IncompleteArrayType *T, in printIncompleteArrayAfter()
H A DMicrosoftMangle.cpp2896 void MicrosoftCXXNameMangler::mangleType(const IncompleteArrayType *T, in mangleType()
2910 const IncompleteArrayType *IAT = in mangleArrayType()
H A DASTDiagnostic.cpp154 else if (const auto *IAT = dyn_cast<IncompleteArrayType>(AT)) in desugarForDiagnostic()
H A DASTImporter.cpp383 ExpectedType VisitIncompleteArrayType(const IncompleteArrayType *T);
1223 ASTNodeImporter::VisitIncompleteArrayType(const IncompleteArrayType *T) { in VisitIncompleteArrayType()
4108 if (isa<IncompleteArrayType>(FoundArray) && in VisitVarDecl()
4118 } else if (isa<IncompleteArrayType>(TArray) && in VisitVarDecl()
H A DType.cpp982 QualType VisitIncompleteArrayType(const IncompleteArrayType *T) { in VisitIncompleteArrayType()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1041 const AstTypeMatcher<IncompleteArrayType> incompleteArrayType;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp789 if (isa<IncompleteArrayType>(AT)) in getStaticSize()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp66 if (!isa<ConstantArrayType>(AT) && !isa<IncompleteArrayType>(AT)) in IsStringInit()
201 if (const IncompleteArrayType *IAT = dyn_cast<IncompleteArrayType>(AT)) { in CheckStringInit()
8078 if (const IncompleteArrayType *ArrayT in Perform()
8747 if (const IncompleteArrayType *IncompleteDest in Perform()
H A DSema.cpp1280 if (const IncompleteArrayType *ArrayT in ActOnEndOfTranslationUnit()
H A DSemaExprCXX.cpp6924 bool IAT1 = isa<IncompleteArrayType>(Arr1); in FindCompositePointerType()
6925 bool IAT2 = isa<IncompleteArrayType>(Arr2); in FindCompositePointerType()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp1563 TEST_P(ASTMatchersTest, IncompleteArrayType) { in TEST_P() argument
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6866 extern const AstTypeMatcher<IncompleteArrayType> incompleteArrayType;

12