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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  329 USING(Using, NamedDecl)
tools/clang/include/clang/AST/DeclCXX.h
   75 class UsingDecl;
tools/clang/include/clang/Sema/Sema.h
  195   class UsingDecl;
tools/clang/lib/CodeGen/CGDebugInfo.h
   42 class UsingDecl;

References

include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     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,
  165   using ret_type = To &;       // Normal case, return Ty&
  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) {
  263 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*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  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) {
  342 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;
  360                             typename cast_retty<X, Y>::ret_type>::type
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/AST/ASTTypeTraits.h
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
  234   static DynTypedNode create(const T &Node) {
  235     return BaseConverter<T>::create(Node);
  251   const T *get() const {
  252     return BaseConverter<T>::get(NodeKind, Storage.buffer);
  259   const T &getUnchecked() const {
  260     return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer);
  394     static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
  395       if (ASTNodeKind::getFromNodeKind<T>().isBaseOf(NodeKind))
  399     static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
  401       return *cast<T>(static_cast<const BaseT *>(
  469     : public DynCastPtrConverter<T, Decl> {};
tools/clang/include/clang/AST/DeclBase.h
 2536   static ::clang::DeclContext *doit(const FromTy *Val) {
 2537     return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclCXX.h
 3096                   UsingDecl *Using, NamedDecl *Target);
 3104                                  SourceLocation Loc, UsingDecl *Using,
 3145   UsingDecl *getUsingDecl() const;
 3187                              UsingDecl *Using, NamedDecl *Target,
 3217                                             UsingDecl *Using, NamedDecl *Target,
 3275 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> {
 3394   static UsingDecl *Create(ASTContext &C, DeclContext *DC,
 3400   static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
 3405   UsingDecl *getCanonicalDecl() override { return getFirstDecl(); }
 3406   const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); }
tools/clang/include/clang/AST/JSONNodeDumper.h
  166   template <typename T> void writePreviousDeclImpl(const Mergeable<T> *D) {
  167     const T *First = D->getFirstDecl();
  229   void VisitUsingDecl(const UsingDecl *UD);
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1581   TRY_TO(TraverseNestedNameSpecifierLoc(D->getQualifierLoc()));
 1582   TRY_TO(TraverseDeclarationNameInfo(D->getNameInfo()));
tools/clang/include/clang/AST/Redeclarable.h
  318   decl_type *getFirstDecl() {
  319     auto *D = static_cast<decl_type *>(this);
  322     return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
  327   const decl_type *getFirstDecl() const {
  328     const auto *D = static_cast<const decl_type *>(this);
  331     return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
tools/clang/include/clang/AST/TextNodeDumper.h
  328   void VisitUsingDecl(const UsingDecl *D);
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  110   const T *getNodeAs(StringRef ID) const {
  111     return MyBoundNodes.getNodeAs<T>(ID);
 1565 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  160   const T *getNodeAs(StringRef ID) const {
  165     return It->second.get<T>();
  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>()),
  436     return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  445   template <typename T> Matcher<T> convertTo() const {
  447     return unconditionalConvertTo<T>();
  479 class WrapperMatcherInterface : public MatcherInterface<T> {
  499   explicit Matcher(MatcherInterface<T> *Implementation)
  507           typename std::enable_if<std::is_base_of<From, T>::value &&
  508                                !std::is_same<From, T>::value>::type * = nullptr)
  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) {
 1026   bool matchesAncestorOf(const T &Node,
 1030     static_assert(std::is_base_of<Decl, T>::value ||
 1031                       std::is_base_of<NestedNameSpecifierLoc, T>::value ||
 1032                       std::is_base_of<Stmt, T>::value ||
 1033                       std::is_base_of<TypeLoc, T>::value,
 1084       std::is_base_of<typename AnyTypeList::head, T>::value ||
 1085       TypeListContainsSuperOf<typename AnyTypeList::tail, T>::value;
 1146     template <typename To> operator Matcher<To>() const {
 1184   operator Matcher<T>() const {
 1185     static_assert(TypeListContainsSuperOf<ReturnTypes, T>::value,
 1202   operator Matcher<T>() const {
 1203     static_assert(TypeListContainsSuperOf<ReturnTypes, T>::value,
 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 {
 1335   template <typename T> operator Matcher<T>() const {
 1337                Op, ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
 1338                getMatchers<T>(std::index_sequence_for<Ps...>()))
 1339         .template unconditionalConvertTo<T>();
 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) {
 1438 class HasParentMatcher : public WrapperMatcherInterface<T> {
 1446   bool matches(const T &Node, ASTMatchFinder *Finder,
 1458 class HasAncestorMatcher : public WrapperMatcherInterface<T> {
 1466   bool matches(const T &Node, ASTMatchFinder *Finder,
 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/include/clang/Sema/Overload.h
 1116     if (isa<UsingDecl>(ND))
tools/clang/include/clang/Sema/Sema.h
 5059   bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
 5062   UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
 5085   bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
tools/clang/lib/AST/ASTImporter.cpp
  162     Expected<T *> import(T *From) {
  162     Expected<T *> import(T *From) {
  166       return cast_or_null<T>(*ToOrErr);
  170     Expected<T *> import(const T *From) {
  170     Expected<T *> import(const T *From) {
  217           -> decltype(ToDeclT::Create(std::forward<Args>(args)...)) {
  218         return ToDeclT::Create(std::forward<Args>(args)...);
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  234       CallOverloadedCreateFun<ToDeclT> OC;
  256     GetImportedOrCreateSpecialDecl(ToDeclT *&ToD, CreateFunT CreateFun,
  257                                    FromDeclT *FromD, Args &&... args) {
  262       ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD));
  481     ExpectedDecl VisitUsingDecl(UsingDecl *D);
 4262 ExpectedDecl ASTNodeImporter::VisitUsingDecl(UsingDecl *D) {
 4284   UsingDecl *ToUsing;
 4323   Expected<UsingDecl *> ToUsingOrErr = import(D->getUsingDecl());
tools/clang/lib/AST/Decl.cpp
 1721   if (auto *UD = dyn_cast<UsingDecl>(this)) {
 1725                cast<UsingDecl>(OldD)->getQualifier());
tools/clang/lib/AST/DeclCXX.cpp
 1312   if (const auto *Using = dyn_cast<UsingDecl>(D)) {
 1312   if (const auto *Using = dyn_cast<UsingDecl>(D)) {
 2802                                  SourceLocation Loc, UsingDecl *Using,
 2820 UsingDecl *UsingShadowDecl::getUsingDecl() const {
 2825   return cast<UsingDecl>(Shadow->UsingOrNextShadow);
 2832                                    SourceLocation Loc, UsingDecl *Using,
 2880 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL,
 2884   return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename);
 2887 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
 2888   return new (C, ID) UsingDecl(nullptr, SourceLocation(),
tools/clang/lib/AST/DeclPrinter.cpp
  100     void VisitUsingDecl(UsingDecl *D);
 1570 void DeclPrinter::VisitUsingDecl(UsingDecl *D) {
tools/clang/lib/AST/JSONNodeDumper.cpp
  724 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) {
tools/clang/lib/AST/TextNodeDumper.cpp
   24 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) {
   25   const T *First = D->getFirstDecl();
 1710 void TextNodeDumper::VisitUsingDecl(const UsingDecl *D) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  661 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
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>());
  361     RetTypes.push_back(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/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4553 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) {
tools/clang/lib/CodeGen/CGDebugInfo.h
  476   void EmitUsingDecl(const UsingDecl &UD);
tools/clang/lib/CodeGen/CGDecl.cpp
  121         DI->EmitUsingDecl(cast<UsingDecl>(D));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 6567                   isa<PragmaDetectMismatchDecl>(D) || isa<UsingDecl>(D) ||
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5291         DI->EmitUsingDecl(cast<UsingDecl>(*D));
tools/clang/lib/Index/IndexDecl.cpp
  585   bool VisitUsingDecl(const UsingDecl *D) {
tools/clang/lib/Index/USRGeneration.cpp
  113   void VisitUsingDecl(const UsingDecl *D) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
  752   if (isa<UsingDecl>(ND))
tools/clang/lib/Sema/SemaDeclCXX.cpp
 6578     UsingDecl *ConstructedBaseUsing = nullptr;
10028 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig,
10099     if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D))
10197                                             UsingDecl *UD,
10486     UsingDecl *UD =
10487         UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc,
10629   UsingDecl *UD = BuildValid();
10664 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) {
10716         if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) {
10736     if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
10736     if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 4824         if (isa<UsingDecl>(ND))
 4863         if (isa<UsingDecl>(ND))
tools/clang/lib/Sema/SemaLookup.cpp
 3699       if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) &&
tools/clang/lib/Sema/SemaOverload.cpp
 1046     } else if (isa<UsingDecl>(OldD) || isa<UsingPackDecl>(OldD)) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2731 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) {
 2764   UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner,
 2764   UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner,
 5154 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance,
 5154 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance,
 5176   } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) {
 5176   } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) {
 5245   if (auto *Using = dyn_cast<UsingDecl>(Other))
 5245   if (auto *Using = dyn_cast<UsingDecl>(Other))
 5246     return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx);
tools/clang/lib/Sema/TreeTransform.h
10872       if (auto *UD = dyn_cast<UsingDecl>(D)) {
10872       if (auto *UD = dyn_cast<UsingDecl>(D)) {
13075   } else if (auto *Using = dyn_cast<UsingDecl>(D)) {
13075   } else if (auto *Using = dyn_cast<UsingDecl>(D)) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  249       operator T*() const { return dyn_cast_or_null<T>(Existing); }
  249       operator T*() const { return dyn_cast_or_null<T>(Existing); }
  393     void VisitUsingDecl(UsingDecl *D);
  424     void mergeMergeable(Mergeable<T> *D);
 1589 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) {
 2563     if (T *Existing = ExistingRes)
 3103   if (const auto *UX = dyn_cast<UsingDecl>(X)) {
 3103   if (const auto *UX = dyn_cast<UsingDecl>(X)) {
 3104     const auto *UY = cast<UsingDecl>(Y);
 3104     const auto *UY = cast<UsingDecl>(Y);
 3682     D = UsingDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  112     void VisitUsingDecl(UsingDecl *D);
 1231 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) {
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  183     if (llvm::isa<UsingDecl>(Decl))
  323   bool VisitUsingDecl(const UsingDecl *Using) {
  444   const std::vector<const UsingDecl *> &getUsingDecls() const {
  498   std::vector<const UsingDecl *> UsingDecls;
  577   for (const auto *Using : Finder.getUsingDecls())
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  536   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  536   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  556   } else if (const auto *UsingWithShadow =
  557                  Result.Nodes.getNodeAs<UsingDecl>("using_with_shadow")) {
  857   for (const UsingDecl *Using : UsingDecls) {
  938     const UsingDecl *UsingDeclaration) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.h
   81                           const UsingDecl *UsingDeclaration);
  153   llvm::SmallPtrSet<const UsingDecl *, 8> UsingDecls;
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  228 static bool isInInstantiation(const NodeType &Node,
  255   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  255   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  283     } else if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  283     } else if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
   75   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
   75   if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
   36     explicit UsingDeclContext(const UsingDecl *FoundUsingDecl)
   43     const UsingDecl *FoundUsingDecl;
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
  176   } else if (const auto *D =
  177                  Result.Nodes.getNodeAs<UsingDecl>(AutoPtrTokenId)) {
tools/clang/tools/extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp
   68     const auto *U = Result.Nodes.getNodeAs<UsingDecl>("using_decl");
   68     const auto *U = Result.Nodes.getNodeAs<UsingDecl>("using_decl");
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  794   if (const auto *Decl = Result.Nodes.getNodeAs<UsingDecl>("using")) {
  794   if (const auto *Decl = Result.Nodes.getNodeAs<UsingDecl>("using")) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  142     } else if (const UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
  142     } else if (const UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
  428     void VisitUsingDecl(const UsingDecl *D) {
tools/clang/tools/extra/clangd/unittests/QualityTests.cpp
  141         *dyn_cast<UsingDecl>(&findDecl(AST, [&](const NamedDecl &ND) {
  142            if (const UsingDecl *Using = dyn_cast<UsingDecl>(&ND))
  142            if (const UsingDecl *Using = dyn_cast<UsingDecl>(&ND))
tools/clang/tools/extra/modularize/Modularize.cpp
  620         isa<ClassTemplateSpecializationDecl>(ND) || isa<UsingDecl>(ND) ||
tools/clang/tools/libclang/CIndex.cpp
 1228 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) {
 6132     if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
 6132     if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
 6376     return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), 
 6500   if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
 6500   if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
 6523   if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) {
 6523   if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) {
 6525     UsingDecl::shadow_iterator Pos = Using->shadow_begin();
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  116   bool VisitUsingDecl(const UsingDecl *D) {
tools/clang/tools/libclang/CursorVisitor.h
  237   bool VisitUsingDecl(UsingDecl *D);
tools/clang/unittests/AST/MatchVerifier.h
   62                       const NodeType &Node) {}
  150   const NodeType *Node = Result.Nodes.getNodeAs<NodeType>("");
  150   const NodeType *Node = Result.Nodes.getNodeAs<NodeType>("");
  216 class RangeVerifier : public MatchVerifier<NodeType> {
  228               const NodeType &Node) override {
  250   virtual SourceRange getRange(const NodeType &Node) {
tools/clang/unittests/AST/SourceLocationTest.cpp
  380   RangeVerifier<UsingDecl> Verifier;
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  947   clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
tools/lldb/source/Symbol/ClangASTContext.cpp
 1918 clang::UsingDecl *
 1922     clang::UsingDecl *using_decl = clang::UsingDecl::Create(
 1922     clang::UsingDecl *using_decl = clang::UsingDecl::Create(
10002           } else if (clang::UsingDecl *ud =
10003                          llvm::dyn_cast<clang::UsingDecl>(child)) {
10119             if (clang::UsingDecl *ud =
10120                     llvm::dyn_cast<clang::UsingDecl>(child)) {
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_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
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 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; };
 1983     { typedef _Up     type; };
 1999     { typedef typename remove_reference<_Tp>::type*     type; };
 2003     : public __add_pointer_helper<_Tp>