Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.io/
H A Dstream_insert_decl_present.compile.pass.cpp22 struct HasDecl : std::false_type {}; struct
24 struct HasDecl<SV, decltype(static_cast<void>(std::declval<std::ostream&>() << std::declval<SV&>())… struct
26 static_assert(HasDecl<std::string_view>::value, "streaming operator declaration not present");
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DXRefsTests.cpp1105 bool HasDecl = !T.ranges("decl" + std::to_string(Idx)).empty(); in TEST() local
1107 if (!HasDecl && !HasDef) in TEST()
1110 if (HasDecl) in TEST()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp4058 bool HasDecl = (D != nullptr); in emitFunctionStart() local
4065 if (!HasDecl) { in emitFunctionStart()
4100 if (!HasDecl || D->isImplicit() || D->hasAttr<ArtificialAttr>() || in emitFunctionStart()
4144 if (HasDecl && isa<FunctionDecl>(D)) in emitFunctionStart()
4150 if (HasDecl) in emitFunctionStart()