MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / get

Function get

lib/valueptr.h:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 ValuePtr(ValuePtr&& rhs) noexcept : mPtr(std::move(rhs.mPtr)), mClone(std::move(rhs.mClone)) {}
57
58 T* get() noexcept {
59 return mPtr.get();
60 }
61 const T* get() const noexcept {
62 return mPtr.get();
63 }

Callers 12

checks.cppFile · 0.70
valueptr.hFile · 0.70
operator->Function · 0.70
checkNormalTokensMethod · 0.70
getErrorMessagesMethod · 0.70
analyseWholeProgramMethod · 0.70
parseFromArgsMethod · 0.50
classInfoFormatMethod · 0.50
checkCodeInternal_Method · 0.50
readCharMethod · 0.50
peekCharMethod · 0.50
getAndSkipBOMMethod · 0.50

Calls 1

getMethod · 0.45

Tested by 2

classInfoFormatMethod · 0.40
checkCodeInternal_Method · 0.40