MCPcopy Create free account
hub / github.com/KDAB/codebrowser / maybe_unique

Function maybe_unique

generator/compat.h:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 template <typename X> operator std::unique_ptr<X> () && { return std::unique_ptr<X>(val); }
31};
32template<typename T> MaybeUnique<T> maybe_unique(T* val) { return {val}; }
33
34#ifndef LLVM_FALLTHROUGH
35#define LLVM_FALLTHROUGH

Callers 2

InitializeMethod · 0.85
CreateASTConsumerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected