reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ExprConstant.cpp
10267     if (BaseType->isIncompleteArrayType())
10268       BaseType = Ctx.getAsArrayType(BaseType)->getElementType();
10268       BaseType = Ctx.getAsArrayType(BaseType)->getElementType();
10270       BaseType = BaseType->castAs<PointerType>()->getPointeeType();
10270       BaseType = BaseType->castAs<PointerType>()->getPointeeType();
10275     if (BaseType->isArrayType()) {
10280       const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType));
10284       BaseType = CAT->getElementType();
10285     } else if (BaseType->isAnyComplexType()) {
10286       const auto *CT = BaseType->castAs<ComplexType>();
10290       BaseType = CT->getElementType();
10295       BaseType = FD->getType();