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

References

include/llvm/ADT/STLExtras.h
  154 auto adl_begin(ContainerTy &&container)
  162 auto adl_end(ContainerTy &&container)
  178 auto adl_begin(ContainerTy &&container)
  184 auto adl_end(ContainerTy &&container)
 1165 bool all_of(R &&Range, UnaryPredicate P) {
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 *;
  179 class SmallVectorTemplateBase : public SmallVectorTemplateCommon<T> {
  183   static void destroy_range(T *S, T *E) {
  183   static void destroy_range(T *S, T *E) {
  211   void push_back(const T &Elt) {
  214     ::new ((void*) this->end()) T(Elt);
  218   void push_back(T &&Elt) {
  221     ::new ((void*) this->end()) T(::std::move(Elt));
  240   T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*sizeof(T)));
  240   T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*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
   30   T t;
   39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
   50       llvm::detail::SizerImpl<T, Ts...>)];
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/Sema/ExternalSemaSource.h
  202   virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h
  335   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
tools/clang/include/clang/Sema/Sema.h
 3479   typedef std::function<void(const TypoCorrection &)> TypoDiagnosticGenerator;
 3480   typedef std::function<ExprResult(Sema &, TypoExpr *, TypoCorrection)>
 3615   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
 3673   void diagnoseTypo(const TypoCorrection &Correction,
 3677   void diagnoseTypo(const TypoCorrection &Correction,
 3948   TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
tools/clang/include/clang/Sema/SemaInternal.h
   86   typedef SmallVector<TypoCorrection, 1> TypoResultList;
  117   void addCorrection(TypoCorrection Correction);
  136     return Normalized ? TypoCorrection::NormalizeEditDistance(BestED) : BestED;
  151   const TypoCorrection &getNextCorrection();
  154   const TypoCorrection &getCurrentCorrection() {
  164   const TypoCorrection &peekNextCorrection() {
  166     const TypoCorrection &TC = getNextCorrection();
  282   bool resolveCorrection(TypoCorrection &Candidate);
  300   SmallVector<TypoCorrection, 4> ValidatedCorrections;
  311   SmallVector<TypoCorrection, 2> QualifiedResults;
tools/clang/include/clang/Sema/TypoCorrection.h
  283   static const unsigned InvalidDistance = TypoCorrection::InvalidDistance;
  301   virtual bool ValidateCandidate(const TypoCorrection &candidate);
  309   virtual unsigned RankCandidate(const TypoCorrection &candidate) {
  340   bool MatchesTypo(const TypoCorrection &candidate) {
  368   bool ValidateCandidate(const TypoCorrection &candidate) override {
  385   bool ValidateCandidate(const TypoCorrection &candidate) override;
  408   bool ValidateCandidate(const TypoCorrection &candidate) override {
tools/clang/lib/Parse/ParseExpr.cpp
  551   bool ValidateCandidate(const TypoCorrection &candidate) override {
tools/clang/lib/Parse/ParseStmt.cpp
  131   bool ValidateCandidate(const TypoCorrection &candidate) override {
tools/clang/lib/Parse/ParseTentative.cpp
 1184   bool ValidateCandidate(const TypoCorrection &Candidate) override {
tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp
  314 TypoCorrection MultiplexExternalSemaSource::CorrectTypo(
  322     if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC,
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  438   bool ValidateCandidate(const TypoCorrection &candidate) override {
  623     if (TypoCorrection Corrected = CorrectTypo(
tools/clang/lib/Sema/SemaDecl.cpp
   77   bool ValidateCandidate(const TypoCorrection &candidate) override {
  377       TypoCorrection Correction = CorrectTypo(Result.getLookupNameInfo(), Kind,
  674   if (TypoCorrection Corrected =
  946       if (TypoCorrection Corrected =
 1946     if (TypoCorrection C =
 7914   bool ValidateCandidate(const TypoCorrection &candidate) override {
 7919     for (TypoCorrection::const_decl_iterator CDecl = candidate.begin(),
 7971   TypoCorrection Correction;
 8015     for (TypoCorrection::decl_iterator CDecl = Correction.begin(),
14155     TypoCorrection Corrected;
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4009   bool ValidateCandidate(const TypoCorrection &candidate) override {
 4152       TypoCorrection Corr;
 9789   bool ValidateCandidate(const TypoCorrection &candidate) override {
 9808   if (TypoCorrection Corrected =
10313   bool ValidateCandidate(const TypoCorrection &Candidate) override {
10537     if (TypoCorrection Corrected =
tools/clang/lib/Sema/SemaDeclObjC.cpp
  509   bool ValidateCandidate(const TypoCorrection &candidate) override {
  558     if (TypoCorrection Corrected = CorrectTypo(
 1300       TypoCorrection Corrected = CorrectTypo(
 1349   bool ValidateCandidate(const TypoCorrection &candidate) override {
 1682     TypoCorrection corrected =
 1982     TypoCorrection Corrected =
tools/clang/lib/Sema/SemaExpr.cpp
 1885     const TypoCorrection &TC, Sema &SemaRef, const CXXScopeSpec &SS,
 1997   TypoCorrection Corrected;
 2305         auto BestTC = State.Consumer->getNextCorrection();
 4963   bool ValidateCandidate(const TypoCorrection &candidate) override {
 4981 static TypoCorrection TryTypoCorrectionForCall(Sema &S, Expr *Fn,
 4989   if (TypoCorrection Corrected = S.CorrectTypo(
 5052       TypoCorrection TC;
 5090       TypoCorrection TC;
tools/clang/lib/Sema/SemaExprCXX.cpp
 7635         TypoCorrection TC = IsAmbiguous
 7795         TypoCorrection TC = SemaRef.getTypoExprState(TE).Consumer->peekNextCorrection();
 7796         TypoCorrection Next;
 7895     while (TypoCorrection TC = State.Consumer->getNextCorrection()) {
 7907         TypoCorrection Next;
tools/clang/lib/Sema/SemaExprMember.cpp
  606   bool ValidateCandidate(const TypoCorrection &candidate) override {
 1354       if (TypoCorrection Corrected = S.CorrectTypo(
tools/clang/lib/Sema/SemaExprObjC.cpp
 1945   if (TypoCorrection Corrected = CorrectTypo(
 2112   bool ValidateCandidate(const TypoCorrection &candidate) override {
 2196   if (TypoCorrection Corrected = CorrectTypo(
tools/clang/lib/Sema/SemaInit.cpp
 2304   bool ValidateCandidate(const TypoCorrection &candidate) override {
 2532         if (TypoCorrection Corrected = SemaRef.CorrectTypo(
tools/clang/lib/Sema/SemaLookup.cpp
 4092                               TypoCorrection &Candidate) {
 4094   return Candidate.getEditDistance(false) != TypoCorrection::InvalidDistance;
 4109 static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC) {
 4110   TypoCorrection::decl_iterator DI = TC.begin(), DE = TC.end();
 4234   TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, ED);
 4242 void TypoCorrectionConsumer::addCorrection(TypoCorrection Correction) {
 4317 const TypoCorrection &TypoCorrectionConsumer::getNextCorrection() {
 4336     TypoCorrection TC = RI->second.pop_back_val();
 4345 bool TypoCorrectionConsumer::resolveCorrection(TypoCorrection &Candidate) {
 4397   for (const TypoCorrection &QR : QualifiedResults) {
 4412       TypoCorrection TC(QR);
 4972 TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
 4984     if (TypoCorrection Correction =
 5015   TypoCorrection BestTC = Consumer->getNextCorrection();
 5016   TypoCorrection SecondBestTC = Consumer->getNextCorrection();
 5032     const TypoCorrection &Result = BestTC;
 5039     TypoCorrection TC = Result;
 5118   TypoCorrection ExternalTypo;
 5166     const TypoCorrection &candidate) {
 5209 bool FunctionCallFilterCCC::ValidateCandidate(const TypoCorrection &candidate) {
 5269 void Sema::diagnoseTypo(const TypoCorrection &Correction,
 5443 void Sema::diagnoseTypo(const TypoCorrection &Correction,
tools/clang/lib/Sema/SemaOpenMP.cpp
 2216   bool ValidateCandidate(const TypoCorrection &Candidate) override {
 2238   bool ValidateCandidate(const TypoCorrection &Candidate) override {
 2268     if (TypoCorrection Corrected =
16187     if (TypoCorrection Corrected =
tools/clang/lib/Sema/SemaTemplate.cpp
  465     if (TypoCorrection Corrected =
  622     bool ValidateCandidate(const TypoCorrection &Candidate) override {
  635   if (TypoCorrection Corrected = CorrectTypo(NameInfo, LookupKind, S, &SS, CCC,
 3419     bool ValidateCandidate(const TypoCorrection &TC) override {
 3428   TypoCorrection Corrected =
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  948   bool ValidateCandidate(const TypoCorrection &candidate) override {
  993     if (TypoCorrection Corrected =
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  120 static bool addDiagnosticsForContext(TypoCorrection &Correction,
  165     TypoCorrection Correction;
  184 clang::TypoCorrection IncludeFixerSemaSource::CorrectTypo(
  285     TypoCorrection Correction(Typo.getName());
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.h
  104   clang::TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  331   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind,
tools/clang/unittests/Frontend/FrontendActionTest.cpp
  203   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind,
  210     TypoCorrection TC(DeclarationName(&Ctx.Idents.get("moo")));
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  107   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind,
  126       TypoCorrection Correction(ToIdent);
  149   TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind,
  168       TypoCorrection Correction(ToIdent);
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
  553   clang::TypoCorrection
  560       if (clang::TypoCorrection C =
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   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/bits/range_access.h
   58     begin(const _Container& __cont) -> decltype(__cont.begin())
   78     end(const _Container& __cont) -> decltype(__cont.end())
usr/include/c++/7.4.0/bits/std_function.h
  302 	    std::forward<_ArgTypes>(__args)...);
  314       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
  706       return _M_invoker(_M_functor, std::forward<_ArgTypes>(__args)...);
usr/include/c++/7.4.0/bits/stl_construct.h
   74     _Construct(_T1* __p, _Args&&... __args)
   74     _Construct(_T1* __p, _Args&&... __args)
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   97     _Destroy(_Tp* __pointer)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  181       typedef _Tp                         value_type;
  183       typedef _Tp*                        pointer;
  184       typedef _Tp&                        reference;
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
  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>
 1554     { 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; };
 2253     inline typename add_rvalue_reference<_Tp>::type
 2428       std::declval<_Fn>()(std::declval<_Args>()...)
 2439       typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type;
 2452 	_Functor, _ArgTypes...
 2458     : public __invoke_result<_Functor, _ArgTypes...>