CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (changelog, source)
Search

Member predicate GotoStmt::getName

Gets the name of the label this ‘goto’ statement refers to.

For example, for

goto someLabel;

the result is "someLabel".

string getName()