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

Declarations

gen/tools/clang/include/clang/AST/StmtNodes.inc
  543 DEFAULTSTMT(DefaultStmt, SwitchCase)

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);
   77     return isa_impl<To, From>::doit(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,
  168   using ret_type = const To &; // Normal case, return Ty&
  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) {
  258   return cast_convert_val<X, Y,
  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;
tools/clang/include/clang/AST/ASTTypeTraits.h
   65     return ASTNodeKind(KindToKindId<T>::Id);
tools/clang/include/clang/AST/Stmt.h
 1682   else if (const auto *DS = dyn_cast<DefaultStmt>(this))
 1682   else if (const auto *DS = dyn_cast<DefaultStmt>(this))
 1690   else if (auto *DS = dyn_cast<DefaultStmt>(this))
 1690   else if (auto *DS = dyn_cast<DefaultStmt>(this))
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2031 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt>
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  436     return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  445   template <typename T> Matcher<T> convertTo() const {
  447     return unconditionalConvertTo<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>());
 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/include/clang/ASTMatchers/Dynamic/VariantValue.h
  199   ast_matchers::internal::Matcher<T> getTypedMatcher() const {
  202         ->template convertTo<T>();
  227       : MatcherOps(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()) {}
  228   typedef ast_matchers::internal::Matcher<T> MatcherT;
  232     return DynTypedMatcher(Matcher.convertTo<T>());
tools/clang/lib/AST/ASTImporter.cpp
  512     ExpectedStmt VisitDefaultStmt(DefaultStmt *S);
 5787 ExpectedStmt ASTNodeImporter::VisitDefaultStmt(DefaultStmt *S) {
 5796   return new (Importer.getToContext()) DefaultStmt(
tools/clang/lib/AST/ExprConstant.cpp
 4422     if (isa<DefaultStmt>(SC)) {
tools/clang/lib/AST/StmtPrinter.cpp
  223 void StmtPrinter::VisitDefaultStmt(DefaultStmt *Node) {
tools/clang/lib/AST/StmtProfile.cpp
  248 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  708 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
   75     return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();
   78   static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
   79     return Value.getMatcher().getTypedMatcher<T>();
   83     return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  466       ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func,
  469         DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
  778     ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT>
tools/clang/lib/Analysis/CFG.cpp
  570   CFGBlock *VisitDefaultStmt(DefaultStmt *D);
 2225       return VisitDefaultStmt(cast<DefaultStmt>(S));
 4199 CFGBlock *CFGBuilder::VisitDefaultStmt(DefaultStmt *Terminator) {
 5601     } else if (isa<DefaultStmt>(Label))
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGStmt.cpp
  368   case Stmt::DefaultStmtClass:  EmitDefaultStmt(cast<DefaultStmt>(*S));   break;
 1335 void CodeGenFunction::EmitDefaultStmt(const DefaultStmt &S) {
 1540   const DefaultStmt *DefaultCase = nullptr;
 1545     if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) {
 1545     if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) {
 1654       if (isa<DefaultStmt>(Case))
tools/clang/lib/CodeGen/CodeGenFunction.h
 2886   void EmitDefaultStmt(const DefaultStmt &S);
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  955       Range = cast<DefaultStmt>(Term)->getDefaultLoc();
tools/clang/lib/Sema/JumpDiagnostics.cpp
  637       else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC))
  637       else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC))
tools/clang/lib/Sema/SemaStmt.cpp
  511   DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt);
  511   DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt);
  901   DefaultStmt *TheDefaultStmt = nullptr;
  908     if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) {
  908     if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) {
tools/clang/lib/Sema/TreeTransform.h
 6737 StmtResult TreeTransform<Derived>::TransformDefaultStmt(DefaultStmt *S) {
tools/clang/lib/Serialization/ASTReaderStmt.cpp
  189 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) {
 2514       S = new (Context) DefaultStmt(Empty);
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  109 void ASTStmtWriter::VisitDefaultStmt(DefaultStmt *S) {
tools/clang/tools/extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp
   58     if (isa<DefaultStmt>(CurrentCase))
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>