Home
last modified time | relevance | path

Searched refs:nonConstClassInstance (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Davoid-non-const-global-variables.cpp54 DummyClass nonConstClassInstance; variable
57 DummyClass *pointerToNonConstDummyClass = &nonConstClassInstance;
61 DummyClass &referenceToNonConstDummyClass = nonConstClassInstance;
64 int *nonConstPointerToMember = &nonConstClassInstance.nonConstPublicMemberVariable;
67 int *const constPointerToNonConstMember = &nonConstClassInstance.nonConstPublicMemberVariable;
72 DummyClass *const constPointerToNonConstDummyClass = &nonConstClassInstance;