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

Method simplifyOperatorName29

test/testtokenize.cpp:5884–5887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5882 }
5883
5884 void simplifyOperatorName29() {
5885 const Settings settings = settingsBuilder().cpp(Standards::CPP20).build();
5886 ASSERT_EQUALS("auto operator<=> ( ) ;", tokenizeAndStringify("auto operator<=>();", settings));
5887 }
5888
5889 void simplifyOperatorName30() { // #14151
5890 const char code[] = "struct S { int operator()() const { return 42; } };\n"

Callers

nothing calls this directly

Calls 2

buildMethod · 0.80
cppMethod · 0.80

Tested by

no test coverage detected