Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-interfaces-global-init.cpp4 constexpr int takesInt(int i) { return i + 1; } in takesInt() function
10 static int GlobalScopeBadInit2 = takesInt(ExternGlobal);
19 static int NamespaceScopeBadInit = takesInt(ExternGlobal);
27 int A::ClassScopeBadInit = takesInt(ExternGlobal);
30 static int FromClassBadInit = takesInt(A::ClassScope);
47 static int G = takesInt(ExternGlobal); in f()
59 static int GlobalScopeGoodInit2 = takesInt(GlobalScope);
60 static int GlobalScope2 = takesInt(ns::NamespaceScope);
63 static int GlobalScopeFromEnum = takesInt(kEnumValue);
68 takesInt(GlobalScopeConstexpr);