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

Member predicate TextLiteral::getAStandardEscapeSequence

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

string getAStandardEscapeSequence(int occurrence, int offset)