Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp716 StringRef declKind; in FlushDiagnosticsImpl() local
719 declKind = "C++ class"; in FlushDiagnosticsImpl()
722 declKind = "C++ method"; in FlushDiagnosticsImpl()
725 declKind = "Objective-C method"; in FlushDiagnosticsImpl()
728 declKind = "function"; in FlushDiagnosticsImpl()
733 if (!declKind.empty()) { in FlushDiagnosticsImpl()
736 EmitString(o, declKind) << '\n'; in FlushDiagnosticsImpl()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DParsedASTTests.cpp63 MATCHER_P(declKind, Kind, "") {
125 {AllOf(declNamed("main"), declKind("Function")), in TEST()
126 AllOf(declNamed("X"), declKind("VarTemplate"))})); in TEST()