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

Method simplifySpaceshipOperator

test/testtokenize.cpp:8535–8539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8533 }
8534
8535 void simplifySpaceshipOperator() {
8536 const Settings settings = settingsBuilder().cpp(Standards::CPP20).build();
8537
8538 ASSERT_EQUALS("; x <=> y ;", tokenizeAndStringify(";x<=>y;", settings));
8539 }
8540
8541 void simplifyIfSwitchForInit1() {
8542 const Settings settings = settingsBuilder().cpp(Standards::CPP17).build();

Callers 1

testAstMethod · 0.45

Calls 2

buildMethod · 0.80
cppMethod · 0.80

Tested by

no test coverage detected