|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/lib/Index/IndexingContext.h 29 class NestedNameSpecifierLoc;
References
include/llvm/ADT/SmallVector.h 75 AlignedCharArrayUnion<T> FirstEl;
114 using value_type = T;
115 using iterator = T *;
116 using const_iterator = const T *;
121 using reference = T &;
122 using const_reference = const T &;
123 using pointer = T *;
124 using const_pointer = const T *;
259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
264 static void destroy_range(T *, T *) {}
264 static void destroy_range(T *, T *) {}
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
302 void push_back(const T &Elt) {
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
316 using SuperClass = SmallVectorTemplateBase<T>;
357 void resize(size_type N, const T &NV) {
374 LLVM_NODISCARD T pop_back_val() {
375 T Result = ::std::move(this->back());
397 void append(size_type NumInputs, const T &Elt) {
405 void append(std::initializer_list<T> IL) {
412 void assign(size_type NumElts, const T &Elt) {
429 void assign(std::initializer_list<T> IL) {
467 iterator insert(iterator I, T &&Elt) {
497 iterator insert(iterator I, const T &Elt) {
526 iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
637 void insert(iterator I, std::initializer_list<T> IL) {
820 AlignedCharArrayUnion<T> InlineElts[N];
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
846 explicit SmallVector(size_t Size, const T &Value = T())
865 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
884 SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/Support/AlignOf.h 24 T t;
25 AlignerImpl<Ts...> rest;
30 T t;
35 char arr[sizeof(T)];
36 SizerImpl<Ts...> rest;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Alignment.h 103 return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Error.h 437 static const bool isRef = std::is_reference<T>::value;
439 using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
444 using storage_type = typename std::conditional<isRef, wrap, T>::type;
445 using value_type = T;
448 using reference = typename std::remove_reference<T>::type &;
449 using const_reference = const typename std::remove_reference<T>::type &;
450 using pointer = typename std::remove_reference<T>::type *;
451 using const_pointer = const typename std::remove_reference<T>::type *;
474 Expected(OtherT &&Val,
475 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
475 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
483 new (getStorage()) storage_type(std::forward<OtherT>(Val));
492 Expected(Expected<OtherT> &&Other,
493 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
493 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
594 template <class OtherT> void moveConstruct(Expected<OtherT> &&Other) {
include/llvm/Support/TrailingObjects.h 65 FirstAlignment = alignof(First),
134 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
137 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
141 static const bool value = alignof(PrevTy) < alignof(NextTy);
141 static const bool value = alignof(PrevTy) < alignof(NextTy);
161 static const NextTy *
163 TrailingObjectsBase::OverloadToken<NextTy>) {
171 alignAddr(Ptr, Align::Of<NextTy>()));
176 static NextTy *
178 TrailingObjectsBase::OverloadToken<NextTy>) {
179 auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
185 return reinterpret_cast<NextTy *>(alignAddr(Ptr, Align::Of<NextTy>()));
197 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar)
199 sizeof(NextTy) * Count1,
231 TrailingTys...>::Alignment,
232 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
233 BaseTy, TrailingTys...> {
241 trailing_objects_internal::AlignmentCalcHelper<TrailingTys...>::Alignment,
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
284 TrailingObjectsBase::OverloadToken<T>) {
302 template <typename T> const T *getTrailingObjects() const {
314 template <typename T> T *getTrailingObjects() {
332 TrailingTys, size_t>::type... Counts) {
342 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
342 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
344 TrailingTys, size_t>::type... Counts) {
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
tools/clang/include/clang/AST/ASTContext.h 664 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node) {
tools/clang/include/clang/AST/ASTImporter.h 434 llvm::Expected<NestedNameSpecifierLoc>
435 Import(NestedNameSpecifierLoc FromNNS);
tools/clang/include/clang/AST/ASTTypeTraits.h 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);
309 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(
311 auto NNSLA = getUnchecked<NestedNameSpecifierLoc>();
311 auto NNSLA = getUnchecked<NestedNameSpecifierLoc>();
312 auto NNSLB = Other.getUnchecked<NestedNameSpecifierLoc>();
312 auto NNSLB = Other.getUnchecked<NestedNameSpecifierLoc>();
335 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(NodeKind))
336 return getUnchecked<NestedNameSpecifierLoc>() ==
337 Other.getUnchecked<NestedNameSpecifierLoc>();
367 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(
369 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
369 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
434 static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
435 if (ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind))
439 static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
443 static DynTypedNode create(const T &Node) {
445 Result.NodeKind = ASTNodeKind::getFromNodeKind<T>();
446 new (Result.Storage.buffer) T(Node);
462 NestedNameSpecifierLoc, QualType,
505 void> : public ValueConverter<NestedNameSpecifierLoc> {};
tools/clang/include/clang/AST/Decl.h 671 NestedNameSpecifierLoc QualifierLoc;
761 NestedNameSpecifierLoc getQualifierLoc() const {
766 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
3367 NestedNameSpecifierLoc getQualifierLoc() const {
3372 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
tools/clang/include/clang/AST/DeclCXX.h 2853 NestedNameSpecifierLoc QualifierLoc;
2864 NestedNameSpecifierLoc QualifierLoc,
2890 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
2928 NestedNameSpecifierLoc QualifierLoc,
2962 NestedNameSpecifierLoc QualifierLoc;
2970 IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc,
2989 NestedNameSpecifierLoc QualifierLoc,
3013 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3280 NestedNameSpecifierLoc QualifierLoc;
3294 NestedNameSpecifierLoc QualifierLoc,
3315 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3396 NestedNameSpecifierLoc QualifierLoc,
3503 NestedNameSpecifierLoc QualifierLoc;
3511 NestedNameSpecifierLoc QualifierLoc,
3536 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3559 NestedNameSpecifierLoc QualifierLoc,
3602 NestedNameSpecifierLoc QualifierLoc;
3606 NestedNameSpecifierLoc QualifierLoc,
3626 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3649 SourceLocation TypenameLoc, NestedNameSpecifierLoc QualifierLoc,
tools/clang/include/clang/AST/Expr.h 1148 private llvm::TrailingObjects<DeclRefExpr, NestedNameSpecifierLoc,
1162 size_t numTrailingObjects(OverloadToken<NestedNameSpecifierLoc>) const {
1178 DeclRefExpr(const ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc,
1200 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
1208 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
1241 NestedNameSpecifierLoc getQualifierLoc() const {
1244 return *getTrailingObjects<NestedNameSpecifierLoc>();
2802 NestedNameSpecifierLoc QualifierLoc;
2862 NestedNameSpecifierLoc QualifierLoc,
2913 NestedNameSpecifierLoc getQualifierLoc() const {
tools/clang/include/clang/AST/ExprCXX.h 868 NestedNameSpecifierLoc QualifierLoc;
875 NestedNameSpecifierLoc qualifierLoc,
923 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
2493 NestedNameSpecifierLoc QualifierLoc;
2513 NestedNameSpecifierLoc QualifierLoc,
2531 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
2852 NestedNameSpecifierLoc QualifierLoc;
2856 NestedNameSpecifierLoc QualifierLoc,
2965 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3066 NestedNameSpecifierLoc QualifierLoc,
3087 NestedNameSpecifierLoc QualifierLoc,
3093 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3117 if (NestedNameSpecifierLoc l = getQualifierLoc())
3166 NestedNameSpecifierLoc QualifierLoc;
3171 DependentScopeDeclRefExpr(QualType Ty, NestedNameSpecifierLoc QualifierLoc,
3186 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
3207 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3531 NestedNameSpecifierLoc QualifierLoc;
3577 NestedNameSpecifierLoc QualifierLoc,
3589 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc,
3632 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
3809 NestedNameSpecifierLoc QualifierLoc,
3830 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3896 if (NestedNameSpecifierLoc l = getQualifierLoc())
4856 NestedNameSpecifierLoc NestedNameSpec;
4885 ConceptSpecializationExpr(ASTContext &C, NestedNameSpecifierLoc NNS,
4898 Create(ASTContext &C, NestedNameSpecifierLoc NNS,
4907 const NestedNameSpecifierLoc &getNestedNameSpecifierLoc() const {
tools/clang/include/clang/AST/NestedNameSpecifier.h 320 NestedNameSpecifierLoc getPrefix() const {
335 friend bool operator==(NestedNameSpecifierLoc X,
336 NestedNameSpecifierLoc Y) {
340 friend bool operator!=(NestedNameSpecifierLoc X,
341 NestedNameSpecifierLoc Y) {
473 void Adopt(NestedNameSpecifierLoc Other);
485 NestedNameSpecifierLoc getWithLocInContext(ASTContext &Context) const;
492 NestedNameSpecifierLoc getTemporary() const {
tools/clang/include/clang/AST/OpenMPClause.h 2424 NestedNameSpecifierLoc QualifierLoc;
2440 NestedNameSpecifierLoc QualifierLoc,
2463 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; }
2556 NestedNameSpecifierLoc QualifierLoc,
2574 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
2660 NestedNameSpecifierLoc QualifierLoc;
2676 unsigned N, NestedNameSpecifierLoc QualifierLoc,
2699 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; }
2790 NestedNameSpecifierLoc QualifierLoc,
2808 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
2891 NestedNameSpecifierLoc QualifierLoc;
2907 unsigned N, NestedNameSpecifierLoc QualifierLoc,
2930 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; }
3034 NestedNameSpecifierLoc QualifierLoc,
3053 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
4296 NestedNameSpecifierLoc MapperQualifierLoc;
4321 NestedNameSpecifierLoc *MapperQualifierLocPtr = nullptr,
4514 void setMapperQualifierLoc(NestedNameSpecifierLoc NNSL) {
4561 NestedNameSpecifierLoc getMapperQualifierLoc() const {
4873 NestedNameSpecifierLoc MapperQualifierLoc,
4961 NestedNameSpecifierLoc UDMQualifierLoc, DeclarationNameInfo MapperId,
5772 explicit OMPToClause(NestedNameSpecifierLoc MapperQualifierLoc,
5823 NestedNameSpecifierLoc UDMQualifierLoc,
5890 explicit OMPFromClause(NestedNameSpecifierLoc MapperQualifierLoc,
5941 NestedNameSpecifierLoc UDMQualifierLoc,
tools/clang/include/clang/AST/RecursiveASTVisitor.h 244 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
757 NestedNameSpecifierLoc NNS) {
761 if (NestedNameSpecifierLoc Prefix = NNS.getPrefix())
tools/clang/include/clang/AST/StmtCXX.h 255 NestedNameSpecifierLoc QualifierLoc;
264 NestedNameSpecifierLoc QualifierLoc,
284 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
tools/clang/include/clang/AST/TemplateBase.h 416 TemplateArgumentLocInfo(NestedNameSpecifierLoc QualifierLoc,
433 NestedNameSpecifierLoc getTemplateQualifierLoc() const {
477 NestedNameSpecifierLoc QualifierLoc,
531 NestedNameSpecifierLoc getTemplateQualifierLoc() const {
tools/clang/include/clang/AST/TypeLoc.h 1982 NestedNameSpecifierLoc getQualifierLoc() const {
1987 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) {
2041 NestedNameSpecifierLoc getQualifierLoc() const {
2046 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) {
2098 NestedNameSpecifierLoc getQualifierLoc() const {
2106 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) {
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 110 const T *getNodeAs(StringRef ID) const {
111 return MyBoundNodes.getNodeAs<T>(ID);
142 using NestedNameSpecifierLocMatcher = internal::Matcher<NestedNameSpecifierLoc>;
6009 extern const internal::VariadicAllOfMatcher<NestedNameSpecifierLoc>
6018 new internal::LocMatcher<NestedNameSpecifierLoc, NestedNameSpecifier>(
6088 NestedNameSpecifierLoc NextNode = Node.getPrefix();
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>();
454 template <typename T> Matcher<T> unconditionalConvertTo() const;
479 class WrapperMatcherInterface : public MatcherInterface<T> {
499 explicit Matcher(MatcherInterface<T> *Implementation)
520 std::is_same<T, QualType>::value &&
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) {
922 std::is_same<T, Decl>::value ||
923 std::is_same<T, Stmt>::value ||
924 std::is_same<T, QualType>::value ||
925 std::is_same<T, Type>::value ||
926 std::is_same<T, TypeLoc>::value ||
927 std::is_same<T, NestedNameSpecifier>::value ||
928 std::is_same<T, NestedNameSpecifierLoc>::value ||
928 std::is_same<T, NestedNameSpecifierLoc>::value ||
929 std::is_same<T, CXXCtorInitializer>::value;
994 bool matchesChildOf(const T &Node, const DynTypedMatcher &Matcher,
997 static_assert(std::is_base_of<Decl, T>::value ||
998 std::is_base_of<Stmt, T>::value ||
999 std::is_base_of<NestedNameSpecifier, T>::value ||
1000 std::is_base_of<NestedNameSpecifierLoc, T>::value ||
1000 std::is_base_of<NestedNameSpecifierLoc, T>::value ||
1001 std::is_base_of<TypeLoc, T>::value ||
1002 std::is_base_of<QualType, T>::value,
1009 bool matchesDescendantOf(const T &Node,
1013 static_assert(std::is_base_of<Decl, T>::value ||
1014 std::is_base_of<Stmt, T>::value ||
1015 std::is_base_of<NestedNameSpecifier, T>::value ||
1016 std::is_base_of<NestedNameSpecifierLoc, T>::value ||
1016 std::is_base_of<NestedNameSpecifierLoc, T>::value ||
1017 std::is_base_of<TypeLoc, T>::value ||
1018 std::is_base_of<QualType, T>::value,
1026 bool matchesAncestorOf(const T &Node,
1030 static_assert(std::is_base_of<Decl, T>::value ||
1031 std::is_base_of<NestedNameSpecifierLoc, 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,
1067 using head = T1;
1073 using tail = TypeList<Ts...>;
1084 std::is_base_of<typename AnyTypeList::head, T>::value ||
1085 TypeListContainsSuperOf<typename AnyTypeList::tail, T>::value;
1096 TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc, QualType,
1111 TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc, TypeLoc,
1141 explicit Adaptor(const Matcher<T> &InnerMatcher)
1146 template <typename To> operator Matcher<To>() const {
1151 const Matcher<T> InnerMatcher;
1155 static Adaptor<T> create(const Matcher<T> &InnerMatcher) {
1155 static Adaptor<T> create(const Matcher<T> &InnerMatcher) {
1160 Adaptor<T> operator()(const Matcher<T> &InnerMatcher) const {
1160 Adaptor<T> operator()(const Matcher<T> &InnerMatcher) const {
1184 operator Matcher<T>() const {
1185 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 {
1268 ->template unconditionalConvertTo<T>();
1285 class HasMatcher : public WrapperMatcherInterface<T> {
1287 explicit HasMatcher(const Matcher<ChildT> &ChildMatcher)
1290 bool matches(const T &Node, ASTMatchFinder *Finder,
1304 class ForEachMatcher : public WrapperMatcherInterface<T> {
1305 static_assert(IsBaseType<ChildT>::value,
1309 explicit ForEachMatcher(const Matcher<ChildT> &ChildMatcher)
1312 bool matches(const T& Node, ASTMatchFinder* Finder,
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>());
1418 class HasDescendantMatcher : public WrapperMatcherInterface<T> {
1419 static_assert(IsBaseType<DescendantT>::value,
1423 explicit HasDescendantMatcher(const Matcher<DescendantT> &DescendantMatcher)
1426 bool matches(const T &Node, ASTMatchFinder *Finder,
1438 class HasParentMatcher : public WrapperMatcherInterface<T> {
1439 static_assert(IsBaseType<ParentT>::value,
1443 explicit HasParentMatcher(const Matcher<ParentT> &ParentMatcher)
1446 bool matches(const T &Node, ASTMatchFinder *Finder,
1458 class HasAncestorMatcher : public WrapperMatcherInterface<T> {
1459 static_assert(IsBaseType<AncestorT>::value,
1463 explicit HasAncestorMatcher(const Matcher<AncestorT> &AncestorMatcher)
1466 bool matches(const T &Node, ASTMatchFinder *Finder,
1480 class ForEachDescendantMatcher : public WrapperMatcherInterface<T> {
1481 static_assert(IsBaseType<DescendantT>::value,
1486 const Matcher<DescendantT> &DescendantMatcher)
1489 bool matches(const T &Node, ASTMatchFinder *Finder,
1575 : public VariadicFunction<BindableMatcher<T>, Matcher<T>,
1575 : public VariadicFunction<BindableMatcher<T>, Matcher<T>,
1576 makeAllOfComposite<T>> {
1584 class LocMatcher : public WrapperMatcherInterface<TLoc> {
1589 bool matches(const TLoc &Node, ASTMatchFinder *Finder,
1598 extract(const NestedNameSpecifierLoc &Loc) {
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 168 void Adopt(NestedNameSpecifierLoc Other);
175 NestedNameSpecifierLoc getWithLocInContext(ASTContext &Context) const;
tools/clang/include/clang/Sema/Sema.h 4555 NestedNameSpecifierLoc NNS,
4757 NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc,
4946 NestedNameSpecifierLoc QualifierLoc,
7072 NestedNameSpecifierLoc QualifierLoc,
7290 void collectUnexpandedParameterPacks(NestedNameSpecifierLoc NNS,
8436 NestedNameSpecifierLoc
8437 SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
8444 SubstTemplateName(NestedNameSpecifierLoc QualifierLoc, TemplateName Name,
tools/clang/include/clang/Serialization/ASTReader.h 2147 NestedNameSpecifierLoc ReadNestedNameSpecifierLoc(ModuleFile &F,
2573 NestedNameSpecifierLoc readNestedNameSpecifierLoc() {
tools/clang/include/clang/Serialization/ASTWriter.h 926 void AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
tools/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h 114 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
tools/clang/lib/AST/ASTContext.cpp10397 createDynTypedNode(const NestedNameSpecifierLoc &Node) {
10426 bool TraverseNode(T Node, MapNodeTy MapNode, BaseTraverseFn BaseTraverse,
10495 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLocNode) {
tools/clang/lib/AST/ASTImporter.cpp 176 Expected<T> import(const T &From) {
176 Expected<T> import(const T &From) {
189 Expected<std::tuple<T>>
190 importSeq(const T &From) {
191 Expected<T> ToOrErr = import(From);
194 return std::make_tuple<T>(std::move(*ToOrErr));
202 Expected<std::tuple<THead, TTail...>>
202 Expected<std::tuple<THead, TTail...>>
203 importSeq(const THead &FromHead, const TTail &...FromTail) {
203 importSeq(const THead &FromHead, const TTail &...FromTail) {
204 Expected<std::tuple<THead>> ToHeadOrErr = importSeq(FromHead);
207 Expected<std::tuple<TTail...>> ToTailOrErr = importSeq(FromTail...);
216 auto operator()(Args &&... args)
230 Args &&... args) {
257 FromDeclT *FromD, Args &&... args) {
2270 NestedNameSpecifierLoc ToQualifierLoc;
2542 NestedNameSpecifierLoc ToQualifierLoc;
3138 NestedNameSpecifierLoc ToQualifierLoc;
3743 NestedNameSpecifierLoc ToQualifierLoc;
4273 NestedNameSpecifierLoc ToQualifierLoc;
4371 NestedNameSpecifierLoc ToQualifierLoc;
4409 NestedNameSpecifierLoc ToQualifierLoc;
4446 NestedNameSpecifierLoc ToQualifierLoc;
6257 NestedNameSpecifierLoc ToQualifierLoc;
7199 NestedNameSpecifierLoc ToQualifierLoc;
7247 NestedNameSpecifierLoc ToQualifierLoc;
7282 NestedNameSpecifierLoc ToQualifierLoc;
7329 NestedNameSpecifierLoc ToQualifierLoc;
7434 NestedNameSpecifierLoc ToQualifierLoc;
8213 Expected<NestedNameSpecifierLoc>
8214 ASTImporter::Import(NestedNameSpecifierLoc FromNNS) {
8216 SmallVector<NestedNameSpecifierLoc , 8> NestedNames;
8217 NestedNameSpecifierLoc NNS = FromNNS;
tools/clang/lib/AST/ASTTypeTraits.cpp 135 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) {
135 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) {
168 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>())
168 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>())
tools/clang/lib/AST/Decl.cpp 1818 void DeclaratorDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) {
4121 void TagDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) {
tools/clang/lib/AST/DeclCXX.cpp 2686 NestedNameSpecifierLoc QualifierLoc,
2781 NestedNameSpecifierLoc QualifierLoc,
2881 NestedNameSpecifierLoc QualifierLoc,
2924 NestedNameSpecifierLoc QualifierLoc,
2953 NestedNameSpecifierLoc QualifierLoc,
tools/clang/lib/AST/Expr.cpp 496 NestedNameSpecifierLoc QualifierLoc,
507 new (getTrailingObjects<NestedNameSpecifierLoc>())
508 NestedNameSpecifierLoc(QualifierLoc);
543 NestedNameSpecifierLoc QualifierLoc,
557 NestedNameSpecifierLoc QualifierLoc,
571 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *,
590 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *,
1661 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
tools/clang/lib/AST/ExprCXX.cpp 335 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType,
385 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
405 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo,
419 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
448 NestedNameSpecifierLoc QualifierLoc,
525 QualType Ty, NestedNameSpecifierLoc QualifierLoc,
556 const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
1398 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc,
1447 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc,
1500 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
1540 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
1755 NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc,
1809 ConceptSpecializationExpr::Create(ASTContext &C, NestedNameSpecifierLoc NNS,
tools/clang/lib/AST/NestedNameSpecifier.cpp 425 NestedNameSpecifierLoc First = *this;
426 while (NestedNameSpecifierLoc Prefix = First.getPrefix())
680 void NestedNameSpecifierLocBuilder::Adopt(NestedNameSpecifierLoc Other) {
699 NestedNameSpecifierLoc
tools/clang/lib/AST/OpenMPClause.cpp 649 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo,
702 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo,
764 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo,
906 NestedNameSpecifierLoc UDMQualifierLoc, DeclarationNameInfo MapperId,
958 NestedNameSpecifierLoc UDMQualifierLoc, DeclarationNameInfo MapperId) {
1005 NestedNameSpecifierLoc UDMQualifierLoc, DeclarationNameInfo MapperId) {
tools/clang/lib/AST/StmtPrinter.cpp 2250 NestedNameSpecifierLoc NNS = E->getNestedNameSpecifierLoc();
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 113 else if (const NestedNameSpecifierLoc *NNSLoc =
114 DynNode.get<NestedNameSpecifierLoc>())
188 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
240 bool baseTraverse(NestedNameSpecifierLoc NNS) {
254 bool match(const T &Node) {
281 bool traverse(const T &Node) {
282 static_assert(IsBaseType<T>::value,
388 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
496 } else if (auto *N = Node.get<NestedNameSpecifierLoc>()) {
505 template <typename T> void match(const T &Node) {
548 void matchWithoutFilter(const T &Node, const MC &Matchers) {
620 void matchDispatch(const NestedNameSpecifierLoc *Node) {
952 NestedNameSpecifierLoc NNS) {
1067 } else if (NodeMatch.canConvertTo<NestedNameSpecifierLoc>()) {
1068 addMatcher(NodeMatch.convertTo<NestedNameSpecifierLoc>(), Action);
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 803 const internal::VariadicAllOfMatcher<NestedNameSpecifierLoc>
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>());
368 RetTypes.push_back(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 564 ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>(),
tools/clang/lib/Index/IndexBody.cpp 52 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
tools/clang/lib/Index/IndexTypeSourceInfo.cpp 102 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
233 void IndexingContext::indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
239 if (NestedNameSpecifierLoc Prefix = NNS.getPrefix())
tools/clang/lib/Index/IndexingContext.h 112 void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
tools/clang/lib/Sema/DeclSpec.cpp 124 void CXXScopeSpec::Adopt(NestedNameSpecifierLoc Other) {
141 NestedNameSpecifierLoc
tools/clang/lib/Sema/SemaDecl.cpp 322 NestedNameSpecifierLoc QualifierLoc = SS->getWithLocInContext(Context);
593 NestedNameSpecifierLoc QualifierLoc = NNSLocBuilder.getWithLocInContext(Context);
5503 NestedNameSpecifierLoc SpecLoc(SS.getScopeRep(), SS.location_data());
tools/clang/lib/Sema/SemaDeclCXX.cpp10467 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context);
14656 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context);
tools/clang/lib/Sema/SemaExpr.cpp 1784 NestedNameSpecifierLoc NNS =
1816 NestedNameSpecifierLoc NNS, NamedDecl *FoundD,
tools/clang/lib/Sema/SemaExprMember.cpp 902 NestedNameSpecifierLoc NNS =
910 Expr *Base, bool IsArrow, SourceLocation OpLoc, NestedNameSpecifierLoc NNS,
tools/clang/lib/Sema/SemaStmt.cpp 4230 NestedNameSpecifierLoc QualifierLoc,
tools/clang/lib/Sema/SemaTemplate.cpp 720 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context);
2562 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data());
4734 NestedNameSpecifierLoc &QualifierLoc) {
4819 NestedNameSpecifierLoc QualifierLoc;
4839 NestedNameSpecifierLoc QualLoc;
5396 NestedNameSpecifierLoc QualifierLoc;
9809 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context);
9918 static bool isEnableIf(NestedNameSpecifierLoc NNS, const IdentifierInfo &II,
9969 NestedNameSpecifierLoc QualifierLoc,
10215 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context);
10218 NestedNameSpecifierLoc Rebuilt
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 942 NestedNameSpecifierLoc QualifierLoc,
1153 NestedNameSpecifierLoc QualifierLoc,
2936 NestedNameSpecifierLoc
2937 Sema::SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
2957 Sema::SubstTemplateName(NestedNameSpecifierLoc QualifierLoc,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 56 NestedNameSpecifierLoc NewQualifierLoc
1324 NestedNameSpecifierLoc QualifierLoc = Pattern->getQualifierLoc();
1807 NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc();
2124 NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc();
2687 NestedNameSpecifierLoc QualifierLoc =
2741 NestedNameSpecifierLoc QualifierLoc
2917 NestedNameSpecifierLoc QualifierLoc
3194 NestedNameSpecifierLoc NewQualifierLoc =
tools/clang/lib/Sema/SemaTemplateVariadic.cpp 514 NestedNameSpecifierLoc NNS,
tools/clang/lib/Sema/SemaType.cpp 5629 NestedNameSpecifierLoc NNSLoc = SS.getWithLocInContext(Context);
tools/clang/lib/Sema/TreeTransform.h 495 NestedNameSpecifierLoc
496 TransformNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
636 NestedNameSpecifierLoc QualifierLoc);
981 NestedNameSpecifierLoc QualifierLoc,
995 NestedNameSpecifierLoc QualifierLoc,
1040 NestedNameSpecifierLoc QualifierLoc,
2115 NestedNameSpecifierLoc QualifierLoc,
3667 NestedNameSpecifierLoc
3669 NestedNameSpecifierLoc NNS,
3672 SmallVector<NestedNameSpecifierLoc, 4> Qualifiers;
3673 for (NestedNameSpecifierLoc Qualifier = NNS; Qualifier;
3679 NestedNameSpecifierLoc Q = Qualifiers.pop_back_val();
4008 NestedNameSpecifierLoc QualifierLoc = Input.getTemplateQualifierLoc();
6161 NestedNameSpecifierLoc QualifierLoc;
6312 NestedNameSpecifierLoc QualifierLoc
6347 NestedNameSpecifierLoc QualifierLoc;
6363 NestedNameSpecifierLoc QualifierLoc) {
7703 NestedNameSpecifierLoc QualifierLoc;
7770 NestedNameSpecifierLoc QualifierLoc;
9026 NestedNameSpecifierLoc QualifierLoc;
9259 NestedNameSpecifierLoc QualifierLoc;
9682 NestedNameSpecifierLoc QualifierLoc;
10787 NestedNameSpecifierLoc QualifierLoc = E->getQualifierLoc();
10915 NestedNameSpecifierLoc QualifierLoc
11197 NestedNameSpecifierLoc QualifierLoc
11816 NestedNameSpecifierLoc QualifierLoc;
11895 NestedNameSpecifierLoc QualifierLoc;
tools/clang/lib/Serialization/ASTReader.cpp 6928 NestedNameSpecifierLoc ReadNestedNameSpecifierLoc() {
7547 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record,
7554 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record,
9516 NestedNameSpecifierLoc
12687 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc();
12721 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc();
12755 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc();
tools/clang/lib/Serialization/ASTReaderStmt.cpp 575 new (E->getTrailingObjects<NestedNameSpecifierLoc>())
576 NestedNameSpecifierLoc(Record.readNestedNameSpecifierLoc());
817 NestedNameSpecifierLoc QualifierLoc;
tools/clang/lib/Serialization/ASTWriter.cpp 5915 void ASTRecordWriter::AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
5918 SmallVector<NestedNameSpecifierLoc , 8> NestedNames;
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 113 NestedNameSpecifierLoc NestedNameSpecifier =
333 bool VisitNestedNameSpecifierLocations(NestedNameSpecifierLoc NestedLoc) {
360 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) {
360 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) {
464 const Decl *getClosestAncestorDecl(const ASTNodeType &Node) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 44 NestedNameSpecifierLoc NestedNameSpecifier =
559 } else if (const auto *Specifier =
560 Result.Nodes.getNodeAs<NestedNameSpecifierLoc>(
578 NestedNameSpecifierLoc NestedNameSpecifier =
tools/clang/tools/extra/clang-tidy/abseil/NoInternalDependenciesCheck.cpp 37 const auto *InternalDependency =
38 Result.Nodes.getNodeAs<NestedNameSpecifierLoc>("InternalDep");
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 784 if (const auto *Loc =
785 Result.Nodes.getNodeAs<NestedNameSpecifierLoc>("nestedNameLoc")) {
tools/clang/tools/extra/clangd/AST.cpp 106 NestedNameSpecifierLoc getQualifierLoc(const NamedDecl &ND) {
tools/clang/tools/extra/clangd/AST.h 111 NestedNameSpecifierLoc getQualifierLoc(const NamedDecl &ND);
tools/clang/tools/extra/clangd/FindTarget.cpp 351 else if (const NestedNameSpecifierLoc *NNSL = N.get<NestedNameSpecifierLoc>())
351 else if (const NestedNameSpecifierLoc *NNSL = N.get<NestedNameSpecifierLoc>())
642 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc L) {
677 if (auto *NNSL = N.get<NestedNameSpecifierLoc>())
tools/clang/tools/extra/clangd/FindTarget.h 86 NestedNameSpecifierLoc Qualifier;
tools/clang/tools/extra/clangd/Selection.cpp 203 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc X) {
279 bool traverseNode(T *Node, const Func &Body) {
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp 241 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLoc) {
tools/clang/tools/extra/modularize/Modularize.cpp 555 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
746 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
tools/clang/tools/libclang/CIndex.cpp 783 if (NestedNameSpecifierLoc QualifierLoc = DD->getQualifierLoc())
830 if (NestedNameSpecifierLoc QualifierLoc = ND->getQualifierLoc())
1220 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc())
1230 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) {
1243 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc())
1253 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) {
1264 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc())
1365 CursorVisitor::VisitNestedNameSpecifierLoc(NestedNameSpecifierLoc Qualifier) {
1366 SmallVector<NestedNameSpecifierLoc, 4> Qualifiers;
1371 NestedNameSpecifierLoc Q = Qualifiers.pop_back_val();
1800 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc())
1908 NestedNameSpecifierLocVisit(NestedNameSpecifierLoc Qualifier, CXCursor parent)
1917 NestedNameSpecifierLoc get() const {
2083 void AddNestedNameSpecifierLoc(NestedNameSpecifierLoc Qualifier);
2102 EnqueueVisitor::AddNestedNameSpecifierLoc(NestedNameSpecifierLoc Qualifier) {
2481 if (NestedNameSpecifierLoc QualifierLoc = S->getQualifierLoc())
2490 if (NestedNameSpecifierLoc QualifierLoc = E->getQualifierLoc())
2520 if (NestedNameSpecifierLoc QualifierLoc = E->getQualifierLoc())
3092 if (NestedNameSpecifierLoc QualifierLoc = M->getQualifierLoc())
3114 if (NestedNameSpecifierLoc QualifierLoc = DR->getQualifierLoc())
3125 if (NestedNameSpecifierLoc QualifierLoc = O->getQualifierLoc())
tools/clang/tools/libclang/CursorVisitor.h 246 bool VisitNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
tools/clang/unittests/AST/ASTContextParentMapTest.cpp 47 MatchVerifier<NestedNameSpecifierLoc> Verifier;
tools/clang/unittests/AST/ASTTypeTraitsTest.cpp 25 return ASTNodeKind::getFromNodeKind<T>();
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>("");
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h 421 if (Nodes->getNodeAs<T>(Id)) {
tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp 214 Matcher<NestedNameSpecifierLoc> NNSL =
218 .getTypedMatcher<NestedNameSpecifierLoc>();
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp 26 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
tools/clang/unittests/Tooling/RefactoringTest.cpp 750 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLoc) {
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/tuple 56 struct __is_empty_non_tuple : is_empty<_Tp> { };
125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
133 : _M_head_impl(std::forward<_UHead>(__h)) { }
159 static constexpr _Head&
162 static constexpr const _Head&
165 _Head _M_head_impl;
186 : public _Tuple_impl<_Idx + 1, _Tail...>,
187 private _Head_base<_Idx, _Head>
191 typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited;
192 typedef _Head_base<_Idx, _Head> _Base;
194 static constexpr _Head&
197 static constexpr const _Head&
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
227 _Base(std::forward<_Head>(_M_head(__in))) { }
230 constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
235 constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
235 constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
242 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
248 const _Head& __head, const _Tail&... __tail)
248 const _Head& __head, const _Tail&... __tail)
262 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
268 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
313 _M_head(*this) = _Tuple_impl<_Idx, _UElements...>::_M_head(__in);
314 _M_tail(*this) = _Tuple_impl<_Idx, _UElements...>::_M_tail(__in);
344 : private _Head_base<_Idx, _Head>
348 typedef _Head_base<_Idx, _Head> _Base;
350 static constexpr _Head&
353 static constexpr const _Head&
360 constexpr _Tuple_impl(const _Head& __head)
365 constexpr _Tuple_impl(_UHead&& __head)
366 : _Base(std::forward<_UHead>(__head)) { }
373 : _Base(std::forward<_Head>(_M_head(__in))) { }
376 constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
380 constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
390 const _Head& __head)
442 _M_head(*this) = _Tuple_impl<_Idx, _UHead>::_M_head(__in);
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
497 return __and_<__not_<is_same<tuple<_Elements...>,
501 __not_<is_convertible<_SrcTuple, _Elements...>>,
502 __not_<is_constructible<_Elements..., _SrcTuple>>
508 return __not_<is_same<tuple<_Elements...>,
510 typename remove_reference<_UElements...>::type
556 class tuple : public _Tuple_impl<0, _Elements...>
558 typedef _Tuple_impl<0, _Elements...> _Inherited;
598 _Elements...>;
608 constexpr tuple(const _Elements&... __elements)
619 explicit constexpr tuple(const _Elements&... __elements)
628 _Elements...>;
636 _Elements...>;
646 constexpr tuple(_UElements&&... __elements)
647 : _Inherited(std::forward<_UElements>(__elements)...) { }
668 _Elements...>;
730 const _Elements&... __elements)
741 const _Elements&... __elements)
767 tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
771 tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
853 operator=(const tuple<_UElements...>& __in)
863 operator=(tuple<_UElements...>&& __in)
907 class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
907 class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
909 typedef _Tuple_impl<0, _T1, _T2> _Inherited;
909 typedef _Tuple_impl<0, _T1, _T2> _Inherited;
939 _TC<is_same<_Dummy, void>::value, _T1, _T2>;
939 _TC<is_same<_Dummy, void>::value, _T1, _T2>;
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
961 using _TMC = _TC<true, _T1, _T2>;
961 using _TMC = _TC<true, _T1, _T2>;
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
995 constexpr tuple(const tuple<_U1, _U2>& __in)
995 constexpr tuple(const tuple<_U1, _U2>& __in)
1013 constexpr tuple(tuple<_U1, _U2>&& __in)
1013 constexpr tuple(tuple<_U1, _U2>&& __in)
1066 tuple(allocator_arg_t __tag, const _Alloc& __a)
1078 const _T1& __a1, const _T2& __a2)
1078 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1225 operator=(const tuple<_U1, _U2>& __in)
1225 operator=(const tuple<_U1, _U2>& __in)
1233 operator=(tuple<_U1, _U2>&& __in)
1233 operator=(tuple<_U1, _U2>&& __in)
1280 : tuple_element<__i - 1, tuple<_Tail...> > { };
1288 typedef _Head type;
1302 constexpr _Head&
1303 __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1303 __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1304 { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
1304 { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
1307 constexpr const _Head&
1308 __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1308 __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1314 get(tuple<_Elements...>& __t) noexcept
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1320 get(const tuple<_Elements...>& __t) noexcept
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1326 get(tuple<_Elements...>&& __t) noexcept
1447 constexpr tuple<typename __decay_and_strip<_Elements>::__type...>
1448 make_tuple(_Elements&&... __args)
1450 typedef tuple<typename __decay_and_strip<_Elements>::__type...>
1452 return __result_type(std::forward<_Elements>(__args)...);
1468 tuple<_Tp..., __tuple_element_t<_Idx, _Tuple>>,
1468 tuple<_Tp..., __tuple_element_t<_Idx, _Tuple>>,
1468 tuple<_Tp..., __tuple_element_t<_Idx, _Tuple>>,
1475 typedef tuple<_Tp...> __type;
1503 typedef tuple<_Ts...> __type;
1509 typedef typename __combine_tuples<tuple<_T1s..., _T2s...>,
1509 typedef typename __combine_tuples<tuple<_T1s..., _T2s...>,
1550 _S_do(_Tp&& __tp, _Tpls&&... __tps, _Us&&... __us)
1565 _S_do(_Us&&... __us)
1588 constexpr tuple<_Elements&...>
1589 tie(_Elements&... __args) noexcept
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
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
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
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
1955 { typedef _Tp type; };
2104 { typedef typename remove_cv<_Up>::type __type; };
2118 typedef typename remove_reference<_Tp>::type __remove_type;
2131 typedef _Tp __type;
2144 typename decay<_Tp>::type>::__type __type;
2171 { typedef _Iffalse type; };