HomeSort by relevance Sort by last modified time
    Searched defs:getAs (Results 1 - 9 of 9) sorted by null

  /external/clang/include/clang/Sema/
Ownership.h 113 // FIXME: Doesn't work? return P.getAs< void >();
164 template <typename T> T *getAs() { return static_cast<T*>(get()); }
206 template <typename T> T *getAs() { return static_cast<T*>(get()); }
  /external/clang/include/clang/AST/
CanonicalType.h 94 /// 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 {
245 return this->Stored.template getAs<U>();
326 /// canonical type or as the result of the @c CanQual<T>::getAs member
675 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
702 CanProxy<U> CanQual<T>::getAs() const {
TypeLoc.h 38 /// A client should use the TypeLoc subclasses through castAs()/getAs()
64 T getAs() const {
279 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
    [all...]
Type.h     [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SVals.h 86 Optional<T> getAs() const {
373 assert (data.first.getAs<Loc>());
MemRegion.h 186 template<typename RegionTy> const RegionTy* getAs() const;
511 if (T->getAs<ObjCObjectType>())
1017 assert((!Idx.getAs<nonloc::ConcreteInt>() ||
    [all...]
  /external/clang/include/clang/Analysis/
ProgramPoint.h 127 Optional<T> getAs() const {
CFG.h 98 Optional<T> getAs() const {
922 if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>())
    [all...]
  /external/clang/lib/AST/
Type.cpp 52 ND = ty->getAs<RecordType>()->getDecl();
54 ND = ty->getAs<EnumType>()->getDecl();
56 ND = ty->getAs<TypedefType>()->getDecl();
307 while (const ParenType *PT = T->getAs<ParenType>())
333 template <> const TypedefType *Type::getAs() const {
337 template <> const TemplateSpecializationType *Type::getAs() const {
341 template <> const AttributedType *Type::getAs() const {
366 if (const RecordType *RT = getAs<RecordType>())
371 if (const RecordType *RT = getAs<RecordType>())
376 if (const RecordType *RT = getAs<RecordType>()
    [all...]

Completed in 339 milliseconds