|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
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/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) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 109 llvm::Error validateEdits(const DraftStore &DraftMgr, const Tweak::Effect &E) {
tools/clang/tools/extra/clangd/ClangdServer.cpp 393 Callback<Tweak::Effect> CB) {
tools/clang/tools/extra/clangd/ClangdServer.h 267 Callback<Tweak::Effect> CB);
tools/clang/tools/extra/clangd/refactor/Tweak.cpp 104 llvm::Expected<Tweak::Effect>
110 Tweak::Effect E;
tools/clang/tools/extra/clangd/refactor/Tweak.h 84 static Effect showMessage(StringRef S) {
85 Effect E;
99 static llvm::Expected<Tweak::Effect>
117 virtual Expected<Effect> apply(const Selection &Sel) = 0;
tools/clang/tools/extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp 28 Expected<Effect> apply(const Selection &Inputs) override;
36 Expected<Tweak::Effect> AnnotateHighlightings::apply(const Selection &Inputs) {
74 return Effect::mainFileEdit(SM, std::move(Result));
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp 324 Expected<Effect> apply(const Selection &Sel) override {
357 auto FE = Effect::fileEdit(SM, SM.getFileID(*Semicolon),
367 auto FE = Effect::fileEdit(SM, SM.getFileID(Sel.Cursor),
378 Effect E;
tools/clang/tools/extra/clangd/refactor/tweaks/DumpAST.cpp 42 Expected<Effect> apply(const Selection &Inputs) override;
60 llvm::Expected<Tweak::Effect> DumpAST::apply(const Selection &Inputs) {
64 return Effect::showMessage(std::move(OS.str()));
88 Expected<Effect> apply(const Selection &Inputs) override {
89 return Effect::showMessage(llvm::to_string(Inputs.ASTSelection));
117 Expected<Effect> apply(const Selection &Inputs) override {
121 return Effect::showMessage(std::move(OS.str()));
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp 42 Expected<Effect> apply(const Selection &Inputs) override;
73 Expected<Tweak::Effect> ExpandAutoType::apply(const Selection& Inputs) {
106 return Effect::mainFileEdit(SrcMgr, tooling::Replacements(Expansion));
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandMacro.cpp 37 Expected<Tweak::Effect> apply(const Selection &Inputs) override;
106 Expected<Tweak::Effect> ExpandMacro::apply(const Selection &Inputs) {
125 return Effect::mainFileEdit(SM, std::move(Reps));
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp 622 Expected<Effect> apply(const Selection &Inputs) override;
656 Expected<Tweak::Effect> ExtractFunction::apply(const Selection &Inputs) {
668 return Effect::mainFileEdit(SM, std::move(Result));
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp 437 Expected<Effect> apply(const Selection &Inputs) override;
460 Expected<Tweak::Effect> ExtractVariable::apply(const Selection &Inputs) {
471 return Effect::mainFileEdit(Inputs.AST.getSourceManager(), std::move(Result));
tools/clang/tools/extra/clangd/refactor/tweaks/RawStringLiteral.cpp 42 Expected<Effect> apply(const Selection &Inputs) override;
90 Expected<Tweak::Effect> RawStringLiteral::apply(const Selection &Inputs) {
96 return Effect::mainFileEdit(SM, std::move(Reps));
tools/clang/tools/extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp 39 Expected<Effect> apply(const Selection &Inputs) override;
128 Expected<Tweak::Effect> RemoveUsingNamespace::apply(const Selection &Inputs) {
198 return Effect::mainFileEdit(SM, std::move(R));
tools/clang/tools/extra/clangd/refactor/tweaks/SwapIfBranches.cpp 40 Expected<Effect> apply(const Selection &Inputs) override;
64 Expected<Tweak::Effect> SwapIfBranches::apply(const Selection &Inputs) {
93 return Effect::mainFileEdit(SrcMgr, std::move(Result));
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp 106 llvm::Expected<Tweak::Effect> Result = (*T)->apply(S);
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp 70 auto Res = Tweak::Effect::fileEdit(SM, FID, tooling::Replacements());
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/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
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
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; };
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>
2171 { typedef _Iffalse type; };