reference, declarationdefinition
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
  713         (*WE.changes)[URI::createFile(It.first()).toString()] =
tools/clang/tools/extra/clangd/CodeComplete.cpp
  323           URI::resolve(C.IndexResult->CanonicalDeclaration.FileURI, FileName);
tools/clang/tools/extra/clangd/FileDistance.cpp
  153   if (auto U = clangd::URI::parse(URI)) {
  167       if (auto U = clangd::URI::create(Source.getKey(), Scheme))
tools/clang/tools/extra/clangd/FindSymbols.cpp
   46   auto Path = URI::resolve(CD.FileURI, HintPath);
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   86     if (auto TargetPath = URI::resolve(TargetURI, OriginalFile)) {
tools/clang/tools/extra/clangd/Headers.cpp
   81   auto U = URI::parse(Header);
   85   auto IncludePath = URI::includeSpelling(*U);
   91   auto Resolved = URI::resolve(*U, HintPath);
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  148         URI::resolve(Sym.CanonicalDeclaration.FileURI, File);
tools/clang/tools/extra/clangd/Protocol.cpp
   35   auto Resolved = URI::resolvePath(AbsPath, TUPath);
   45 llvm::Expected<URIForFile> URIForFile::fromURI(const URI &U,
   47   auto Resolved = URI::resolve(U, HintPath);
   55     auto Parsed = URI::parse(*S);
tools/clang/tools/extra/clangd/Protocol.h
   89   static llvm::Expected<URIForFile> fromURI(const URI &U,
   96   std::string uri() const { return URI::createFile(File).toString(); }
tools/clang/tools/extra/clangd/URI.cpp
   50   llvm::Expected<URI>
  164 llvm::Expected<URI> URI::parse(llvm::StringRef OrigUri) {
  165   URI U;
  188   auto Uri = URI::parse(FileURI);
  191   auto Path = URI::resolve(*Uri, HintPath);
  197 llvm::Expected<URI> URI::create(llvm::StringRef AbsolutePath,
  207 URI URI::create(llvm::StringRef AbsolutePath) {
  223   return URI::createFile(AbsolutePath);
  226 URI URI::createFile(llvm::StringRef AbsolutePath) {
  233 llvm::Expected<std::string> URI::resolve(const URI &Uri,
  261 llvm::Expected<std::string> URI::includeSpelling(const URI &Uri) {
tools/clang/tools/extra/clangd/URI.h
   44   static llvm::Expected<URI> create(llvm::StringRef AbsolutePath,
   49   static URI create(llvm::StringRef AbsolutePath);
   52   static URI createFile(llvm::StringRef AbsolutePath);
   56   static llvm::Expected<URI> parse(llvm::StringRef Uri);
   63   static llvm::Expected<std::string> resolve(const URI &U,
   85   static llvm::Expected<std::string> includeSpelling(const URI &U);
   87   friend bool operator==(const URI &LHS, const URI &RHS) {
   87   friend bool operator==(const URI &LHS, const URI &RHS) {
   92   friend bool operator<(const URI &LHS, const URI &RHS) {
   92   friend bool operator<(const URI &LHS, const URI &RHS) {
  119   virtual llvm::Expected<URI>
  124   virtual llvm::Expected<std::string> getIncludeSpelling(const URI &U) const {
tools/clang/tools/extra/clangd/XRefs.cpp
   90   auto Uri = URI::parse(Loc.FileURI);
tools/clang/tools/extra/clangd/index/Background.cpp
   72       auto Path = URI::resolve(FileURI, HintPath);
   90 IncludeGraph getSubGraph(const URI &U, const IncludeGraph &FullGraph) {
  301         getSubGraph(URI::create(Path), Index.Sources.getValue()));
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   72     auto AbsPath = URI::resolve(It.getKey(), StartSourceFile);
tools/clang/tools/extra/clangd/index/IndexAction.cpp
   38   return URI::create(AbsolutePath).toString();
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
   69   return URI::create(AbsolutePath).toString();
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  118     auto PathURI = URI::create(Path);
  118     auto PathURI = URI::create(Path);
  302   auto ParsedURI = URI::parse(URIPath);
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  244       auto U = URI::parse(R.Location.FileURI);
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   28   auto Uri = URI::parse(Loc.FileURI);
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  400   llvm::Expected<URI>
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  673   auto BarURI = URI::create(BarHeader).toString();
  715   auto BarURI = URI::create(BarHeader).toString();
 1431   std::string DeclFile = URI::create(testPath("foo")).toString();
 2175   std::string DeclFile = URI::create(testPath("foo")).toString();
 2197   std::string DeclFile = URI::create(testPath("foo")).toString();
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   27 std::string toUri(llvm::StringRef Path) { return URI::create(Path).toString(); }
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
  251     TestHeaderURI = URI::create(TestHeaderName).toString();
  252     TestFileURI = URI::create(TestFileName).toString();
  736   TestHeaderURI = URI::create(testPath(TestHeaderName)).toString();
 1037   auto IncURI = URI::create(IncFile).toString();
 1054   TestFileURI = URI::create(TestFileName).toString();
 1056   auto IncURI = URI::create(IncFile).toString();
 1074   TestFileURI = URI::create(TestFileName).toString();
 1076   auto IncURI = URI::create(IncFile).toString();
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
  115   llvm::Expected<URI>
tools/clang/tools/extra/clangd/unittests/URITests.cpp
   32   auto Uri = URI::create(AbsolutePath, Scheme);
   38 URI parseOrDie(llvm::StringRef Uri) {
   39   auto U = URI::parse(Uri);
   63 std::string resolveOrDie(const URI &U, llvm::StringRef HintPath = "") {
   64   auto Path = URI::resolve(U, HintPath);
  141   auto Path = URI::resolvePath(AbsPath, HintPath);
  157   auto Resolve = URI::resolvePath(testPath("x"), FilePath);
  164   auto U = URI::create(Path, "file");
  171     auto Path = URI::resolve(parseOrDie(Uri));
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; };
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 1844   AssertionResult operator()(const char* value_text, const T& x) const {
 1856     const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
 1856     const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
utils/unittest/googletest/include/gtest/gtest-printers.h
  140   static void PrintValue(const T& value, ::std::ostream* os) {
  205     ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
  206   TypeWithoutFormatter<T,
  207       (internal::IsAProtocolMessage<T>::value ? kProtobuf :
  208        internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
  223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
  366 void UniversalPrint(const T& value, ::std::ostream* os);
  373                     const C& container, ::std::ostream* os) {
  439                     const T& value, ::std::ostream* os) {
  455 void PrintTo(const T& value, ::std::ostream* os) {
  478   DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
  699   static void Print(const T& value, ::std::ostream* os) {
  784   static void Print(const T& value, ::std::ostream* os) {
  856   typedef T T1;
  981 ::std::string PrintToString(const T& value) {
  983   internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
   29   static const T& printable(const T& V) { return V; }
   29   static const T& printable(const T& V) { return V; }
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   37   return StreamSwitch<T>::printable(V);