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

Module File

Provides classes representing files and folders.

Import path

import semmle.code.cpp.File

Imports

Declaration

Provides classes for working with C and C++ declarations.

Element

Provides the Element class, which is the base class for all classes representing C or C++ program elements.

MetricFile

Predicates

anyFileCompiledAsMicrosoft

Holds if any file was compiled by a Microsoft compiler.

Classes

CFile

A C source file, as determined by file extension.

Container

A file or folder.

CppFile

A C++ source file, as determined by file extension.

File

A file that was observed on disk during the build process.

Folder

A folder that was observed on disk during the build process.

HeaderFile

A C/C++ header file, as determined (mainly) by file extension.