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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  111 NAMESPACEALIAS(NamespaceAlias, NamedDecl)
tools/clang/include/clang/AST/NestedNameSpecifier.h
   32 class NamespaceAliasDecl;
tools/clang/include/clang/Sema/DeclSpec.h
   44   class NamespaceAliasDecl;

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/Decl.h
 4406     decl_type *MostRecent = First->getNextRedeclaration();
 4407     RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent));
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
 2950                            public Redeclarable<NamespaceAliasDecl> {
 2978   using redeclarable_base = Redeclarable<NamespaceAliasDecl>;
 2980   NamespaceAliasDecl *getNextRedeclarationImpl() override;
 2981   NamespaceAliasDecl *getPreviousDeclImpl() override;
 2982   NamespaceAliasDecl *getMostRecentDeclImpl() override;
 2985   static NamespaceAliasDecl *Create(ASTContext &C, DeclContext *DC,
 2993   static NamespaceAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
 3004   NamespaceAliasDecl *getCanonicalDecl() override {
 3007   const NamespaceAliasDecl *getCanonicalDecl() const {
 3023     if (auto *AD = dyn_cast<NamespaceAliasDecl>(Namespace))
 3023     if (auto *AD = dyn_cast<NamespaceAliasDecl>(Namespace))
tools/clang/include/clang/AST/JSONNodeDumper.h
  172   template <typename T> void writePreviousDeclImpl(const Redeclarable<T> *D) {
  173     const T *Prev = D->getPreviousDecl();
  228   void VisitNamespaceAliasDecl(const NamespaceAliasDecl *NAD);
tools/clang/include/clang/AST/NestedNameSpecifier.h
  135                                      NamespaceAliasDecl *Alias);
  187   NamespaceAliasDecl *getAsNamespaceAlias() const;
  439   void Extend(ASTContext &Context, NamespaceAliasDecl *Alias,
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1501   TRY_TO(TraverseNestedNameSpecifierLoc(D->getQualifierLoc()));
tools/clang/include/clang/AST/Redeclarable.h
  113     DeclLink(PreviousTag, decl_type *D) : Link(NotKnownLatest(Previous(D))) {}
  122     decl_type *getPrevious(const decl_type *D) const {
  122     decl_type *getPrevious(const decl_type *D) const {
  137     void setPrevious(decl_type *D) {
  142     void setLatest(decl_type *D) {
  166   static DeclLink PreviousDeclLink(decl_type *D) {
  187   decl_type *First;
  189   decl_type *getNextRedeclaration() const {
  203   decl_type *getPreviousDecl() {
  208   const decl_type *getPreviousDecl() const {
  215   decl_type *getFirstDecl() { return First; }
  219   const decl_type *getFirstDecl() const { return First; }
  225   decl_type *getMostRecentDecl() {
  230   const decl_type *getMostRecentDecl() const {
  236   void setPreviousDecl(decl_type *PrevDecl);
tools/clang/include/clang/AST/TextNodeDumper.h
  317   void VisitNamespaceAliasDecl(const NamespaceAliasDecl *D);
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  110   const T *getNodeAs(StringRef ID) const {
  111     return MyBoundNodes.getNodeAs<T>(ID);
  368 extern const internal::VariadicDynCastAllOfMatcher<Decl, NamespaceAliasDecl>
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) {
 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/DeclSpec.h
  134   void Extend(ASTContext &Context, NamespaceAliasDecl *Alias,
tools/clang/include/clang/Serialization/ASTReader.h
 1887   T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) {
 1888     return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
tools/clang/lib/AST/ASTImporter.cpp
  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));
  455     ExpectedDecl VisitNamespaceAliasDecl(NamespaceAliasDecl *D);
 2256 ExpectedDecl ASTNodeImporter::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
 2282   NamespaceAliasDecl *ToD;
 8183                                          cast<NamespaceAliasDecl>(*NSADOrErr));
tools/clang/lib/AST/Decl.cpp
 1676 template<typename T> static bool isRedeclarableImpl(Redeclarable<T> *) {
 1779   if (auto *AD = dyn_cast<NamespaceAliasDecl>(ND))
 1779   if (auto *AD = dyn_cast<NamespaceAliasDecl>(ND))
tools/clang/lib/AST/DeclCXX.cpp
 2705   if (auto *NA = dyn_cast_or_null<NamespaceAliasDecl>(NominatedNamespace))
 2705   if (auto *NA = dyn_cast_or_null<NamespaceAliasDecl>(NominatedNamespace))
 2765 NamespaceAliasDecl *NamespaceAliasDecl::getNextRedeclarationImpl() {
 2769 NamespaceAliasDecl *NamespaceAliasDecl::getPreviousDeclImpl() {
 2773 NamespaceAliasDecl *NamespaceAliasDecl::getMostRecentDeclImpl() {
 2777 NamespaceAliasDecl *NamespaceAliasDecl::Create(ASTContext &C, DeclContext *DC,
 2787   return new (C, DC) NamespaceAliasDecl(C, DC, UsingLoc, AliasLoc, Alias,
 2791 NamespaceAliasDecl *
 2793   return new (C, ID) NamespaceAliasDecl(C, nullptr, SourceLocation(),
tools/clang/lib/AST/DeclPrinter.cpp
   79     void VisitNamespaceAliasDecl(NamespaceAliasDecl *D);
  938 void DeclPrinter::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
tools/clang/lib/AST/JSONNodeDumper.cpp
  718 void JSONNodeDumper::VisitNamespaceAliasDecl(const NamespaceAliasDecl *NAD) {
tools/clang/lib/AST/NestedNameSpecifier.cpp
   89                             NamespaceAliasDecl *Alias) {
  176 NamespaceAliasDecl *NestedNameSpecifier::getAsNamespaceAlias() const {
  178     return dyn_cast<NamespaceAliasDecl>(static_cast<NamedDecl *>(Specifier));
  609                                            NamespaceAliasDecl *Alias,
tools/clang/lib/AST/TextNodeDumper.cpp
   31 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) {
   32   const T *Prev = D->getPreviousDecl();
 1508 void TextNodeDumper::VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  566 const internal::VariadicDynCastAllOfMatcher<Decl, NamespaceAliasDecl>
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/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4594 CGDebugInfo::EmitNamespaceAlias(const NamespaceAliasDecl &NA) {
 4602   if (const auto *Underlying =
 4603           dyn_cast<NamespaceAliasDecl>(NA.getAliasedNamespace()))
tools/clang/lib/CodeGen/CGDebugInfo.h
  145   llvm::DenseMap<const NamespaceAliasDecl *, llvm::TrackingMDRef>
  482   llvm::DIImportedEntity *EmitNamespaceAlias(const NamespaceAliasDecl &NA);
tools/clang/lib/CodeGen/CGDecl.cpp
  117         DI->EmitNamespaceAlias(cast<NamespaceAliasDecl>(D));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5295         DI->EmitNamespaceAlias(cast<NamespaceAliasDecl>(*D));
tools/clang/lib/Frontend/ASTUnit.cpp
  353   } else if (isa<NamespaceDecl>(ND) || isa<NamespaceAliasDecl>(ND)) {
  444             isa<NamespaceAliasDecl>(R.Declaration))
tools/clang/lib/Index/IndexDecl.cpp
  577   bool VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) {
tools/clang/lib/Index/USRGeneration.cpp
   87   void VisitNamespaceAliasDecl(const NamespaceAliasDecl *D);
  378 void USRGenerator::VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) {
tools/clang/lib/Sema/DeclSpec.cpp
   83 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceAliasDecl *Alias,
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  718     if (NamespaceAliasDecl *Alias = dyn_cast<NamespaceAliasDecl>(SD)) {
  718     if (NamespaceAliasDecl *Alias = dyn_cast<NamespaceAliasDecl>(SD)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9451   if (NamespaceAliasDecl *AD = dyn_cast_or_null<NamespaceAliasDecl>(D))
 9451   if (NamespaceAliasDecl *AD = dyn_cast_or_null<NamespaceAliasDecl>(D))
 9791       return isa<NamespaceDecl>(ND) || isa<NamespaceAliasDecl>(ND);
11154   NamespaceAliasDecl *Prev = nullptr;
11157     if (NamespaceAliasDecl *AD = dyn_cast<NamespaceAliasDecl>(PrevDecl)) {
11157     if (NamespaceAliasDecl *AD = dyn_cast<NamespaceAliasDecl>(PrevDecl)) {
11182   NamespaceAliasDecl *AliasDecl =
11183     NamespaceAliasDecl::Create(Context, CurContext, NamespaceLoc, AliasLoc,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  694 TemplateDeclInstantiator::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
  695   NamespaceAliasDecl *Inst
  696     = NamespaceAliasDecl::Create(SemaRef.Context, Owner,
tools/clang/lib/Sema/TreeTransform.h
 3703       NamespaceAliasDecl *Alias
 3704         = cast_or_null<NamespaceAliasDecl>(
tools/clang/lib/Serialization/ASTReader.cpp
 9484       NamespaceAliasDecl *Alias =ReadDeclAs<NamespaceAliasDecl>(F, Record, Idx);
 9484       NamespaceAliasDecl *Alias =ReadDeclAs<NamespaceAliasDecl>(F, Record, Idx);
 9541       NamespaceAliasDecl *Alias =ReadDeclAs<NamespaceAliasDecl>(F, Record, Idx);
 9541       NamespaceAliasDecl *Alias =ReadDeclAs<NamespaceAliasDecl>(F, Record, Idx);
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); }
  330     void VisitNamespaceAliasDecl(NamespaceAliasDecl *D);
  412     RedeclarableResult VisitRedeclarable(Redeclarable<T> *D);
  415     void mergeRedeclarable(Redeclarable<T> *D, RedeclarableResult &Redecl,
  419     void mergeRedeclarable(Redeclarable<T> *D, T *Existing,
  419     void mergeRedeclarable(Redeclarable<T> *D, T *Existing,
 1579 void ASTDeclReader::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
 2394   auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID));
 2394   auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID));
 2400     D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl);
 2404   auto *DAsT = static_cast<T *>(D);
 2430   auto *D = static_cast<T *>(DBase);
 2434     mergeRedeclarable(D, cast<T>(Existing), Redecl, TemplatePatternID);
 2436     if (T *Existing = ExistingRes)
 2496   auto *D = static_cast<T *>(DBase);
 2497   T *ExistingCanon = Existing->getCanonicalDecl();
 2498   T *DCanon = D->getCanonicalDecl();
 2506     D->RedeclLink = Redeclarable<T>::PreviousDeclLink(ExistingCanon);
 2844   if (auto *NAS = X->getAsNamespaceAlias())
 3120   if (const auto *NAX = dyn_cast<NamespaceAliasDecl>(X)) {
 3120   if (const auto *NAX = dyn_cast<NamespaceAliasDecl>(X)) {
 3121     const auto *NAY = cast<NamespaceAliasDecl>(Y);
 3121     const auto *NAY = cast<NamespaceAliasDecl>(Y);
 3381 Decl *ASTDeclReader::getMostRecentDeclImpl(Redeclarable<DeclT> *D) {
 3408                                            Redeclarable<DeclT> *D,
 3410   D->RedeclLink.setPrevious(cast<DeclT>(Previous));
 3411   D->First = cast<DeclT>(Previous)->First;
 3567 void ASTDeclReader::attachLatestDeclImpl(Redeclarable<DeclT> *D, Decl *Latest) {
 3568   D->RedeclLink.setLatest(cast<DeclT>(Latest));
 3589 void ASTDeclReader::markIncompleteDeclChainImpl(Redeclarable<DeclT> *D) {
 3679     D = NamespaceAliasDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp
   65     void VisitNamespaceAliasDecl(NamespaceAliasDecl *D);
  129     template <typename T> void VisitRedeclarable(Redeclarable<T> *D);
 1221 void ASTDeclWriter::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
 1722   T *First = D->getFirstDecl();
 1723   T *MostRecent = First->getMostRecentDecl();
 1724   T *DAsT = static_cast<T *>(D);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  542   } else if (const auto *NamespaceAlias =
  543                  Result.Nodes.getNodeAs<NamespaceAliasDecl>(
  824   for (const auto *NamespaceAlias : NamespaceAliasDecls) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.h
  159   llvm::SmallPtrSet<const NamespaceAliasDecl *, 8> NamespaceAliasDecls;
tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp
   46     if (const auto *AliasDecl = NestedName->getAsNamespaceAlias()) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  146     } else if (const auto *NAD = dyn_cast<NamespaceAliasDecl>(D)) {
  146     } else if (const auto *NAD = dyn_cast<NamespaceAliasDecl>(D)) {
  436     void VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) {
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  263       } else if (const auto *ANS = Nested->getAsNamespaceAlias()) {
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
   83   if (isa<NamespaceDecl>(D) || isa<NamespaceAliasDecl>(D) ||
  161   bool VisitNamespaceAliasDecl(NamespaceAliasDecl *NAD) {
tools/clang/tools/extra/modularize/Modularize.cpp
  619         isa<NamespaceAliasDecl>(ND) ||
tools/clang/tools/libclang/CIndex.cpp
 1218 bool CursorVisitor::VisitNamespaceAliasDecl(NamespaceAliasDecl *D) {
 6321     return MakeCXCursor(cast<NamespaceAliasDecl>(D)->getNamespace(), TU);
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
 1206   if (const NamespaceAliasDecl *Namespace = dyn_cast<NamespaceAliasDecl>(D))
 1206   if (const NamespaceAliasDecl *Namespace = dyn_cast<NamespaceAliasDecl>(D))
tools/clang/tools/libclang/CursorVisitor.h
  235   bool VisitNamespaceAliasDecl(NamespaceAliasDecl *D);
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>