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

Module StructLikeClass

Import path

import semmle.code.cpp.commons.StructLikeClass

Imports

Class

Provides classes representing C++ classes, including structs, unions, and template classes.

Predicates

getter

Holds if f is a getter member function for v, in class c. See StructLikeClass.getAGetter.

setter

Holds if f is a setter member function for v, in class c. See StructLikeClass.getASetter.

Classes

StructLikeClass

A class that is either a struct or just has getters and setters for its members. In either case it just stores data and has no real encapsulation.