clang-tools 22.0.0git
clang::tidy::cppcoreguidelines::InterfacesGlobalInitCheck Class Reference

Flags possible initialization order issues of static variables. More...

#include <InterfacesGlobalInitCheck.h>

Inheritance diagram for clang::tidy::cppcoreguidelines::InterfacesGlobalInitCheck:
[legend]

Public Member Functions

 InterfacesGlobalInitCheck (StringRef Name, ClangTidyContext *Context)
void registerMatchers (ast_matchers::MatchFinder *Finder) override
void check (const ast_matchers::MatchFinder::MatchResult &Result) override

Detailed Description

Flags possible initialization order issues of static variables.

For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/interfaces-global-init.html

Definition at line 20 of file InterfacesGlobalInitCheck.h.

Constructor & Destructor Documentation

◆ InterfacesGlobalInitCheck()

clang::tidy::cppcoreguidelines::InterfacesGlobalInitCheck::InterfacesGlobalInitCheck ( StringRef Name,
ClangTidyContext * Context )
inline

Definition at line 22 of file InterfacesGlobalInitCheck.h.

Member Function Documentation

◆ check()

void clang::tidy::cppcoreguidelines::InterfacesGlobalInitCheck::check ( const ast_matchers::MatchFinder::MatchResult & Result)
override

Definition at line 35 of file InterfacesGlobalInitCheck.cpp.

◆ registerMatchers()

void clang::tidy::cppcoreguidelines::InterfacesGlobalInitCheck::registerMatchers ( ast_matchers::MatchFinder * Finder)
override

Definition at line 16 of file InterfacesGlobalInitCheck.cpp.


The documentation for this class was generated from the following files: