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

Function unquote

lib/clangimport.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118static const std::string WhileStmt = "WhileStmt";
119
120static std::string unquote(const std::string &s)
121{
122 return (s[0] == '\'') ? s.substr(1, s.size() - 2) : s;
123}
124
125
126static std::vector<std::string> splitString(const std::string &line)

Callers 8

getSpellingMethod · 0.70
getTypeMethod · 0.70
getTemplateParametersMethod · 0.70
addTypeTokensMethod · 0.70
createTokensMethod · 0.70
createTokensVarDeclMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected