MCPcopy Create free account
hub / github.com/Kitware/CMake / Expect

Method Expect

Tests/CMakeLib/run_compile_commands.cxx:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 bool Expect(char c)
94 {
95 if (this->C == c) {
96 this->NextNonWhitespace();
97 return true;
98 }
99 return false;
100 }
101
102 void ExpectOrDie(char c, std::string const& message)
103 {

Callers 4

ParseTranslationUnitsMethod · 0.95
ParseTranslationUnitMethod · 0.95
ParseStringMethod · 0.95
ExpectOrDieMethod · 0.95

Calls 1

NextNonWhitespaceMethod · 0.95

Tested by

no test coverage detected