|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
gen/tools/clang/include/clang/AST/StmtNodes.inc 1213 UNRESOLVEDLOOKUPEXPR(UnresolvedLookupExpr, OverloadExpr)
tools/clang/include/clang/Sema/Sema.h 191 class UnresolvedLookupExpr;
References
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 58 return To::classof(&Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
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) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/TrailingObjects.h 134 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
137 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
141 static const bool value = alignof(PrevTy) < alignof(NextTy);
162 getTrailingObjectsImpl(const BaseTy *Obj,
177 getTrailingObjectsImpl(BaseTy *Obj,
179 auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
232 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
232 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
233 BaseTy, TrailingTys...> {
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
257 static const BaseTy *
258 getTrailingObjectsImpl(const BaseTy *Obj,
259 TrailingObjectsBase::OverloadToken<BaseTy>) {
263 static BaseTy *
264 getTrailingObjectsImpl(BaseTy *Obj,
265 TrailingObjectsBase::OverloadToken<BaseTy>) {
277 callNumTrailingObjects(const BaseTy *Obj,
278 TrailingObjectsBase::OverloadToken<BaseTy>) {
283 static size_t callNumTrailingObjects(const BaseTy *Obj,
284 TrailingObjectsBase::OverloadToken<T>) {
345 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...);
tools/clang/include/clang/AST/ASTTypeTraits.h 65 return ASTNodeKind(KindToKindId<T>::Id);
251 const T *get() const {
252 return BaseConverter<T>::get(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 *>(
474 : public DynCastPtrConverter<T, Stmt> {};
tools/clang/include/clang/AST/ExprCXX.h 3039 private llvm::TrailingObjects<UnresolvedLookupExpr, DeclAccessPair,
3085 static UnresolvedLookupExpr *
3091 static UnresolvedLookupExpr *
3098 static UnresolvedLookupExpr *CreateEmpty(const ASTContext &Context,
3926 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3926 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3935 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3935 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3942 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3942 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3949 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
3949 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(this))
4749 UnresolvedLookupExpr *OpCoawait)
4768 UnresolvedLookupExpr *getOperatorCoawaitLookup() const {
4769 return cast<UnresolvedLookupExpr>(SubExprs[1]);
tools/clang/include/clang/AST/JSONNodeDumper.h 272 void VisitUnresolvedLookupExpr(const UnresolvedLookupExpr *ULE);
tools/clang/include/clang/AST/TextNodeDumper.h 262 void VisitUnresolvedLookupExpr(const UnresolvedLookupExpr *Node);
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 110 const T *getNodeAs(StringRef ID) const {
111 return MyBoundNodes.getNodeAs<T>(ID);
1593 extern const internal::VariadicDynCastAllOfMatcher<Stmt, UnresolvedLookupExpr>
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 160 const T *getNodeAs(StringRef ID) const {
165 return It->second.get<T>();
436 return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
445 template <typename T> Matcher<T> convertTo() const {
447 return unconditionalConvertTo<T>();
499 explicit Matcher(MatcherInterface<T> *Implementation)
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>());
1243 operator Matcher<T>() const {
1245 ast_type_traits::ASTNodeKind::getFromNodeKind<T>())
1246 .template unconditionalConvertTo<T>();
1255 class BindableMatcher : public Matcher<T> {
1257 explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {}
1258 explicit BindableMatcher(MatcherInterface<T> *Implementation)
1265 Matcher<T> bind(StringRef ID) const {
1370 inline Matcher<T> DynTypedMatcher::unconditionalConvertTo() const {
1376 BindableMatcher<T> makeAllOfComposite(
1377 ArrayRef<const Matcher<T> *> InnerMatchers) {
1388 using PI = llvm::pointee_iterator<const Matcher<T> *const *>;
1395 ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
1397 .template unconditionalConvertTo<T>());
1408 ArrayRef<const Matcher<InnerT> *> InnerMatchers) {
1557 : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>,
1558 makeDynCastAllOfComposite<SourceT, TargetT>> {
tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h 199 ast_matchers::internal::Matcher<T> getTypedMatcher() const {
202 ->template convertTo<T>();
227 : MatcherOps(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()) {}
228 typedef ast_matchers::internal::Matcher<T> MatcherT;
232 return DynTypedMatcher(Matcher.convertTo<T>());
tools/clang/include/clang/Sema/Sema.h 3269 void AddOverloadedCallCandidates(UnresolvedLookupExpr *ULE,
3290 UnresolvedLookupExpr *ULE,
3298 bool buildOverloadedCallSet(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE,
6527 AccessResult CheckUnresolvedLookupAccess(UnresolvedLookupExpr *E,
9163 UnresolvedLookupExpr* Lookup);
tools/clang/lib/AST/ASTImporter.cpp 594 ExpectedStmt VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E);
7376 ASTNodeImporter::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
7412 return UnresolvedLookupExpr::Create(
7418 return UnresolvedLookupExpr::Create(
tools/clang/lib/AST/ExprCXX.cpp 403 UnresolvedLookupExpr *UnresolvedLookupExpr::Create(
411 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr));
412 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc,
417 UnresolvedLookupExpr *UnresolvedLookupExpr::Create(
429 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr));
430 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc,
435 UnresolvedLookupExpr *UnresolvedLookupExpr::CreateEmpty(
442 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr));
444 UnresolvedLookupExpr(EmptyShell(), NumResults, HasTemplateKWAndArgsInfo);
tools/clang/lib/AST/ItaniumMangle.cpp 3391 isa<UnresolvedLookupExpr>(E) ||
3520 const UnresolvedLookupExpr *lookup = dyn_cast<UnresolvedLookupExpr>(fn);
3520 const UnresolvedLookupExpr *lookup = dyn_cast<UnresolvedLookupExpr>(fn);
3885 const UnresolvedLookupExpr *ULE = cast<UnresolvedLookupExpr>(E);
3885 const UnresolvedLookupExpr *ULE = cast<UnresolvedLookupExpr>(E);
tools/clang/lib/AST/JSONNodeDumper.cpp 1248 const UnresolvedLookupExpr *ULE) {
tools/clang/lib/AST/StmtPrinter.cpp 974 void StmtPrinter::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *Node) {
tools/clang/lib/AST/StmtProfile.cpp 1778 StmtProfiler::VisitUnresolvedLookupExpr(const UnresolvedLookupExpr *S) {
tools/clang/lib/AST/TextNodeDumper.cpp 732 const UnresolvedLookupExpr *Node) {
738 UnresolvedLookupExpr::decls_iterator I = Node->decls_begin(),
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 664 const internal::VariadicDynCastAllOfMatcher<Stmt, UnresolvedLookupExpr>
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/Sema/Sema.cpp 2099 if (const auto *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
2099 if (const auto *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
tools/clang/lib/Sema/SemaAccess.cpp 1530 Sema::AccessResult Sema::CheckUnresolvedLookupAccess(UnresolvedLookupExpr *E,
tools/clang/lib/Sema/SemaCodeComplete.cpp 5124 if (auto ULE = dyn_cast<UnresolvedLookupExpr>(NakedFn))
tools/clang/lib/Sema/SemaCoroutine.cpp 265 Expr *CoawaitOp = UnresolvedLookupExpr::Create(
277 UnresolvedLookupExpr *Lookup) {
289 cast<UnresolvedLookupExpr>(R.get()));
709 cast<UnresolvedLookupExpr>(Lookup.get()));
713 UnresolvedLookupExpr *Lookup) {
tools/clang/lib/Sema/SemaDecl.cpp10978 if (isa<UnresolvedLookupExpr>(Callee))
tools/clang/lib/Sema/SemaDeclAttr.cpp 3043 } else if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
3043 } else if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 1191 Expr *Get = UnresolvedLookupExpr::Create(
3742 if (isa<UnresolvedLookupExpr>(Callee))
tools/clang/lib/Sema/SemaExpr.cpp 2930 UnresolvedLookupExpr *ULE
2931 = UnresolvedLookupExpr::Create(Context, R.getNamingClass(),
5593 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(Fn)) {
5593 if (auto *ULE = dyn_cast<UnresolvedLookupExpr>(Fn)) {
5685 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(ovl))
5685 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(ovl))
13691 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
13691 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
tools/clang/lib/Sema/SemaOpenMP.cpp12823 } else if (auto *ULE =
12824 cast_or_null<UnresolvedLookupExpr>(UnresolvedReduction)) {
12852 return UnresolvedLookupExpr::Create(
13176 isa<UnresolvedLookupExpr>(DeclareReductionRef.get())))
13290 isa<UnresolvedLookupExpr>(DeclareReductionRef.get()))) {
15143 } else if (auto *ULE = cast_or_null<UnresolvedLookupExpr>(UnresolvedMapper)) {
15143 } else if (auto *ULE = cast_or_null<UnresolvedLookupExpr>(UnresolvedMapper)) {
15169 return UnresolvedLookupExpr::Create(
tools/clang/lib/Sema/SemaOverload.cpp12017 void Sema::AddOverloadedCallCandidates(UnresolvedLookupExpr *ULE,
12041 for (UnresolvedLookupExpr::decls_iterator I = ULE->decls_begin(),
12059 for (UnresolvedLookupExpr::decls_iterator I = ULE->decls_begin(),
12227 UnresolvedLookupExpr *ULE,
12308 UnresolvedLookupExpr *ULE,
12375 UnresolvedLookupExpr *ULE,
12482 UnresolvedLookupExpr *ULE,
12565 UnresolvedLookupExpr *Fn = UnresolvedLookupExpr::Create(
12565 UnresolvedLookupExpr *Fn = UnresolvedLookupExpr::Create(
12757 UnresolvedLookupExpr *Fn = UnresolvedLookupExpr::Create(
12757 UnresolvedLookupExpr *Fn = UnresolvedLookupExpr::Create(
13143 UnresolvedLookupExpr *Fn
13144 = UnresolvedLookupExpr::Create(Context, NamingClass,
14096 UnresolvedLookupExpr *Fn =
14097 UnresolvedLookupExpr::Create(Context, /*NamingClass=*/nullptr,
14241 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
14241 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(E)) {
tools/clang/lib/Sema/SemaTemplate.cpp 4316 UnresolvedLookupExpr *ULE
4317 = UnresolvedLookupExpr::Create(Context, R.getNamingClass(),
tools/clang/lib/Sema/TreeTransform.h 7346 cast<UnresolvedLookupExpr>(LookupResult.get()));
8792 auto *ULE = cast<UnresolvedLookupExpr>(E);
8792 auto *ULE = cast<UnresolvedLookupExpr>(E);
8800 UnresolvedLookupExpr::Create(
8839 auto *ULE = cast<UnresolvedLookupExpr>(E);
8839 auto *ULE = cast<UnresolvedLookupExpr>(E);
8846 UnresolvedReductions.push_back(UnresolvedLookupExpr::Create(
8884 auto *ULE = cast<UnresolvedLookupExpr>(E);
8884 auto *ULE = cast<UnresolvedLookupExpr>(E);
8891 UnresolvedReductions.push_back(UnresolvedLookupExpr::Create(
9045 auto *ULE = cast<UnresolvedLookupExpr>(E);
9045 auto *ULE = cast<UnresolvedLookupExpr>(E);
9052 UnresolvedMappers.push_back(UnresolvedLookupExpr::Create(
13255 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(Callee)) {
13255 if (UnresolvedLookupExpr *ULE = dyn_cast<UnresolvedLookupExpr>(Callee)) {
tools/clang/lib/Serialization/ASTReaderStmt.cpp 1796 void ASTStmtReader::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
3427 S = UnresolvedLookupExpr::CreateEmpty(
tools/clang/lib/Serialization/ASTWriterStmt.cpp 1736 void ASTStmtWriter::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp 21 static void replaceMoveWithForward(const UnresolvedLookupExpr *Callee,
98 const auto *UnresolvedLookup =
99 Result.Nodes.getNodeAs<UnresolvedLookupExpr>("lookup");
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp 148 if (const auto *ULE = Result.Nodes.getNodeAs<UnresolvedLookupExpr>("used")) {
148 if (const auto *ULE = Result.Nodes.getNodeAs<UnresolvedLookupExpr>("used")) {
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
1447 : public __and_<is_destructible<_Tp>, integral_constant<bool,
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1580 { typedef _Tp const type; };
1629 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };
1999 { typedef typename remove_reference<_Tp>::type* type; };
2003 : public __add_pointer_helper<_Tp>