Searched refs:AutoType (Results 1 - 25 of 27) sorted by relevance

12

/external/clang/lib/AST/
H A DType.cpp961 QualType VisitAutoType(const AutoType *T) {
1543 public TypeVisitor<GetContainedAutoVisitor, AutoType*> {
1545 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit;
1546 AutoType *Visit(QualType T) {
1553 AutoType *VisitAutoType(const AutoType *AT) {
1554 return const_cast<AutoType*>(AT);
1558 AutoType *VisitPointerType(const PointerType *T) {
1561 AutoType *VisitBlockPointerType(const BlockPointerType *T) {
1564 AutoType *VisitReferenceTyp
[all...]
H A DTypePrinter.cpp171 if (const AutoType *AT = dyn_cast<AutoType>(T))
868 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) {
881 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) {
H A DDeclPrinter.cpp135 else if (const AutoType *ATy = BaseType->getAs<AutoType>())
H A DASTDiagnostic.cpp63 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
H A DMicrosoftMangle.cpp1874 dyn_cast_or_null<AutoType>(ResultType->getContainedAutoType())) {
2412 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers,
H A DASTContext.cpp1781 const AutoType *A = cast<AutoType>(T);
4048 AutoType::Profile(ID, DeducedType, Keyword, IsDependent);
4049 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos))
4052 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType,
4093 new (*this, TypeAlignment) AutoType(QualType(), AutoTypeKeyword::Auto,
H A DASTDumper.cpp382 void VisitAutoType(const AutoType *T) {
H A DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
744 cast<AutoType>(T1)->getDeducedType(),
745 cast<AutoType>(T2)->getDeducedType()))
1822 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) {
H A DItaniumMangle.cpp3048 void CXXNameMangler::mangleType(const AutoType *T) {
/external/v8/tools/clang/value_cleanup/
H A DListValueRewriter.cpp303 if (auto* auto_type = type->getAs<clang::AutoType>()) {
305 // If an AutoType isn't deduced, the rewriter can't do anything.
/external/clang/lib/Sema/
H A DSemaStmt.cpp2222 QualType AutoType = Context.getAutoDeductType();
2233 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType,
2235 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType,
2887 AutoType *AT = CurCap->ReturnType->getContainedAutoType();
3064 AutoType *AT) {
3109 if (!OrigResultType.getType()->getAs<AutoType>()) {
3126 AutoType *NewAT = Deduced->getContainedAutoType();
3227 if (AutoType *AT = FnRetType->getContainedAutoType()) {
H A DSemaTemplateDeduction.cpp3936 // substituted type in an AutoType. Certain template deduction rules
4005 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) {
4940 cast<AutoType>(T)->getDeducedType(),
H A DSemaType.cpp3516 if (const AutoType *AT = T->getAs<AutoType>()) {
3955 const AutoType *AT = T->getContainedAutoType();
4000 (T.hasQualifiers() || !isa<AutoType>(T) ||
4001 cast<AutoType>(T)->getKeyword() != AutoTypeKeyword::Auto)) {
H A DSemaDecl.cpp2963 AutoType *OldAT = Old->getReturnType()->getContainedAutoType();
10712 AutoType *AT = D->getType()->getContainedAutoType();
11457 if (!FD->getReturnType()->getAs<AutoType>()) {
H A DTreeTransform.h859 /// By default, builds a new AutoType with the given deduced type.
4057 const AutoType *AutoTy;
4070 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) {
5307 const AutoType *T = TL.getTypePtr();
H A DSemaTemplate.cpp4159 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) {
/external/v8/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp993 const clang::AutoType* auto_type =
994 non_reference_type->getAs<clang::AutoType>();
/external/clang/include/clang/AST/
H A DType.h1245 /// Which keyword(s) were used to create an AutoType.
1469 friend class AutoType;
1862 /// Get the AutoType whose type will be deduced for a variable with
1865 AutoType *getContainedAutoType() const;
4087 class AutoType : public Type, public llvm::FoldingSetNode { class in class:clang::FunctionType::ExtInfo::FunctionProtoType
4088 AutoType(QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent) function in class:clang::FunctionType::ExtInfo::FunctionProtoType::AutoType
5753 const AutoType *AT = getContainedAutoType();
H A DRecursiveASTVisitor.h1000 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1219 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DASTContext.h134 mutable llvm::FoldingSet<AutoType> AutoTypes;
H A DTypeLoc.h1713 AutoType> {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4564 AST_TYPE_MATCHER(AutoType, autoType);
4566 /// \brief Matches \c AutoType nodes where the deduced type is a specific type.
4579 /// Usable as: Matcher<AutoType>
4581 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));
/external/clang/tools/libclang/
H A DCXType.cpp418 TP = cast<AutoType>(TP)->getDeducedType().getTypePtrOrNull();
/external/clang/include/clang/Sema/
H A DSema.h6536 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
6553 Expr *&RetExpr, AutoType *AT);
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2302 QualType DT = cast<AutoType>(T)->getDeducedType();

Completed in 537 milliseconds

12