Searched defs:getAs (Results 1 - 10 of 10) sorted by relevance

/external/clang/include/clang/AST/
H A DCanonicalType.h94 /// The getAs() function is typically used to try to downcast to a
99 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) {
108 template<typename U> CanProxy<U> getAs() const;
238 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { ... }
244 template<typename U> CanProxy<U> getAs() const { function in class:clang::CanProxyBase
245 return this->Stored.template getAs<U>();
326 /// canonical type or as the result of the @c CanQual<T>::getAs member
605 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
632 CanProxy<U> CanQual<T>::getAs() const { function in class:clang::CanQual
H A DTypeLoc.h38 /// A client should use the TypeLoc subclasses through castAs()/getAs()
64 T getAs() const { function in class:clang::TypeLoc
298 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
H A DType.h1661 bool isFunctionNoProtoType() const { return getAs<FunctionNoProtoType>(); }
1662 bool isFunctionProtoType() const { return getAs<FunctionProtoType>(); }
1834 /// NOTE: getAs*ArrayType are methods on ASTContext.
1867 /// Member-template getAs<specific type>'. Look through sugar for
1873 template <typename T> const T *getAs() const;
1875 /// A variant of getAs<> for array types which silently discards
1882 /// This method has the same relationship to getAs<T> as cast<T> has
2013 template <> const TypedefType *Type::getAs() const;
2018 template <> const TemplateSpecializationType *Type::getAs() const;
2022 template <> const AttributedType *Type::getAs() cons
5821 template <typename T> const T *Type::getAs() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::Type
[all...]
/external/clang/include/clang/Sema/
H A DOwnership.h114 // FIXME: Doesn't work? return P.getAs< void >();
165 template <typename T> T *getAs() { return static_cast<T*>(get()); } function in class:clang::ActionResult
207 template <typename T> T *getAs() { return static_cast<T*>(get()); } function in class:clang::ActionResult
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h86 Optional<T> getAs() const { function in class:clang::ento::SVal
375 assert (data.first.getAs<Loc>());
H A DMemRegion.h150 template<typename RegionTy> const RegionTy* getAs() const;
507 if (T->getAs<ObjCObjectType>())
1013 assert((!Idx.getAs<nonloc::ConcreteInt>() ||
1106 const RegionTy* MemRegion::getAs() const { function in class:clang::ento::MemRegion
/external/parameter-framework/upstream/parameter/
H A DElementHandle.cpp187 // release if an error need to be reported (and be consistent with all other getAs*).
224 bool ElementHandle::getAs(T &value, string &error) const function in class:ElementHandle
248 return getAs(value, error);
258 return getAs(value, error);
269 return getAs(value, error);
279 return getAs(value, error);
290 return getAs(value, error);
300 return getAs(value, error);
311 return getAs(value, error);
321 return getAs(valu
[all...]
/external/clang/include/clang/Analysis/
H A DProgramPoint.h150 Optional<T> getAs() const { function in class:clang::ProgramPoint
H A DCFG.h98 Optional<T> getAs() const { function in class:clang::CFGElement
920 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>())
/external/clang/lib/AST/
H A DType.cpp53 ND = ty->getAs<RecordType>()->getDecl();
55 ND = ty->getAs<EnumType>()->getDecl();
57 ND = ty->getAs<TypedefType>()->getDecl();
300 while (const ParenType *PT = T->getAs<ParenType>())
326 template <> const TypedefType *Type::getAs() const { function in class:Type
330 template <> const TemplateSpecializationType *Type::getAs() const { function in class:Type
334 template <> const AttributedType *Type::getAs() const { function in class:Type
359 if (const RecordType *RT = getAs<RecordType>())
364 if (const RecordType *RT = getAs<RecordType>())
369 if (const RecordType *RT = getAs<RecordTyp
[all...]

Completed in 8155 milliseconds