MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / GetStorageClassAsStringWithSpace

Function GetStorageClassAsStringWithSpace

CodeGenerator.cpp:847–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845//-----------------------------------------------------------------------------
846
847static std::string GetStorageClassAsStringWithSpace(const StorageClass& sc)
848{
849 std::string ret{GetStorageClassAsString(sc)};
850
851 if(not ret.empty()) {
852 ret.append(" "sv);
853 }
854
855 return ret;
856}
857//-----------------------------------------------------------------------------
858
859static std::string GetQualifiers(const VarDecl& vd)

Callers 2

GetQualifiersFunction · 0.85

Calls 2

GetStorageClassAsStringFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected