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

Member predicate TextLiteral::getASimpleEscapeSequence

Gets a simple escape sequence that appears in the char or string literal (see [lex.ccon] in the C++ Standard).

string getASimpleEscapeSequence(int occurrence, int offset)