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

Declarations

gen/tools/clang/include/clang/AST/StmtNodes.inc
 1035 GENERICSELECTIONEXPR(GenericSelectionExpr, Expr)

References

include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/TrailingObjects.h
  134     : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
  137   typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
  141     static const bool value = alignof(PrevTy) < alignof(NextTy);
  162   getTrailingObjectsImpl(const BaseTy *Obj,
  177   getTrailingObjectsImpl(BaseTy *Obj,
  179     auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
  232                             BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
  232                             BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
  233                             BaseTy, TrailingTys...> {
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  257   static const BaseTy *
  258   getTrailingObjectsImpl(const BaseTy *Obj,
  259                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  263   static BaseTy *
  264   getTrailingObjectsImpl(BaseTy *Obj,
  265                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  277   callNumTrailingObjects(const BaseTy *Obj,
  278                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  283   static size_t callNumTrailingObjects(const BaseTy *Obj,
  284                                        TrailingObjectsBase::OverloadToken<T>) {
  345     return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...);
tools/clang/include/clang/AST/ASTNodeTraverser.h
  111       if (isa<DeclStmt>(S) || isa<GenericSelectionExpr>(S)) {
  183   void Visit(const GenericSelectionExpr::ConstAssociation &A) {
  619   void VisitGenericSelectionExpr(const GenericSelectionExpr *E) {
tools/clang/include/clang/AST/ASTTypeTraits.h
   65     return ASTNodeKind(KindToKindId<T>::Id);
  259   const T &getUnchecked() const {
  260     return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer);
  394     static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
  399     static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
  401       return *cast<T>(static_cast<const BaseT *>(
  474     : public DynCastPtrConverter<T, Stmt> {};
tools/clang/include/clang/AST/Expr.h
 5208       private llvm::TrailingObjects<GenericSelectionExpr, Stmt *,
 5347   static GenericSelectionExpr *
 5355   static GenericSelectionExpr *
 5362   static GenericSelectionExpr *CreateEmpty(const ASTContext &Context,
tools/clang/include/clang/AST/JSONNodeDumper.h
  200   void Visit(const GenericSelectionExpr::ConstAssociation &A);
  277   void VisitGenericSelectionExpr(const GenericSelectionExpr *GSE);
tools/clang/include/clang/AST/TextNodeDumper.h
  177   void Visit(const GenericSelectionExpr::ConstAssociation &A);
  243   void VisitGenericSelectionExpr(const GenericSelectionExpr *E);
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  302   virtual bool matches(const T &Node,
  309     return matches(DynNode.getUnchecked<T>(), Finder, Builder);
  345   DynTypedMatcher(MatcherInterface<T> *Implementation)
  346       : SupportedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()),
  499   explicit Matcher(MatcherInterface<T> *Implementation)
  520             std::is_same<T, QualType>::value &&
  529     static_assert(std::is_base_of<To, T>::value, "Invalid dynCast call.");
  534   bool matches(const T &Node,
  581     return Other.dynCastTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  596 inline Matcher<T> makeMatcher(MatcherInterface<T> *Implementation) {
  596 inline Matcher<T> makeMatcher(MatcherInterface<T> *Implementation) {
 1243   operator Matcher<T>() const {
 1245                ast_type_traits::ASTNodeKind::getFromNodeKind<T>())
 1246         .template unconditionalConvertTo<T>();
 1255 class BindableMatcher : public Matcher<T> {
 1257   explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {}
 1258   explicit BindableMatcher(MatcherInterface<T> *Implementation)
 1265   Matcher<T> bind(StringRef ID) const {
 1370 inline Matcher<T> DynTypedMatcher::unconditionalConvertTo() const {
 1376 BindableMatcher<T> makeAllOfComposite(
 1377     ArrayRef<const Matcher<T> *> InnerMatchers) {
 1388   using PI = llvm::pointee_iterator<const Matcher<T> *const *>;
 1395           ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
 1397           .template unconditionalConvertTo<T>());
 1408     ArrayRef<const Matcher<InnerT> *> InnerMatchers) {
 1557     : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>,
 1558                               makeDynCastAllOfComposite<SourceT, TargetT>> {
tools/clang/lib/AST/Expr.cpp
 2403     return cast<GenericSelectionExpr>(this)->getResultExpr()->
 2892   else if (auto *GSE = dyn_cast<GenericSelectionExpr>(E)) {
 2892   else if (auto *GSE = dyn_cast<GenericSelectionExpr>(E)) {
 3247     return cast<GenericSelectionExpr>(this)->getResultExpr()
 3504     return cast<GenericSelectionExpr>(this)->getResultExpr()->
 3732   } else if (const GenericSelectionExpr *GE =
 3733                dyn_cast<GenericSelectionExpr>(this)) {
 4184 GenericSelectionExpr *GenericSelectionExpr::Create(
 4192       alignof(GenericSelectionExpr));
 4193   return new (Mem) GenericSelectionExpr(
 4198 GenericSelectionExpr *GenericSelectionExpr::Create(
 4206       alignof(GenericSelectionExpr));
 4207   return new (Mem) GenericSelectionExpr(
 4212 GenericSelectionExpr *
 4217       alignof(GenericSelectionExpr));
 4218   return new (Mem) GenericSelectionExpr(EmptyShell(), NumAssocs);
tools/clang/lib/AST/ExprClassification.cpp
  292     if (cast<GenericSelectionExpr>(E)->isResultDependent())
  294     return ClassifyInternal(Ctx,cast<GenericSelectionExpr>(E)->getResultExpr());
tools/clang/lib/AST/ExprConstant.cpp
 6711   bool VisitGenericSelectionExpr(const GenericSelectionExpr *E)
13936     return CheckICE(cast<GenericSelectionExpr>(E)->getResultExpr(), Ctx);
tools/clang/lib/AST/JSONNodeDumper.cpp
  178 void JSONNodeDumper::Visit(const GenericSelectionExpr::ConstAssociation &A) {
 1288     const GenericSelectionExpr *GSE) {
tools/clang/lib/AST/StmtPrinter.cpp
 1298 void StmtPrinter::VisitGenericSelectionExpr(GenericSelectionExpr *Node) {
 1301   for (const GenericSelectionExpr::Association &Assoc : Node->associations()) {
tools/clang/lib/AST/StmtProfile.cpp
 1292 void StmtProfiler::VisitGenericSelectionExpr(const GenericSelectionExpr *S) {
 1294   for (const GenericSelectionExpr::ConstAssociation &Assoc :
tools/clang/lib/AST/TextNodeDumper.cpp
  323 void TextNodeDumper::Visit(const GenericSelectionExpr::ConstAssociation &A) {
  795 void TextNodeDumper::VisitGenericSelectionExpr(const GenericSelectionExpr *E) {
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
   50                                                           GenericSelectionExpr>
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGExpr.cpp
 1281     return EmitLValue(cast<GenericSelectionExpr>(E)->getResultExpr());
 2242   if (const auto *Exp = dyn_cast<GenericSelectionExpr>(E)) {
 2242   if (const auto *Exp = dyn_cast<GenericSelectionExpr>(E)) {
tools/clang/lib/CodeGen/CGExprAgg.cpp
  112   void VisitGenericSelectionExpr(GenericSelectionExpr *GE) {
tools/clang/lib/CodeGen/CGExprComplex.cpp
  107   ComplexPairTy VisitGenericSelectionExpr(GenericSelectionExpr *GE) {
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1015   llvm::Constant *VisitGenericSelectionExpr(GenericSelectionExpr *GE,
tools/clang/lib/CodeGen/CGExprScalar.cpp
  441   Value *VisitGenericSelectionExpr(GenericSelectionExpr *GE) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp
 1254     if (cast<GenericSelectionExpr>(E)->isResultDependent())
 1256     return canThrow(cast<GenericSelectionExpr>(E)->getResultExpr());
tools/clang/lib/Sema/SemaExpr.cpp
 1532     return GenericSelectionExpr::Create(Context, KeyLoc, ControllingExpr, Types,
 1585   return GenericSelectionExpr::Create(
16533     auto *GSE = cast<GenericSelectionExpr>(E);
16533     auto *GSE = cast<GenericSelectionExpr>(E);
tools/clang/lib/Sema/SemaExprObjC.cpp
 4353   } else if (GenericSelectionExpr *gse = dyn_cast<GenericSelectionExpr>(e)) {
 4353   } else if (GenericSelectionExpr *gse = dyn_cast<GenericSelectionExpr>(e)) {
 4361     for (const GenericSelectionExpr::Association &assoc : gse->associations()) {
 4369     return GenericSelectionExpr::Create(
tools/clang/lib/Sema/SemaInit.cpp
  156     } else if (GenericSelectionExpr *GSE = dyn_cast<GenericSelectionExpr>(E)) {
  156     } else if (GenericSelectionExpr *GSE = dyn_cast<GenericSelectionExpr>(E)) {
  178     } else if (GenericSelectionExpr *GSE = dyn_cast<GenericSelectionExpr>(E)) {
  178     } else if (GenericSelectionExpr *GSE = dyn_cast<GenericSelectionExpr>(E)) {
tools/clang/lib/Sema/SemaOverload.cpp
14161   if (auto *GSE = dyn_cast<GenericSelectionExpr>(E)) {
14161   if (auto *GSE = dyn_cast<GenericSelectionExpr>(E)) {
14175       return GenericSelectionExpr::Create(
tools/clang/lib/Sema/SemaPseudoObject.cpp
  138       if (GenericSelectionExpr *gse = dyn_cast<GenericSelectionExpr>(e)) {
  138       if (GenericSelectionExpr *gse = dyn_cast<GenericSelectionExpr>(e)) {
  148         for (const GenericSelectionExpr::Association &assoc :
  157         return GenericSelectionExpr::Create(
tools/clang/lib/Sema/TreeTransform.h
 9371   for (const GenericSelectionExpr::Association &Assoc : E->associations()) {
tools/clang/lib/Serialization/ASTReaderStmt.cpp
 1110 void ASTStmtReader::VisitGenericSelectionExpr(GenericSelectionExpr *E) {
 2787       S = GenericSelectionExpr::CreateEmpty(
tools/clang/lib/Serialization/ASTWriterStmt.cpp
 1020 void ASTStmtWriter::VisitGenericSelectionExpr(GenericSelectionExpr *E) {
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
 1447     : public __and_<is_destructible<_Tp>, integral_constant<bool,
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1580     { typedef _Tp const     type; };
 1629     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };
 1999     { typedef typename remove_reference<_Tp>::type*     type; };
 2003     : public __add_pointer_helper<_Tp>