CodeQL library for C/C++
codeql/cpp-all 2.1.1-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)