Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ParseTranslationUnits
Method · 0.95
ParseTranslationUnit
Method · 0.95
ParseString
Method · 0.95
ExpectOrDie
Method · 0.95
Calls
1
NextNonWhitespace
Method · 0.95
Tested by
no test coverage detected