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

References

tools/clang/tools/extra/clangd/Cancellation.cpp
   16 static Key<std::shared_ptr<std::atomic<bool>>> FlagKey;
tools/clang/tools/extra/clangd/Context.h
   47   Key(Key const &) = delete;
   48   Key &operator=(Key const &) = delete;
   48   Key &operator=(Key const &) = delete;
   49   Key(Key &&) = delete;
   50   Key &operator=(Key &&) = delete;
   50   Key &operator=(Key &&) = delete;
  100   template <class Type> const Type *get(const Key<Type> &Key) const {
  111   template <class Type> const Type &getExisting(const Key<Type> &Key) const {
  121   Context derive(const Key<Type> &Key,
  131   derive(const Key<Type> &Key,
  142     static Key<typename std::decay<Type>::type> Private;
  147     static Key<typename std::decay<Type>::type> Private;
  207   WithContextValue(const Key<T> &K, typename std::decay<T>::type V)
tools/clang/tools/extra/clangd/SourceCode.cpp
  123 Key<OffsetEncoding> kCurrentOffsetEncoding;
tools/clang/tools/extra/clangd/SourceCode.h
   45 extern Key<OffsetEncoding> kCurrentOffsetEncoding;
tools/clang/tools/extra/clangd/TUScheduler.cpp
   75 static clang::clangd::Key<std::string> kFileBeingProcessed;
tools/clang/tools/extra/clangd/Trace.cpp
  145   static Key<std::unique_ptr<JSONSpan>> SpanKey;
  188 Key<std::unique_ptr<JSONTracer::JSONSpan>> JSONTracer::SpanKey;
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  269   static Key<int> Secret;
tools/clang/tools/extra/clangd/unittests/ContextTests.cpp
   17   Key<int> IntParam;
   18   Key<int> ExtraIntParam;
   27   Key<std::unique_ptr<int>> Param;
   37   Key<int> ParentParam;
   38   Key<int> ParentAndChildParam;
   39   Key<int> ChildParam;
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
   63   static Key<llvm::unique_function<void(PathRef File, std::vector<Diag>)>>
  124 Key<llvm::unique_function<void(PathRef File, std::vector<Diag>)>>
  396     static Key<int> NonceKey;
  693   Key<int> TestKey;