MCPcopy Create free account
hub / github.com/MaskRay/ccls / valid

Method valid

src/utils.hh:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 T &operator*() { return storage; }
112
113 bool valid() const { return storage.valid(); }
114 explicit operator bool() const { return valid(); }
115 operator std::optional<T>() const {
116 if (valid())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected