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

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;
tools/clang/include/clang/AST/CommentParser.h
   93   void parseParamCommandArgs(ParamCommandComment *PC,
tools/clang/include/clang/AST/CommentSema.h
  100   ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
  105   void actOnParamCommandDirectionArg(ParamCommandComment *Command,
  110   void actOnParamCommandParamNameArg(ParamCommandComment *Command,
  115   void actOnParamCommandFinish(ParamCommandComment *Command,
tools/clang/include/clang/AST/JSONNodeDumper.h
  330   void visitParamCommandComment(const comments::ParamCommandComment *C,
tools/clang/include/clang/AST/TextNodeDumper.h
  200   void visitParamCommandComment(const comments::ParamCommandComment *C,
tools/clang/lib/AST/Comment.cpp
  194   case ParamCommandComment::In:
  196   case ParamCommandComment::Out:
  198   case ParamCommandComment::InOut:
tools/clang/lib/AST/CommentParser.cpp
  264 void Parser::parseParamCommandArgs(ParamCommandComment *PC,
  313   ParamCommandComment *PC = nullptr;
tools/clang/lib/AST/CommentSema.cpp
   79 ParamCommandComment *Sema::actOnParamCommandStart(
   84   ParamCommandComment *Command =
   85       new (Allocator) ParamCommandComment(LocBegin, LocEnd, CommandID,
  221       .Case("[in]", ParamCommandComment::In)
  222       .Case("[out]", ParamCommandComment::Out)
  223       .Cases("[in,out]", "[out,in]", ParamCommandComment::InOut)
  227 void Sema::actOnParamCommandDirectionArg(ParamCommandComment *Command,
  243       const char *FixedName = ParamCommandComment::getDirectionAsString(
  249       Direction = ParamCommandComment::In; // Sane fall back.
  256 void Sema::actOnParamCommandParamNameArg(ParamCommandComment *Command,
  265     Command->setDirection(ParamCommandComment::In, /* Explicit = */ false);
  274 void Sema::actOnParamCommandFinish(ParamCommandComment *Command,
  720   SmallVector<ParamCommandComment *, 8> UnresolvedParamCommands;
  724   SmallVector<ParamCommandComment *, 8> ParamVarDocs;
  732     ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I);
  732     ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I);
  740     if (ResolvedParamIndex == ParamCommandComment::VarArgParamIndex) {
  744     if (ResolvedParamIndex == ParamCommandComment::InvalidParamIndex) {
  753       ParamCommandComment *PrevCommand = ParamVarDocs[ResolvedParamIndex];
  771     const ParamCommandComment *PCC = UnresolvedParamCommands[i];
  782     unsigned CorrectedParamIndex = ParamCommandComment::InvalidParamIndex;
  792     if (CorrectedParamIndex != ParamCommandComment::InvalidParamIndex) {
  987     return ParamCommandComment::VarArgParamIndex;
  988   return ParamCommandComment::InvalidParamIndex;
 1053     return ParamCommandComment::InvalidParamIndex;
tools/clang/lib/AST/JSONNodeDumper.cpp
 1558     const comments::ParamCommandComment *C, const comments::FullComment *FC) {
 1560   case comments::ParamCommandComment::In:
 1563   case comments::ParamCommandComment::Out:
 1566   case comments::ParamCommandComment::InOut:
tools/clang/lib/AST/TextNodeDumper.cpp
  525     const comments::ParamCommandComment *C, const comments::FullComment *FC) {
  527      << comments::ParamCommandComment::getDirectionAsString(C->getDirection());
tools/clang/lib/Index/CommentToXML.cpp
   30   bool operator()(const ParamCommandComment *LHS,
   31                   const ParamCommandComment *RHS) const {
   89   SmallVector<const ParamCommandComment *, 8> Params;
  142       const ParamCommandComment *PCC = cast<ParamCommandComment>(Child);
  142       const ParamCommandComment *PCC = cast<ParamCommandComment>(Child);
  234   void visitParamCommandComment(const ParamCommandComment *C);
  347                                   const ParamCommandComment *C) {
  545   void visitParamCommandComment(const ParamCommandComment *C);
  728     const ParamCommandComment *C) {
  744   case ParamCommandComment::In:
  747   case ParamCommandComment::Out:
  750   case ParamCommandComment::InOut:
tools/clang/tools/extra/clang-doc/Serialize.cpp
   75   void visitParamCommandComment(const ParamCommandComment *C);
  136     const ParamCommandComment *C) {
  138       ParamCommandComment::getDirectionAsString(C->getDirection());
tools/clang/tools/libclang/CXComment.cpp
  258   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  258   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  266   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  266   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  274   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  274   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  276     return ParamCommandComment::InvalidParamIndex;
  282   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  282   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  291   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  291   const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC);
  296   case ParamCommandComment::In:
  299   case ParamCommandComment::Out:
  302   case ParamCommandComment::InOut:
tools/clang/tools/libclang/CXComment.h
   43 static inline const T *getASTNodeAs(CXComment CXC) {
   48   return dyn_cast<T>(C);
tools/clang/unittests/AST/CommentParser.cpp
   93                                       T *&Child) {
  107   Child = dyn_cast<T>(CommentChild);
  183                               ParamCommandComment *&PCC,
  185                               ParamCommandComment::PassDirection Direction,
  757     ParamCommandComment *PCC;
  776     ParamCommandComment *PCC;
  810       ParamCommandComment *PCC;
  840       ParamCommandComment *PCC;
  870       ParamCommandComment *PCC;
  901       ParamCommandComment *PCC;
  922     ParamCommandComment *PCC;
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
  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
  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; };
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };