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

Class PrintAstConfiguration

The query can extend this class to control which declarations are printed.

Import path

import semmle.code.cpp.PrintAST

Direct supertypes

Known direct subtypes

    Predicates

    shouldPrintDeclaration

    Holds if the AST for decl should be printed. By default, holds for all functions and global and namespace variables. Currently, does not support any other declaration types.

    toString

    Gets a textual representation of this PrintASTConfiguration.