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

Method setCPPAlias

test/teststandards.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void setCPPAlias() const {
93 Standards stds;
94 ASSERT_EQUALS(true, stds.setCPP("gnu++11"));
95 ASSERT_EQUALS_ENUM(Standards::CLatest, stds.c);
96 ASSERT_EQUALS("", stds.stdValueC);
97 ASSERT_EQUALS_ENUM(Standards::CPP11, stds.cpp);
98 ASSERT_EQUALS("gnu++11", stds.stdValueCPP);
99 }
100
101 void setCAlias() const {
102 Standards stds;

Callers

nothing calls this directly

Calls 1

setCPPMethod · 0.80

Tested by

no test coverage detected