Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/StringSwitch.h
Line
Count
Source
1
//===--- StringSwitch.h - Switch-on-literal-string Construct --------------===/
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//===----------------------------------------------------------------------===/
7
//
8
//  This file implements the StringSwitch template, which mimics a switch()
9
//  statement whose cases are string literals.
10
//
11
//===----------------------------------------------------------------------===/
12
#ifndef LLVM_ADT_STRINGSWITCH_H
13
#define LLVM_ADT_STRINGSWITCH_H
14
15
#include "llvm/ADT/StringRef.h"
16
#include "llvm/Support/Compiler.h"
17
#include <cassert>
18
#include <cstring>
19
20
namespace llvm {
21
22
/// A switch()-like statement whose cases are string literals.
23
///
24
/// The StringSwitch class is a simple form of a switch() statement that
25
/// determines whether the given string matches one of the given string
26
/// literals. The template type parameter \p T is the type of the value that
27
/// will be returned from the string-switch expression. For example,
28
/// the following code switches on the name of a color in \c argv[i]:
29
///
30
/// \code
31
/// Color color = StringSwitch<Color>(argv[i])
32
///   .Case("red", Red)
33
///   .Case("orange", Orange)
34
///   .Case("yellow", Yellow)
35
///   .Case("green", Green)
36
///   .Case("blue", Blue)
37
///   .Case("indigo", Indigo)
38
///   .Cases("violet", "purple", Violet)
39
///   .Default(UnknownColor);
40
/// \endcode
41
template<typename T, typename R = T>
42
class StringSwitch {
43
  /// The string we are matching.
44
  const StringRef Str;
45
46
  /// The pointer to the result of this switch statement, once known,
47
  /// null before that.
48
  Optional<T> Result;
49
50
public:
51
  explicit StringSwitch(StringRef S)
52
38.4M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
9
  : Str(S), Result() { }
llvm::StringSwitch<unsigned int, unsigned int>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.41M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.61M
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
154k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
360
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.12k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.70k
  : Str(S), Result() { }
llvm::StringSwitch<int, int>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
60.4k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.23k
  : Str(S), Result() { }
llvm::StringSwitch<bool*, bool*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
26
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
8.13k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
297
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<long long, long long>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
153k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.71k
  : Str(S), Result() { }
llvm::StringSwitch<bool, bool>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
14.9M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
108
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
174
  : Str(S), Result() { }
llvm::StringSwitch<llvm::RISCVFPRndMode::RoundingMode, llvm::RISCVFPRndMode::RoundingMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
489
  : Str(S), Result() { }
llvm::StringSwitch<llvm::RISCVMCExpr::VariantKind, llvm::RISCVMCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
449
  : Str(S), Result() { }
llvm::StringSwitch<llvm::RISCVABI::ABI, llvm::RISCVABI::ABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.12k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
144
  : Str(S), Result() { }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
487k
  : Str(S), Result() { }
llvm::StringSwitch<char const*, char const*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
708k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.21k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
422k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
566
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.64k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
225
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.28k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
285
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
546
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode>, llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.08k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior>, llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5.61k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.42k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
306
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.90k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::SectionKind>, llvm::Optional<llvm::SectionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
13
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
129k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
37
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
30.4k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.08M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.04M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
612k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.15M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
729k
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.11k
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
483k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
83.6k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
791
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
520
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.68k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
184
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.30k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
23
  : Str(S), Result() { }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
10.0k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
139
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
233k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
233k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
233k
  : Str(S), Result() { }
llvm::StringSwitch<char, char>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
498
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
96.6k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21.4k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21.4k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
113
  : Str(S), Result() { }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
25
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
3
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
15.6k
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
121
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
801
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
53
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.82k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
426
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
10
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
49.4k
  : Str(S), Result() { }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
20
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
159
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
888
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
190
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.68M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
136k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::frontend::ActionKind>, llvm::Optional<clang::frontend::ActionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
34
  : Str(S), Result() { }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
52.7k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
29
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
22.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
17.3k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
30
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
8
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
439k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.54k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
529
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
13.0k
  : Str(S), Result() { }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21.1k
  : Str(S), Result() { }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
631
  : Str(S), Result() { }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
25.2k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
744
  : Str(S), Result() { }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
434
  : Str(S), Result() { }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
49
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
10.8k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
124k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
14.1k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
536
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
64
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.33k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
89
  : Str(S), Result() { }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
77
  : Str(S), Result() { }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
22
  : Str(S), Result() { }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
142
  : Str(S), Result() { }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
39
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.41M
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
57
  : Str(S), Result() { }
llvm::StringSwitch<clang::QualType, clang::QualType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
454
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
43.6k
  : Str(S), Result() { }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<unsigned char, unsigned char>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
260
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
44
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
78
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5.14k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.75k
  : Str(S), Result() { }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
51.5k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
16
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
551
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
6
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
7
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
9
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5
  : Str(S), Result() { }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
191
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
93
  : Str(S), Result() { }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
14.0k
  : Str(S), Result() { }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
30
  : Str(S), Result() { }
llvm::StringSwitch<clang::minimize_source_to_dependency_directives::TokenKind, clang::minimize_source_to_dependency_directives::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
137
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long, unsigned long>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
638k
  : Str(S), Result() { }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
929
  : Str(S), Result() { }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
408k
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
94
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.71k
  : Str(S), Result() { }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
358
  : Str(S), Result() { }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
67
  : Str(S), Result() { }
llvm::StringSwitch<llvm::remarks::Format, llvm::remarks::Format>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
92
  : Str(S), Result() { }
llvm::StringSwitch<llvm::remarks::Type, llvm::remarks::Type>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
165
  : Str(S), Result() { }
53
54
  // StringSwitch is not copyable.
55
  StringSwitch(const StringSwitch &) = delete;
56
57
  // StringSwitch is not assignable due to 'Str' being 'const'.
58
  void operator=(const StringSwitch &) = delete;
59
  void operator=(StringSwitch &&other) = delete;
60
61
  StringSwitch(StringSwitch &&other)
62
    : Str(other.Str), Result(std::move(other.Result)) { }
63
64
168k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::~StringSwitch()
Line
Count
Source
64
154k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::~StringSwitch()
Line
Count
Source
64
12.3k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::~StringSwitch()
Line
Count
Source
64
113
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~StringSwitch()
Line
Count
Source
64
426
  ~StringSwitch() = default;
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::~StringSwitch()
Line
Count
Source
64
744
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::~StringSwitch()
Line
Count
Source
64
1.33k
  ~StringSwitch() = default;
65
66
  // Case-sensitive case matchers
67
1.03G
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.03G
    if (!Result && 
Str == S444M
) {
69
15.3M
      Result = std::move(Value);
70
15.3M
    }
71
1.03G
    return *this;
72
1.03G
  }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::UserModeKind>)
Line
Count
Source
67
272k
  StringSwitch &Case(StringLiteral S, T Value) {
68
272k
    if (!Result && 
Str == S272k
) {
69
136k
      Result = std::move(Value);
70
136k
    }
71
272k
    return *this;
72
272k
  }
llvm::StringSwitch<char const*, char const*>::Case(llvm::StringLiteral, char const*)
Line
Count
Source
67
1.25M
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.25M
    if (!Result && 
Str == S1.22M
) {
69
14.7k
      Result = std::move(Value);
70
14.7k
    }
71
1.25M
    return *this;
72
1.25M
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Case(llvm::StringLiteral, llvm::DebugCompressionType)
Line
Count
Source
67
18
  StringSwitch &Case(StringLiteral S, T Value) {
68
18
    if (!Result && 
Str == S13
) {
69
8
      Result = std::move(Value);
70
8
    }
71
18
    return *this;
72
18
  }
llvm::StringSwitch<unsigned int, unsigned int>::Case(llvm::StringLiteral, unsigned int)
Line
Count
Source
67
73.0M
  StringSwitch &Case(StringLiteral S, T Value) {
68
73.0M
    if (!Result && 
Str == S63.8M
) {
69
562k
      Result = std::move(Value);
70
562k
    }
71
73.0M
    return *this;
72
73.0M
  }
llvm::StringSwitch<int, int>::Case(llvm::StringLiteral, int)
Line
Count
Source
67
16.2M
  StringSwitch &Case(StringLiteral S, T Value) {
68
16.2M
    if (!Result && 
Str == S6.58M
) {
69
57.7k
      Result = std::move(Value);
70
57.7k
    }
71
16.2M
    return *this;
72
16.2M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Case(llvm::StringLiteral, llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Case(llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
67
85.8M
  StringSwitch &Case(StringLiteral S, T Value) {
68
85.8M
    if (!Result && 
Str == S62.2M
) {
69
2.75M
      Result = std::move(Value);
70
2.75M
    }
71
85.8M
    return *this;
72
85.8M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Case(llvm::StringLiteral, std::__1::pair<int, int>)
Line
Count
Source
67
1.24M
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.24M
    if (!Result && 
Str == S682k
) {
69
153k
      Result = std::move(Value);
70
153k
    }
71
1.24M
    return *this;
72
1.24M
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Case(llvm::StringLiteral, llvm::AArch64CC::CondCode)
Line
Count
Source
67
6.40k
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.40k
    if (!Result && 
Str == S2.87k
) {
69
338
      Result = std::move(Value);
70
338
    }
71
6.40k
    return *this;
72
6.40k
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
67
50.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
50.4k
    if (!Result && 
Str == S24.7k
) {
69
1.12k
      Result = std::move(Value);
70
1.12k
    }
71
50.4k
    return *this;
72
50.4k
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Case(llvm::StringLiteral, llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
67
35.1k
  StringSwitch &Case(StringLiteral S, T Value) {
68
35.1k
    if (!Result && 
Str == S18.6k
) {
69
2.09k
      Result = std::move(Value);
70
2.09k
    }
71
35.1k
    return *this;
72
35.1k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
67
990
  StringSwitch &Case(StringLiteral S, T Value) {
68
990
    if (!Result && 
Str == S970
) {
69
19
      Result = std::move(Value);
70
19
    }
71
990
    return *this;
72
990
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
67
17.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
17.2k
    if (!Result && 
Str == S16.7k
) {
69
72
      Result = std::move(Value);
70
72
    }
71
17.2k
    return *this;
72
17.2k
  }
llvm::StringSwitch<bool*, bool*>::Case(llvm::StringLiteral, bool*)
Line
Count
Source
67
104
  StringSwitch &Case(StringLiteral S, T Value) {
68
104
    if (!Result && 
Str == S63
) {
69
26
      Result = std::move(Value);
70
26
    }
71
104
    return *this;
72
104
  }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::Case(llvm::StringLiteral, llvm::Optional<llvm::StringRef>)
Line
Count
Source
67
24.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
24.4k
    if (!Result && 
Str == S24.3k
) {
69
28
      Result = std::move(Value);
70
28
    }
71
24.4k
    return *this;
72
24.4k
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
67
594
  StringSwitch &Case(StringLiteral S, T Value) {
68
594
    if (!Result && 
Str == S560
) {
69
42
      Result = std::move(Value);
70
42
    }
71
594
    return *this;
72
594
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Case(llvm::StringLiteral, long long)
Line
Count
Source
67
974k
  StringSwitch &Case(StringLiteral S, T Value) {
68
974k
    if (!Result && 
Str == S843k
) {
69
153k
      Result = std::move(Value);
70
153k
    }
71
974k
    return *this;
72
974k
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Case(llvm::StringLiteral, llvm::ARM_AM::ShiftOpc)
Line
Count
Source
67
16.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
16.2k
    if (!Result && 
Str == S8.83k
) {
69
2.28k
      Result = std::move(Value);
70
2.28k
    }
71
16.2k
    return *this;
72
16.2k
  }
llvm::StringSwitch<bool, bool>::Case(llvm::StringLiteral, bool)
Line
Count
Source
67
525M
  StringSwitch &Case(StringLiteral S, T Value) {
68
525M
    if (!Result && 
Str == S172M
) {
69
3.18M
      Result = std::move(Value);
70
3.18M
    }
71
525M
    return *this;
72
525M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Case(llvm::StringLiteral, llvm::LPAC::AluCode)
Line
Count
Source
67
1.08k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.08k
    if (!Result && 
Str == S537
) {
69
108
      Result = std::move(Value);
70
108
    }
71
1.08k
    return *this;
72
1.08k
  }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::Case(llvm::StringLiteral, unsigned long long)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
67
5.44k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.44k
    if (!Result && 
Str == S3.04k
) {
69
174
      Result = std::move(Value);
70
174
    }
71
5.44k
    return *this;
72
5.44k
  }
llvm::StringSwitch<llvm::RISCVFPRndMode::RoundingMode, llvm::RISCVFPRndMode::RoundingMode>::Case(llvm::StringLiteral, llvm::RISCVFPRndMode::RoundingMode)
Line
Count
Source
67
2.93k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.93k
    if (!Result && 
Str == S2.20k
) {
69
488
      Result = std::move(Value);
70
488
    }
71
2.93k
    return *this;
72
2.93k
  }
llvm::StringSwitch<llvm::RISCVMCExpr::VariantKind, llvm::RISCVMCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::RISCVMCExpr::VariantKind)
Line
Count
Source
67
4.49k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.49k
    if (!Result && 
Str == S1.16k
) {
69
448
      Result = std::move(Value);
70
448
    }
71
4.49k
    return *this;
72
4.49k
  }
llvm::StringSwitch<llvm::RISCVABI::ABI, llvm::RISCVABI::ABI>::Case(llvm::StringLiteral, llvm::RISCVABI::ABI)
Line
Count
Source
67
7.84k
  StringSwitch &Case(StringLiteral S, T Value) {
68
7.84k
    if (!Result && 
Str == S7.35k
) {
69
155
      Result = std::move(Value);
70
155
    }
71
7.84k
    return *this;
72
7.84k
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::SparcMCExpr::VariantKind)
Line
Count
Source
67
4.46k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.46k
    if (!Result && 
Str == S2.51k
) {
69
144
      Result = std::move(Value);
70
144
    }
71
4.46k
    return *this;
72
4.46k
  }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::Case(llvm::StringLiteral, llvm::WebAssembly::ExprType)
Line
Count
Source
67
133
  StringSwitch &Case(StringLiteral S, T Value) {
68
133
    if (!Result && 
Str == S53
) {
69
19
      Result = std::move(Value);
70
19
    }
71
133
    return *this;
72
133
  }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::Case(llvm::StringLiteral, llvm::X86::CondCode)
Line
Count
Source
67
13.6M
  StringSwitch &Case(StringLiteral S, T Value) {
68
13.6M
    if (!Result && 
Str == S13.6M
) {
69
348
      Result = std::move(Value);
70
348
    }
71
13.6M
    return *this;
72
13.6M
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Case(llvm::StringLiteral, llvm::MachO::CPUSubTypeX86)
Line
Count
Source
67
4.21k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.21k
    if (!Result && Str == S) {
69
675
      Result = std::move(Value);
70
675
    }
71
4.21k
    return *this;
72
4.21k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Case(llvm::StringLiteral, llvm::EHPersonality)
Line
Count
Source
67
6.34M
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.34M
    if (!Result && 
Str == S898k
) {
69
422k
      Result = std::move(Value);
70
422k
    }
71
6.34M
    return *this;
72
6.34M
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Case(llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
67
2.26k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.26k
    if (!Result && 
Str == S2.25k
) {
69
8
      Result = std::move(Value);
70
8
    }
71
2.26k
    return *this;
72
2.26k
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Case(llvm::StringLiteral, llvm::DINode::DIFlags)
Line
Count
Source
67
157k
  StringSwitch &Case(StringLiteral S, T Value) {
68
157k
    if (!Result && 
Str == S54.2k
) {
69
4.63k
      Result = std::move(Value);
70
4.63k
    }
71
157k
    return *this;
72
157k
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
67
450
  StringSwitch &Case(StringLiteral S, T Value) {
68
450
    if (!Result && 
Str == S230
) {
69
225
      Result = std::move(Value);
70
225
    }
71
450
    return *this;
72
450
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
67
9.12k
  StringSwitch &Case(StringLiteral S, T Value) {
68
9.12k
    if (!Result && 
Str == S4.62k
) {
69
2.28k
      Result = std::move(Value);
70
2.28k
    }
71
9.12k
    return *this;
72
9.12k
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
67
855
  StringSwitch &Case(StringLiteral S, T Value) {
68
855
    if (!Result && 
Str == S822
) {
69
285
      Result = std::move(Value);
70
285
    }
71
855
    return *this;
72
855
  }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::Case(llvm::StringLiteral, llvm::DISubprogram::DISPFlags)
Line
Count
Source
67
5.46k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.46k
    if (!Result && 
Str == S2.92k
) {
69
546
      Result = std::move(Value);
70
546
    }
71
5.46k
    return *this;
72
5.46k
  }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode>, llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode> >::Case(llvm::StringLiteral, llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode>)
Line
Count
Source
67
20.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
20.4k
    if (!Result && 
Str == S4.10k
) {
69
4.08k
      Result = std::move(Value);
70
4.08k
    }
71
20.4k
    return *this;
72
20.4k
  }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior>, llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior> >::Case(llvm::StringLiteral, llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior>)
Line
Count
Source
67
16.8k
  StringSwitch &Case(StringLiteral S, T Value) {
68
16.8k
    if (!Result && 
Str == S16.7k
) {
69
5.61k
      Result = std::move(Value);
70
5.61k
    }
71
16.8k
    return *this;
72
16.8k
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Case(llvm::StringLiteral, llvm::Attribute::AttrKind)
Line
Count
Source
67
76
  StringSwitch &Case(StringLiteral S, T Value) {
68
76
    if (!Result && 
Str == S24
) {
69
2
      Result = std::move(Value);
70
2
    }
71
76
    return *this;
72
76
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Case(llvm::StringLiteral, llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
67
267k
  StringSwitch &Case(StringLiteral S, T Value) {
68
267k
    if (!Result && 
Str == S75.6k
) {
69
2.41k
      Result = std::move(Value);
70
2.41k
    }
71
267k
    return *this;
72
267k
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Case(llvm::StringLiteral, llvm::COFF::COMDATType)
Line
Count
Source
67
2.14k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.14k
    if (!Result && 
Str == S807
) {
69
305
      Result = std::move(Value);
70
305
    }
71
2.14k
    return *this;
72
2.14k
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Case(llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
67
34.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
34.2k
    if (!Result && 
Str == S7.65k
) {
69
2.89k
      Result = std::move(Value);
70
2.89k
    }
71
34.2k
    return *this;
72
34.2k
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::Case(llvm::StringLiteral, llvm::AArch64::ArchKind)
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>)
Line
Count
Source
67
111
  StringSwitch &Case(StringLiteral S, T Value) {
68
111
    if (!Result && 
Str == S56
) {
69
36
      Result = std::move(Value);
70
36
    }
71
111
    return *this;
72
111
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Case(llvm::StringLiteral, llvm::Triple::VendorType)
Line
Count
Source
67
33.3M
  StringSwitch &Case(StringLiteral S, T Value) {
68
33.3M
    if (!Result && 
Str == S14.5M
) {
69
1.27M
      Result = std::move(Value);
70
1.27M
    }
71
33.3M
    return *this;
72
33.3M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Case(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
67
173M
  StringSwitch &Case(StringLiteral S, T Value) {
68
173M
    if (!Result && 
Str == S47.7M
) {
69
1.98M
      Result = std::move(Value);
70
1.98M
    }
71
173M
    return *this;
72
173M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Case(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
67
273k
  StringSwitch &Case(StringLiteral S, T Value) {
68
273k
    if (!Result && 
Str == S270k
) {
69
599
      Result = std::move(Value);
70
599
    }
71
273k
    return *this;
72
273k
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::Case(llvm::StringLiteral, clang::CudaVersion)
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Case(llvm::StringLiteral, clang::CudaArch)
Line
Count
Source
67
38.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
38.9k
    if (!Result && 
Str == S7.32k
) {
69
1.09k
      Result = std::move(Value);
70
1.09k
    }
71
38.9k
    return *this;
72
38.9k
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Case(llvm::StringLiteral, clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Case(llvm::StringLiteral, clang::OpenMPDirectiveKind)
Line
Count
Source
67
26.5M
  StringSwitch &Case(StringLiteral S, T Value) {
68
26.5M
    if (!Result && 
Str == S10.0M
) {
69
397k
      Result = std::move(Value);
70
397k
    }
71
26.5M
    return *this;
72
26.5M
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Case(llvm::StringLiteral, clang::OpenMPClauseKind)
Line
Count
Source
67
4.68M
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.68M
    if (!Result && 
Str == S1.62M
) {
69
81.5k
      Result = std::move(Value);
70
81.5k
    }
71
4.68M
    return *this;
72
4.68M
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDefaultClauseKind)
Line
Count
Source
67
1.58k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.58k
    if (!Result && 
Str == S1.14k
) {
69
653
      Result = std::move(Value);
70
653
    }
71
1.58k
    return *this;
72
1.58k
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Case(llvm::StringLiteral, clang::OpenMPProcBindClauseKind)
Line
Count
Source
67
1.56k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.56k
    if (!Result && 
Str == S1.14k
) {
69
406
      Result = std::move(Value);
70
406
    }
71
1.56k
    return *this;
72
1.56k
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDependClauseKind)
Line
Count
Source
67
16.0k
  StringSwitch &Case(StringLiteral S, T Value) {
68
16.0k
    if (!Result && 
Str == S6.38k
) {
69
2.56k
      Result = std::move(Value);
70
2.56k
    }
71
16.0k
    return *this;
72
16.0k
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Case(llvm::StringLiteral, clang::OpenMPLinearClauseKind)
Line
Count
Source
67
552
  StringSwitch &Case(StringLiteral S, T Value) {
68
552
    if (!Result && 
Str == S392
) {
69
166
      Result = std::move(Value);
70
166
    }
71
552
    return *this;
72
552
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
67
1.30k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.30k
    if (!Result && Str == S) {
69
1.15k
      Result = std::move(Value);
70
1.15k
    }
71
1.30k
    return *this;
72
1.30k
  }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::Case(llvm::StringLiteral, clang::OpenMPAtomicDefaultMemOrderClauseKind)
Line
Count
Source
67
69
  StringSwitch &Case(StringLiteral S, T Value) {
68
69
    if (!Result && 
Str == S47
) {
69
20
      Result = std::move(Value);
70
20
    }
71
69
    return *this;
72
69
  }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::Case(llvm::StringLiteral, clang::SanitizerMask)
Line
Count
Source
67
643k
  StringSwitch &Case(StringLiteral S, T Value) {
68
643k
    if (!Result && 
Str == S407k
) {
69
10.0k
      Result = std::move(Value);
70
10.0k
    }
71
643k
    return *this;
72
643k
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
67
1
  StringSwitch &Case(StringLiteral S, T Value) {
68
1
    if (!Result && Str == S) {
69
0
      Result = std::move(Value);
70
0
    }
71
1
    return *this;
72
1
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::Case(llvm::StringLiteral, llvm::X86::ProcessorFeatures)
Line
Count
Source
67
5.00k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.00k
    if (!Result && 
Str == S1.30k
) {
69
139
      Result = std::move(Value);
70
139
    }
71
5.00k
    return *this;
72
5.00k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
67
2.09M
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.09M
    if (!Result && 
Str == S1.96M
) {
69
93.1k
      Result = std::move(Value);
70
93.1k
    }
71
2.09M
    return *this;
72
2.09M
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
67
699k
  StringSwitch &Case(StringLiteral S, T Value) {
68
699k
    if (!Result && 
Str == S699k
) {
69
29.8k
      Result = std::move(Value);
70
29.8k
    }
71
699k
    return *this;
72
699k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
67
699k
  StringSwitch &Case(StringLiteral S, T Value) {
68
699k
    if (!Result && 
Str == S699k
) {
69
83
      Result = std::move(Value);
70
83
    }
71
699k
    return *this;
72
699k
  }
llvm::StringSwitch<char, char>::Case(llvm::StringLiteral, char)
Line
Count
Source
67
7.00k
  StringSwitch &Case(StringLiteral S, T Value) {
68
7.00k
    if (!Result && 
Str == S3.74k
) {
69
250
      Result = std::move(Value);
70
250
    }
71
7.00k
    return *this;
72
7.00k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
67
7.44M
  StringSwitch &Case(StringLiteral S, T Value) {
68
7.44M
    if (!Result && 
Str == S5.89M
) {
69
29.0k
      Result = std::move(Value);
70
29.0k
    }
71
7.44M
    return *this;
72
7.44M
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::Case(llvm::StringLiteral, llvm::ThreadModel::Model)
Line
Count
Source
67
42.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
42.9k
    if (!Result && 
Str == S21.4k
) {
69
21.4k
      Result = std::move(Value);
70
21.4k
    }
71
42.9k
    return *this;
72
42.9k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Case(llvm::StringLiteral, llvm::FloatABI::ABIType)
Line
Count
Source
67
64.3k
  StringSwitch &Case(StringLiteral S, T Value) {
68
64.3k
    if (!Result && 
Str == S61.6k
) {
69
2.26k
      Result = std::move(Value);
70
2.26k
    }
71
64.3k
    return *this;
72
64.3k
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
67
468
  StringSwitch &Case(StringLiteral S, T Value) {
68
468
    if (!Result && 
Str == S263
) {
69
73
      Result = std::move(Value);
70
73
    }
71
468
    return *this;
72
468
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Case(llvm::StringLiteral, llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
67
551
  StringSwitch &Case(StringLiteral S, T Value) {
68
551
    if (!Result && Str == S) {
69
551
      Result = std::move(Value);
70
551
    }
71
551
    return *this;
72
551
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
67
57
  StringSwitch &Case(StringLiteral S, T Value) {
68
57
    if (!Result && 
Str == S41
) {
69
18
      Result = std::move(Value);
70
18
    }
71
57
    return *this;
72
57
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
67
18
  StringSwitch &Case(StringLiteral S, T Value) {
68
18
    if (!Result && 
Str == S14
) {
69
6
      Result = std::move(Value);
70
6
    }
71
18
    return *this;
72
18
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Case(llvm::StringLiteral, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
67
10.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
10.2k
    if (!Result && 
Str == S10.2k
) {
69
5.14k
      Result = std::move(Value);
70
5.14k
    }
71
10.2k
    return *this;
72
10.2k
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Case(llvm::StringLiteral, llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
67
5.51k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.51k
    if (!Result && 
Str == S5.48k
) {
69
2.75k
      Result = std::move(Value);
70
2.75k
    }
71
5.51k
    return *this;
72
5.51k
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::LoopHintAttr::OptionType>, llvm::Optional<clang::LoopHintAttr::OptionType> >::Case(llvm::StringLiteral, llvm::Optional<clang::LoopHintAttr::OptionType>)
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::LoopHintAttr::LoopHintState>, llvm::Optional<clang::LoopHintAttr::LoopHintState> >::Case(llvm::StringLiteral, llvm::Optional<clang::LoopHintAttr::LoopHintState>)
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
67
210
  StringSwitch &Case(StringLiteral S, T Value) {
68
210
    if (!Result && 
Str == S129
) {
69
20
      Result = std::move(Value);
70
20
    }
71
210
    return *this;
72
210
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy>, llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy>)
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
67
1.60k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.60k
    if (!Result && 
Str == S1.56k
) {
69
104
      Result = std::move(Value);
70
104
    }
71
1.60k
    return *this;
72
1.60k
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
67
128
  StringSwitch &Case(StringLiteral S, T Value) {
68
128
    if (!Result && 
Str == S105
) {
69
60
      Result = std::move(Value);
70
60
    }
71
128
    return *this;
72
128
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
67
96
  StringSwitch &Case(StringLiteral S, T Value) {
68
96
    if (!Result && 
Str == S68
) {
69
16
      Result = std::move(Value);
70
16
    }
71
96
    return *this;
72
96
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
67
21
  StringSwitch &Case(StringLiteral S, T Value) {
68
21
    if (!Result && 
Str == S19
) {
69
7
      Result = std::move(Value);
70
7
    }
71
21
    return *this;
72
21
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Case(llvm::StringLiteral, llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
67
186
  StringSwitch &Case(StringLiteral S, T Value) {
68
186
    if (!Result && 
Str == S107
) {
69
93
      Result = std::move(Value);
70
93
    }
71
186
    return *this;
72
186
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
67
132
  StringSwitch &Case(StringLiteral S, T Value) {
68
132
    if (!Result && 
Str == S110
) {
69
40
      Result = std::move(Value);
70
40
    }
71
132
    return *this;
72
132
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
67
33
  StringSwitch &Case(StringLiteral S, T Value) {
68
33
    if (!Result && 
Str == S26
) {
69
10
      Result = std::move(Value);
70
10
    }
71
33
    return *this;
72
33
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
67
27
  StringSwitch &Case(StringLiteral S, T Value) {
68
27
    if (!Result && 
Str == S19
) {
69
9
      Result = std::move(Value);
70
9
    }
71
27
    return *this;
72
27
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
67
10
  StringSwitch &Case(StringLiteral S, T Value) {
68
10
    if (!Result && 
Str == S8
) {
69
5
      Result = std::move(Value);
70
5
    }
71
10
    return *this;
72
10
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::TypeVisibilityAttr::VisibilityType>, llvm::Optional<clang::TypeVisibilityAttr::VisibilityType> >::Case(llvm::StringLiteral, llvm::Optional<clang::TypeVisibilityAttr::VisibilityType>)
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Case(llvm::StringLiteral, llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
67
5.66M
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.66M
    if (!Result && 
Str == S2.47M
) {
69
1.41M
      Result = std::move(Value);
70
1.41M
    }
71
5.66M
    return *this;
72
5.66M
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Case(llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
67
4.63k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.63k
    if (!Result && 
Str == S2.80k
) {
69
113
      Result = std::move(Value);
70
113
    }
71
4.63k
    return *this;
72
4.63k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::Case(llvm::StringLiteral, llvm::GlobalValue::ThreadLocalMode)
Line
Count
Source
67
100
  StringSwitch &Case(StringLiteral S, T Value) {
68
100
    if (!Result && 
Str == S69
) {
69
25
      Result = std::move(Value);
70
25
    }
71
100
    return *this;
72
100
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Case(llvm::StringLiteral, clang::driver::Distro::DistroType)
Line
Count
Source
67
54
  StringSwitch &Case(StringLiteral S, T Value) {
68
54
    if (!Result && 
Str == S35
) {
69
3
      Result = std::move(Value);
70
3
    }
71
54
    return *this;
72
54
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Case(llvm::StringLiteral, llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
67
62.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
62.4k
    if (!Result && 
Str == S32.2k
) {
69
15.6k
      Result = std::move(Value);
70
15.6k
    }
71
62.4k
    return *this;
72
62.4k
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Case(llvm::StringLiteral, clang::driver::LTOKind)
Line
Count
Source
67
242
  StringSwitch &Case(StringLiteral S, T Value) {
68
242
    if (!Result && 
Str == S153
) {
69
119
      Result = std::move(Value);
70
119
    }
71
242
    return *this;
72
242
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Case(llvm::StringLiteral, clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
67
2.40k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.40k
    if (!Result && 
Str == S886
) {
69
797
      Result = std::move(Value);
70
797
    }
71
2.40k
    return *this;
72
2.40k
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Case(llvm::StringLiteral, clang::driver::Driver::SaveTempsMode)
Line
Count
Source
67
106
  StringSwitch &Case(StringLiteral S, T Value) {
68
106
    if (!Result && 
Str == S58
) {
69
53
      Result = std::move(Value);
70
53
    }
71
106
    return *this;
72
106
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Case(llvm::StringLiteral, clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
67
4
  StringSwitch &Case(StringLiteral S, T Value) {
68
4
    if (!Result && 
Str == S3
) {
69
2
      Result = std::move(Value);
70
2
    }
71
4
    return *this;
72
4
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::arm::FloatABI)
Line
Count
Source
67
8.46k
  StringSwitch &Case(StringLiteral S, T Value) {
68
8.46k
    if (!Result && 
Str == S4.80k
) {
69
2.82k
      Result = std::move(Value);
70
2.82k
    }
71
8.46k
    return *this;
72
8.46k
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Case(llvm::StringLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
67
1.69k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.69k
    if (!Result && 
Str == S1.08k
) {
69
345
      Result = std::move(Value);
70
345
    }
71
1.69k
    return *this;
72
1.69k
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::mips::FloatABI)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S16
) {
69
12
      Result = std::move(Value);
70
12
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::ppc::FloatABI)
Line
Count
Source
67
20
  StringSwitch &Case(StringLiteral S, T Value) {
68
20
    if (!Result && 
Str == S14
) {
69
8
      Result = std::move(Value);
70
8
    }
71
20
    return *this;
72
20
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::sparc::FloatABI)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S20
) {
69
8
      Result = std::move(Value);
70
8
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Case(llvm::StringLiteral, clang::driver::types::ID)
Line
Count
Source
67
2.77M
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.77M
    if (!Result && 
Str == S798k
) {
69
48.0k
      Result = std::move(Value);
70
48.0k
    }
71
2.77M
    return *this;
72
2.77M
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Case(llvm::StringLiteral, clang::DiagnosticLevelMask)
Line
Count
Source
67
80
  StringSwitch &Case(StringLiteral S, T Value) {
68
80
    if (!Result && 
Str == S38
) {
69
19
      Result = std::move(Value);
70
19
    }
71
80
    return *this;
72
80
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Case(llvm::StringLiteral, clang::AnalysisStores)
Line
Count
Source
67
159
  StringSwitch &Case(StringLiteral S, T Value) {
68
159
    if (!Result && Str == S) {
69
159
      Result = std::move(Value);
70
159
    }
71
159
    return *this;
72
159
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Case(llvm::StringLiteral, clang::AnalysisConstraints)
Line
Count
Source
67
1.77k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.77k
    if (!Result && 
Str == S888
) {
69
888
      Result = std::move(Value);
70
888
    }
71
1.77k
    return *this;
72
1.77k
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Case(llvm::StringLiteral, clang::AnalysisDiagClients)
Line
Count
Source
67
1.33k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.33k
    if (!Result && 
Str == S1.00k
) {
69
190
      Result = std::move(Value);
70
190
    }
71
1.33k
    return *this;
72
1.33k
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Case(llvm::StringLiteral, clang::AnalysisPurgeMode)
Line
Count
Source
67
3
  StringSwitch &Case(StringLiteral S, T Value) {
68
3
    if (!Result && Str == S) {
69
1
      Result = std::move(Value);
70
1
    }
71
3
    return *this;
72
3
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Case(llvm::StringLiteral, clang::AnalysisInliningMode)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::Case(llvm::StringLiteral, llvm::Optional<bool>)
Line
Count
Source
67
3.36M
  StringSwitch &Case(StringLiteral S, T Value) {
68
3.36M
    if (!Result && 
Str == S2.54M
) {
69
1.68M
      Result = std::move(Value);
70
1.68M
    }
71
3.36M
    return *this;
72
3.36M
  }
llvm::StringSwitch<llvm::Optional<clang::frontend::ActionKind>, llvm::Optional<clang::frontend::ActionKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::frontend::ActionKind>)
Line
Count
Source
67
68
  StringSwitch &Case(StringLiteral S, T Value) {
68
68
    if (!Result && 
Str == S56
) {
69
34
      Result = std::move(Value);
70
34
    }
71
68
    return *this;
72
68
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Case(llvm::StringLiteral, clang::InputKind)
Line
Count
Source
67
756k
  StringSwitch &Case(StringLiteral S, T Value) {
68
756k
    if (!Result && 
Str == S392k
) {
69
47.1k
      Result = std::move(Value);
70
47.1k
    }
71
756k
    return *this;
72
756k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Case(llvm::StringLiteral, llvm::EABI)
Line
Count
Source
67
116
  StringSwitch &Case(StringLiteral S, T Value) {
68
116
    if (!Result && 
Str == S112
) {
69
28
      Result = std::move(Value);
70
28
    }
71
116
    return *this;
72
116
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Case(llvm::StringLiteral, llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
67
135k
  StringSwitch &Case(StringLiteral S, T Value) {
68
135k
    if (!Result && 
Str == S40.9k
) {
69
22.5k
      Result = std::move(Value);
70
22.5k
    }
71
135k
    return *this;
72
135k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Case(llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
67
957k
  StringSwitch &Case(StringLiteral S, T Value) {
68
957k
    if (!Result && 
Str == S514k
) {
69
17.3k
      Result = std::move(Value);
70
17.3k
    }
71
957k
    return *this;
72
957k
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Case(llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
67
210
  StringSwitch &Case(StringLiteral S, T Value) {
68
210
    if (!Result && 
Str == S147
) {
69
30
      Result = std::move(Value);
70
30
    }
71
210
    return *this;
72
210
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Case(llvm::StringLiteral, clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
67
3
  StringSwitch &Case(StringLiteral S, T Value) {
68
3
    if (!Result && Str == S) {
69
1
      Result = std::move(Value);
70
1
    }
71
3
    return *this;
72
3
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Case(llvm::StringLiteral, clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
67
40
  StringSwitch &Case(StringLiteral S, T Value) {
68
40
    if (!Result && 
Str == S26
) {
69
8
      Result = std::move(Value);
70
8
    }
71
40
    return *this;
72
40
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Case(llvm::StringLiteral, llvm::MIToken::TokenKind)
Line
Count
Source
67
31.5M
  StringSwitch &Case(StringLiteral S, T Value) {
68
31.5M
    if (!Result && 
Str == S24.1M
) {
69
141k
      Result = std::move(Value);
70
141k
    }
71
31.5M
    return *this;
72
31.5M
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Case(llvm::StringLiteral, llvm::CmpInst::Predicate)
Line
Count
Source
67
18.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
18.2k
    if (!Result && 
Str == S6.66k
) {
69
1.54k
      Result = std::move(Value);
70
1.54k
    }
71
18.2k
    return *this;
72
18.2k
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Case(llvm::StringLiteral, llvm::AtomicOrdering)
Line
Count
Source
67
3.17k
  StringSwitch &Case(StringLiteral S, T Value) {
68
3.17k
    if (!Result && 
Str == S2.26k
) {
69
528
      Result = std::move(Value);
70
528
    }
71
3.17k
    return *this;
72
3.17k
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Case(llvm::StringLiteral, llvm::StringRef*)
Line
Count
Source
67
130k
  StringSwitch &Case(StringLiteral S, T Value) {
68
130k
    if (!Result && 
Str == S104k
) {
69
3.57k
      Result = std::move(Value);
70
3.57k
    }
71
130k
    return *this;
72
130k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Case(llvm::StringLiteral, (anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
67
486k
  StringSwitch &Case(StringLiteral S, T Value) {
68
486k
    if (!Result && 
Str == S402k
) {
69
7.27k
      Result = std::move(Value);
70
7.27k
    }
71
486k
    return *this;
72
486k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Case(llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
67
29.6k
  StringSwitch &Case(StringLiteral S, T Value) {
68
29.6k
    if (!Result && 
Str == S17.3k
) {
69
513
      Result = std::move(Value);
70
513
    }
71
29.6k
    return *this;
72
29.6k
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
67
277k
  StringSwitch &Case(StringLiteral S, T Value) {
68
277k
    if (!Result && 
Str == S217k
) {
69
7.65k
      Result = std::move(Value);
70
7.65k
    }
71
277k
    return *this;
72
277k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Case(llvm::StringLiteral, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
67
21.5k
  StringSwitch &Case(StringLiteral S, T Value) {
68
21.5k
    if (!Result && 
Str == S19.8k
) {
69
112
      Result = std::move(Value);
70
112
    }
71
21.5k
    return *this;
72
21.5k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
67
1.30k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.30k
    if (!Result && 
Str == S1.20k
) {
69
54
      Result = std::move(Value);
70
54
    }
71
1.30k
    return *this;
72
1.30k
  }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::Case(llvm::StringLiteral, (anonymous namespace)::MoveChecker::AggressivenessKind)
Line
Count
Source
67
147
  StringSwitch &Case(StringLiteral S, T Value) {
68
147
    if (!Result && 
Str == S101
) {
69
48
      Result = std::move(Value);
70
48
    }
71
147
    return *this;
72
147
  }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ExplorationStrategyKind>)
Line
Count
Source
67
65.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
65.2k
    if (!Result && 
Str == S42.6k
) {
69
10.8k
      Result = std::move(Value);
70
10.8k
    }
71
65.2k
    return *this;
72
65.2k
  }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::IPAKind>)
Line
Count
Source
67
620k
  StringSwitch &Case(StringLiteral S, T Value) {
68
620k
    if (!Result && 
Str == S619k
) {
69
124k
      Result = std::move(Value);
70
124k
    }
71
620k
    return *this;
72
620k
  }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::CXXInlineableMemberKind>)
Line
Count
Source
67
56.5k
  StringSwitch &Case(StringLiteral S, T Value) {
68
56.5k
    if (!Result && 
Str == S27.5k
) {
69
14.1k
      Result = std::move(Value);
70
14.1k
    }
71
56.5k
    return *this;
72
56.5k
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Case(llvm::StringLiteral, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
67
21.3k
  StringSwitch &Case(StringLiteral S, T Value) {
68
21.3k
    if (!Result && 
Str == S12.1k
) {
69
1.33k
      Result = std::move(Value);
70
1.33k
    }
71
21.3k
    return *this;
72
21.3k
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Case(llvm::StringLiteral, llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
67
159
  StringSwitch &Case(StringLiteral S, T Value) {
68
159
    if (!Result && 
Str == S132
) {
69
85
      Result = std::move(Value);
70
85
    }
71
159
    return *this;
72
159
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Case(llvm::StringLiteral, clang::PragmaMSCommentKind)
Line
Count
Source
67
385
  StringSwitch &Case(StringLiteral S, T Value) {
68
385
    if (!Result && 
Str == S169
) {
69
74
      Result = std::move(Value);
70
74
    }
71
385
    return *this;
72
385
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::Case(llvm::StringLiteral, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>)
Line
Count
Source
67
22
  StringSwitch &Case(StringLiteral S, T Value) {
68
22
    if (!Result && Str == S) {
69
21
      Result = std::move(Value);
70
21
    }
71
22
    return *this;
72
22
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Case(llvm::StringLiteral, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
67
57
  StringSwitch &Case(StringLiteral S, T Value) {
68
57
    if (!Result && 
Str == S43
) {
69
18
      Result = std::move(Value);
70
18
    }
71
57
    return *this;
72
57
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::Case(llvm::StringLiteral, bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation))
Line
Count
Source
67
852
  StringSwitch &Case(StringLiteral S, T Value) {
68
852
    if (!Result && 
Str == S589
) {
69
142
      Result = std::move(Value);
70
142
    }
71
852
    return *this;
72
852
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Case(llvm::StringLiteral, clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
67
312
  StringSwitch &Case(StringLiteral S, T Value) {
68
312
    if (!Result && 
Str == S69
) {
69
38
      Result = std::move(Value);
70
38
    }
71
312
    return *this;
72
312
  }
llvm::StringSwitch<unsigned char, unsigned char>::Case(llvm::StringLiteral, unsigned char)
Line
Count
Source
67
780
  StringSwitch &Case(StringLiteral S, T Value) {
68
780
    if (!Result && 
Str == S496
) {
69
260
      Result = std::move(Value);
70
260
    }
71
780
    return *this;
72
780
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::Case(llvm::StringLiteral, clang::Sema::PragmaStack<clang::StringLiteral*>*)
Line
Count
Source
67
228
  StringSwitch &Case(StringLiteral S, T Value) {
68
228
    if (!Result && 
Str == S152
) {
69
57
      Result = std::move(Value);
70
57
    }
71
228
    return *this;
72
228
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Case(llvm::StringLiteral, clang::QualType)
Line
Count
Source
67
2.27k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.27k
    if (!Result && 
Str == S1.80k
) {
69
185
      Result = std::move(Value);
70
185
    }
71
2.27k
    return *this;
72
2.27k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Case(llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
67
611k
  StringSwitch &Case(StringLiteral S, T Value) {
68
611k
    if (!Result && 
Str == S89.7k
) {
69
43.6k
      Result = std::move(Value);
70
43.6k
    }
71
611k
    return *this;
72
611k
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Case(llvm::StringLiteral, clang::ObjCInterfaceDecl*)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S22
) {
69
2
      Result = std::move(Value);
70
2
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Case(llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
67
927k
  StringSwitch &Case(StringLiteral S, T Value) {
68
927k
    if (!Result && 
Str == S237k
) {
69
51.5k
      Result = std::move(Value);
70
51.5k
    }
71
927k
    return *this;
72
927k
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Case(llvm::StringLiteral, clang::LoopHintAttr::OptionType)
Line
Count
Source
67
1.71k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.71k
    if (!Result && 
Str == S740
) {
69
191
      Result = std::move(Value);
70
191
    }
71
1.71k
    return *this;
72
1.71k
  }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::Case(llvm::StringLiteral, clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*))
Line
Count
Source
67
28.0k
  StringSwitch &Case(StringLiteral S, T Value) {
68
28.0k
    if (!Result && 
Str == S28.0k
) {
69
14
      Result = std::move(Value);
70
14
    }
71
28.0k
    return *this;
72
28.0k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Case(llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
67
180
  StringSwitch &Case(StringLiteral S, T Value) {
68
180
    if (!Result && 
Str == S96
) {
69
30
      Result = std::move(Value);
70
30
    }
71
180
    return *this;
72
180
  }
llvm::StringSwitch<clang::minimize_source_to_dependency_directives::TokenKind, clang::minimize_source_to_dependency_directives::TokenKind>::Case(llvm::StringLiteral, clang::minimize_source_to_dependency_directives::TokenKind)
Line
Count
Source
67
1.78k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.78k
    if (!Result && 
Str == S918
) {
69
121
      Result = std::move(Value);
70
121
    }
71
1.78k
    return *this;
72
1.78k
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Case(llvm::StringLiteral, (anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
67
18.5k
  StringSwitch &Case(StringLiteral S, T Value) {
68
18.5k
    if (!Result && 
Str == S4.54k
) {
69
929
      Result = std::move(Value);
70
929
    }
71
18.5k
    return *this;
72
18.5k
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Case(llvm::StringLiteral, clang::MMToken::TokenKind)
Line
Count
Source
67
6.53M
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.53M
    if (!Result && 
Str == S4.67M
) {
69
276k
      Result = std::move(Value);
70
276k
    }
71
6.53M
    return *this;
72
6.53M
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Case(llvm::StringLiteral, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
67
188
  StringSwitch &Case(StringLiteral S, T Value) {
68
188
    if (!Result && 
Str == S139
) {
69
93
      Result = std::move(Value);
70
93
    }
71
188
    return *this;
72
188
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Case(llvm::StringLiteral, (anonymous namespace)::AttributeKind)
Line
Count
Source
67
10.8k
  StringSwitch &Case(StringLiteral S, T Value) {
68
10.8k
    if (!Result && 
Str == S5.61k
) {
69
2.71k
      Result = std::move(Value);
70
2.71k
    }
71
10.8k
    return *this;
72
10.8k
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Case(llvm::StringLiteral, clang::diag::Severity)
Line
Count
Source
67
1.43k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.43k
    if (!Result && 
Str == S480
) {
69
355
      Result = std::move(Value);
70
355
    }
71
1.43k
    return *this;
72
1.43k
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::Case(llvm::StringLiteral, llvm::PassBuilder::OptimizationLevel)
Line
Count
Source
67
402
  StringSwitch &Case(StringLiteral S, T Value) {
68
402
    if (!Result && 
Str == S230
) {
69
67
      Result = std::move(Value);
70
67
    }
71
402
    return *this;
72
402
  }
llvm::StringSwitch<llvm::remarks::Format, llvm::remarks::Format>::Case(llvm::StringLiteral, llvm::remarks::Format)
Line
Count
Source
67
368
  StringSwitch &Case(StringLiteral S, T Value) {
68
368
    if (!Result && 
Str == S178
) {
69
91
      Result = std::move(Value);
70
91
    }
71
368
    return *this;
72
368
  }
llvm::StringSwitch<llvm::remarks::Type, llvm::remarks::Type>::Case(llvm::StringLiteral, llvm::remarks::Type)
Line
Count
Source
67
990
  StringSwitch &Case(StringLiteral S, T Value) {
68
990
    if (!Result && 
Str == S321
) {
69
164
      Result = std::move(Value);
70
164
    }
71
990
    return *this;
72
990
  }
73
74
3.16M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
3.16M
    if (!Result && 
Str.endswith(S)3.13M
) {
76
25.7k
      Result = std::move(Value);
77
25.7k
    }
78
3.16M
    return *this;
79
3.16M
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::EndsWith(llvm::StringLiteral, llvm::LPCC::CondCode)
Line
Count
Source
74
6.60k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
6.60k
    if (!Result && 
Str.endswith(S)5.84k
) {
76
90
      Result = std::move(Value);
77
90
    }
78
6.60k
    return *this;
79
6.60k
  }
llvm::StringSwitch<int, int>::EndsWith(llvm::StringLiteral, int)
Line
Count
Source
74
74
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
74
    if (!Result && 
Str.endswith(S)61
) {
76
26
      Result = std::move(Value);
77
26
    }
78
74
    return *this;
79
74
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::EndsWith(llvm::StringLiteral, llvm::Triple::SubArchType)
Line
Count
Source
74
91.3k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
91.3k
    if (!Result && Str.endswith(S)) {
76
0
      Result = std::move(Value);
77
0
    }
78
91.3k
    return *this;
79
91.3k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::EndsWith(llvm::StringLiteral, llvm::Triple::ObjectFormatType)
Line
Count
Source
74
3.06M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
3.06M
    if (!Result && 
Str.endswith(S)3.03M
) {
76
25.6k
      Result = std::move(Value);
77
25.6k
    }
78
3.06M
    return *this;
79
3.06M
  }
80
81
96.9M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
96.9M
    if (!Result && 
Str.startswith(S)36.3M
) {
83
2.44M
      Result = std::move(Value);
84
2.44M
    }
85
96.9M
    return *this;
86
96.9M
  }
llvm::StringSwitch<bool, bool>::StartsWith(llvm::StringLiteral, bool)
Line
Count
Source
81
1.26k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
1.26k
    if (!Result && 
Str.startswith(S)1.14k
) {
83
28
      Result = std::move(Value);
84
28
    }
85
1.26k
    return *this;
86
1.26k
  }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::StartsWith(llvm::StringLiteral, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>)
Line
Count
Source
81
295k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
295k
    if (!Result && 
Str.startswith(S)29.1k
) {
83
12.2k
      Result = std::move(Value);
84
12.2k
    }
85
295k
    return *this;
86
295k
  }
llvm::StringSwitch<llvm::Optional<llvm::SectionKind>, llvm::Optional<llvm::SectionKind> >::StartsWith(llvm::StringLiteral, llvm::Optional<llvm::SectionKind>)
Line
Count
Source
81
78
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
78
    if (!Result && 
Str.startswith(S)39
) {
83
13
      Result = std::move(Value);
84
13
    }
85
78
    return *this;
86
78
  }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StartsWith(llvm::StringLiteral, llvm::ARM::ISAKind)
Line
Count
Source
81
516k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
516k
    if (!Result && 
Str.startswith(S)419k
) {
83
129k
      Result = std::move(Value);
84
129k
    }
85
516k
    return *this;
86
516k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StartsWith(llvm::StringLiteral, llvm::Triple::OSType)
Line
Count
Source
81
73.7M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
73.7M
    if (!Result && 
Str.startswith(S)22.3M
) {
83
1.74M
      Result = std::move(Value);
84
1.74M
    }
85
73.7M
    return *this;
86
73.7M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StartsWith(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
81
2.08M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
2.08M
    if (!Result && 
Str.startswith(S)185k
) {
83
238
      Result = std::move(Value);
84
238
    }
85
2.08M
    return *this;
86
2.08M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StartsWith(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
81
14.1M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
14.1M
    if (!Result && 
Str.startswith(S)7.29M
) {
83
559k
      Result = std::move(Value);
84
559k
    }
85
14.1M
    return *this;
86
14.1M
  }
llvm::StringSwitch<char const*, char const*>::StartsWith(llvm::StringLiteral, char const*)
Line
Count
Source
81
5.46M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
5.46M
    if (!Result && 
Str.startswith(S)5.46M
) {
83
1
      Result = std::move(Value);
84
1
    }
85
5.46M
    return *this;
86
5.46M
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StartsWith(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
81
50.5k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
50.5k
    if (!Result && 
Str.startswith(S)39.5k
) {
83
48
      Result = std::move(Value);
84
48
    }
85
50.5k
    return *this;
86
50.5k
  }
llvm::StringSwitch<unsigned long, unsigned long>::StartsWith(llvm::StringLiteral, unsigned long)
Line
Count
Source
81
638k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
638k
    if (!Result && Str.startswith(S)) {
83
26
      Result = std::move(Value);
84
26
    }
85
638k
    return *this;
86
638k
  }
llvm::StringSwitch<unsigned int, unsigned int>::StartsWith(llvm::StringLiteral, unsigned int)
Line
Count
Source
81
1.53k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
1.53k
    if (!Result && 
Str.startswith(S)802
) {
83
396
      Result = std::move(Value);
84
396
    }
85
1.53k
    return *this;
86
1.53k
  }
87
88
35.3M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
35.3M
    return Case(S0, Value).Case(S1, Value);
90
35.3M
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
88
1.73k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
1.73k
    return Case(S0, Value).Case(S1, Value);
90
1.73k
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
88
463k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
463k
    return Case(S0, Value).Case(S1, Value);
90
463k
  }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::X86::CondCode)
Line
Count
Source
88
72
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
72
    return Case(S0, Value).Case(S1, Value);
90
72
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
88
756k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
756k
    return Case(S0, Value).Case(S1, Value);
90
756k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
88
566
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
566
    return Case(S0, Value).Case(S1, Value);
90
566
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
88
14.8k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
14.8k
    return Case(S0, Value).Case(S1, Value);
90
14.8k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
88
8.14M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
8.14M
    return Case(S0, Value).Case(S1, Value);
90
8.14M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
88
25.5M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
25.5M
    return Case(S0, Value).Case(S1, Value);
90
25.5M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
88
68.3k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
68.3k
    return Case(S0, Value).Case(S1, Value);
90
68.3k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
88
8.25k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
8.25k
    return Case(S0, Value).Case(S1, Value);
90
8.25k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
88
452
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
452
    return Case(S0, Value).Case(S1, Value);
90
452
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
88
115k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
115k
    return Case(S0, Value).Case(S1, Value);
90
115k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
88
1.22k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
1.22k
    return Case(S0, Value).Case(S1, Value);
90
1.22k
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
88
60
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
60
    return Case(S0, Value).Case(S1, Value);
90
60
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
88
3.15k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
3.15k
    return Case(S0, Value).Case(S1, Value);
90
3.15k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
88
434
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
434
    return Case(S0, Value).Case(S1, Value);
90
434
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
88
131k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
131k
    return Case(S0, Value).Case(S1, Value);
90
131k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
88
154k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
154k
    return Case(S0, Value).Case(S1, Value);
90
154k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
88
60
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
60
    return Case(S0, Value).Case(S1, Value);
90
60
  }
llvm::StringSwitch<llvm::remarks::Format, llvm::remarks::Format>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::remarks::Format)
Line
Count
Source
88
184
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
184
    return Case(S0, Value).Case(S1, Value);
90
184
  }
91
92
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
93
26.0M
                      T Value) {
94
26.0M
    return Case(S0, Value).Cases(S1, S2, Value);
95
26.0M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
93
453k
                      T Value) {
94
453k
    return Case(S0, Value).Cases(S1, S2, Value);
95
453k
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
93
207
                      T Value) {
94
207
    return Case(S0, Value).Cases(S1, S2, Value);
95
207
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
93
6.10M
                      T Value) {
94
6.10M
    return Case(S0, Value).Cases(S1, S2, Value);
95
6.10M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
93
19.1M
                      T Value) {
94
19.1M
    return Case(S0, Value).Cases(S1, S2, Value);
95
19.1M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
93
68.3k
                      T Value) {
94
68.3k
    return Case(S0, Value).Cases(S1, S2, Value);
95
68.3k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
93
4.05k
                      T Value) {
94
4.05k
    return Case(S0, Value).Cases(S1, S2, Value);
95
4.05k
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
93
163
                      T Value) {
94
163
    return Case(S0, Value).Cases(S1, S2, Value);
95
163
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
93
30
                      T Value) {
94
30
    return Case(S0, Value).Cases(S1, S2, Value);
95
30
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
93
36.7k
                      T Value) {
94
36.7k
    return Case(S0, Value).Cases(S1, S2, Value);
95
36.7k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
93
1.89k
                      T Value) {
94
1.89k
    return Case(S0, Value).Cases(S1, S2, Value);
95
1.89k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
93
434
                      T Value) {
94
434
    return Case(S0, Value).Cases(S1, S2, Value);
95
434
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
93
43.6k
                      T Value) {
94
43.6k
    return Case(S0, Value).Cases(S1, S2, Value);
95
43.6k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
93
154k
                      T Value) {
94
154k
    return Case(S0, Value).Cases(S1, S2, Value);
95
154k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
93
30
                      T Value) {
94
30
    return Case(S0, Value).Cases(S1, S2, Value);
95
30
  }
96
97
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
98
15.4M
                      StringLiteral S3, T Value) {
99
15.4M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
15.4M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
98
297k
                      StringLiteral S3, T Value) {
99
297k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
297k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
98
4.07M
                      StringLiteral S3, T Value) {
99
4.07M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
4.07M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
98
10.8M
                      StringLiteral S3, T Value) {
99
10.8M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
10.8M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
98
68.3k
                      StringLiteral S3, T Value) {
99
68.3k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
68.3k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
98
18.3k
                      StringLiteral S3, T Value) {
99
18.3k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
18.3k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
98
1.26k
                      StringLiteral S3, T Value) {
99
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
98
2.32k
                      StringLiteral S3, T Value) {
99
2.32k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
2.32k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
98
43.6k
                      StringLiteral S3, T Value) {
99
43.6k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
43.6k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
98
103k
                      StringLiteral S3, T Value) {
99
103k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
103k
  }
101
102
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
103
8.88M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
8.88M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
8.88M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
103
293k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
293k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
293k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
103
2.03M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
2.03M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
2.03M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
103
6.53M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
6.53M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
6.53M
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
103
18.3k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
18.3k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
18.3k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
103
1.26k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
103
2.09k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
2.09k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
2.09k
  }
106
107
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
108
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
109
2.23M
                      T Value) {
110
2.23M
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
2.23M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
109
151k
                      T Value) {
110
151k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
151k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
109
2.07M
                      T Value) {
110
2.07M
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
2.07M
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
109
1.26k
                      T Value) {
110
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
109
2.09k
                      T Value) {
110
2.09k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
2.09k
  }
112
113
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
114
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
115
148k
                      StringLiteral S6, T Value) {
116
148k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
148k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
115
146k
                      StringLiteral S6, T Value) {
116
146k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
146k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
115
1.26k
                      StringLiteral S6, T Value) {
116
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
115
476
                      StringLiteral S6, T Value) {
116
476
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
476
  }
118
119
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
120
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
121
1.73k
                      StringLiteral S6, StringLiteral S7, T Value) {
122
1.73k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
1.73k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
121
1.26k
                      StringLiteral S6, StringLiteral S7, T Value) {
122
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
121
476
                      StringLiteral S6, StringLiteral S7, T Value) {
122
476
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
476
  }
124
125
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
126
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
127
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
128
1.73k
                      T Value) {
129
1.73k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
1.73k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
128
1.26k
                      T Value) {
129
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
128
476
                      T Value) {
129
476
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
476
  }
131
132
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
133
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
134
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
135
1.50k
                      StringLiteral S9, T Value) {
136
1.50k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
1.50k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
135
1.26k
                      StringLiteral S9, T Value) {
136
1.26k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
1.26k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
135
238
                      StringLiteral S9, T Value) {
136
238
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
238
  }
138
139
  // Case-insensitive case matchers.
140
42
  StringSwitch &CaseLower(StringLiteral S, T Value) {
141
42
    if (!Result && Str.equals_lower(S))
142
21
      Result = std::move(Value);
143
42
144
42
    return *this;
145
42
  }
146
147
  StringSwitch &EndsWithLower(StringLiteral S, T Value) {
148
    if (!Result && Str.endswith_lower(S))
149
      Result = Value;
150
151
    return *this;
152
  }
153
154
  StringSwitch &StartsWithLower(StringLiteral S, T Value) {
155
    if (!Result && Str.startswith_lower(S))
156
      Result = std::move(Value);
157
158
    return *this;
159
  }
160
161
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, T Value) {
162
    return CaseLower(S0, Value).CaseLower(S1, Value);
163
  }
164
165
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
166
                           T Value) {
167
    return CaseLower(S0, Value).CasesLower(S1, S2, Value);
168
  }
169
170
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
171
                           StringLiteral S3, T Value) {
172
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value);
173
  }
174
175
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
176
                           StringLiteral S3, StringLiteral S4, T Value) {
177
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, S4, Value);
178
  }
179
180
  LLVM_NODISCARD
181
38.4M
  R Default(T Value) {
182
38.4M
    if (Result)
183
17.7M
      return std::move(*Result);
184
20.6M
    return Value;
185
20.6M
  }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::Default(llvm::Optional<clang::UserModeKind>)
Line
Count
Source
181
136k
  R Default(T Value) {
182
136k
    if (Result)
183
136k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<char const*, char const*>::Default(char const*)
Line
Count
Source
181
708k
  R Default(T Value) {
182
708k
    if (Result)
183
14.7k
      return std::move(*Result);
184
693k
    return Value;
185
693k
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Default(llvm::DebugCompressionType)
Line
Count
Source
181
9
  R Default(T Value) {
182
9
    if (Result)
183
8
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<unsigned int, unsigned int>::Default(unsigned int)
Line
Count
Source
181
2.41M
  R Default(T Value) {
182
2.41M
    if (Result)
183
561k
      return std::move(*Result);
184
1.85M
    return Value;
185
1.85M
  }
llvm::StringSwitch<int, int>::Default(int)
Line
Count
Source
181
60.4k
  R Default(T Value) {
182
60.4k
    if (Result)
183
57.7k
      return std::move(*Result);
184
2.70k
    return Value;
185
2.70k
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Default(llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Default(llvm::StringRef)
Line
Count
Source
181
4.61M
  R Default(T Value) {
182
4.61M
    if (Result)
183
2.75M
      return std::move(*Result);
184
1.85M
    return Value;
185
1.85M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Default(std::__1::pair<int, int>)
Line
Count
Source
181
154k
  R Default(T Value) {
182
154k
    if (Result)
183
153k
      return std::move(*Result);
184
111
    return Value;
185
111
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Default(llvm::AArch64CC::CondCode)
Line
Count
Source
181
360
  R Default(T Value) {
182
360
    if (Result)
183
338
      return std::move(*Result);
184
22
    return Value;
185
22
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Default(llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
181
1.12k
  R Default(T Value) {
182
1.12k
    if (Result)
183
1.12k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Default(llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
181
2.70k
  R Default(T Value) {
182
2.70k
    if (Result)
183
2.09k
      return std::move(*Result);
184
610
    return Value;
185
610
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Default(llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
181
330
  R Default(T Value) {
182
330
    if (Result)
183
19
      return std::move(*Result);
184
311
    return Value;
185
311
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Default(llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
181
1.23k
  R Default(T Value) {
182
1.23k
    if (Result)
183
72
      return std::move(*Result);
184
1.16k
    return Value;
185
1.16k
  }
llvm::StringSwitch<bool*, bool*>::Default(bool*)
Line
Count
Source
181
26
  R Default(T Value) {
182
26
    if (Result)
183
26
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::Default(llvm::Optional<llvm::StringRef>)
Line
Count
Source
181
8.13k
  R Default(T Value) {
182
8.13k
    if (Result)
183
28
      return std::move(*Result);
184
8.10k
    return Value;
185
8.10k
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Default(llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
181
297
  R Default(T Value) {
182
297
    if (Result)
183
42
      return std::move(*Result);
184
255
    return Value;
185
255
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Default(llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Default(long long)
Line
Count
Source
181
153k
  R Default(T Value) {
182
153k
    if (Result)
183
153k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Default(llvm::ARM_AM::ShiftOpc)
Line
Count
Source
181
2.71k
  R Default(T Value) {
182
2.71k
    if (Result)
183
2.28k
      return std::move(*Result);
184
431
    return Value;
185
431
  }
llvm::StringSwitch<bool, bool>::Default(bool)
Line
Count
Source
181
14.9M
  R Default(T Value) {
182
14.9M
    if (Result)
183
3.18M
      return std::move(*Result);
184
11.7M
    return Value;
185
11.7M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Default(llvm::LPAC::AluCode)
Line
Count
Source
181
108
  R Default(T Value) {
182
108
    if (Result)
183
108
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::Default(llvm::LPCC::CondCode)
Line
Count
Source
181
330
  R Default(T Value) {
182
330
    if (Result)
183
90
      return std::move(*Result);
184
240
    return Value;
185
240
  }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::Default(unsigned long long)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Default(llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
181
174
  R Default(T Value) {
182
174
    if (Result)
183
174
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::RISCVFPRndMode::RoundingMode, llvm::RISCVFPRndMode::RoundingMode>::Default(llvm::RISCVFPRndMode::RoundingMode)
Line
Count
Source
181
489
  R Default(T Value) {
182
489
    if (Result)
183
488
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::RISCVMCExpr::VariantKind, llvm::RISCVMCExpr::VariantKind>::Default(llvm::RISCVMCExpr::VariantKind)
Line
Count
Source
181
449
  R Default(T Value) {
182
449
    if (Result)
183
448
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::RISCVABI::ABI, llvm::RISCVABI::ABI>::Default(llvm::RISCVABI::ABI)
Line
Count
Source
181
1.12k
  R Default(T Value) {
182
1.12k
    if (Result)
183
155
      return std::move(*Result);
184
965
    return Value;
185
965
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Default(llvm::SparcMCExpr::VariantKind)
Line
Count
Source
181
144
  R Default(T Value) {
182
144
    if (Result)
183
144
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::Default(llvm::WebAssembly::ExprType)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
19
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::Default(llvm::X86::CondCode)
Line
Count
Source
181
487k
  R Default(T Value) {
182
487k
    if (Result)
183
348
      return std::move(*Result);
184
487k
    return Value;
185
487k
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Default(llvm::MachO::CPUSubTypeX86)
Line
Count
Source
181
4.21k
  R Default(T Value) {
182
4.21k
    if (Result)
183
675
      return std::move(*Result);
184
3.53k
    return Value;
185
3.53k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Default(llvm::EHPersonality)
Line
Count
Source
181
422k
  R Default(T Value) {
182
422k
    if (Result)
183
422k
      return std::move(*Result);
184
651
    return Value;
185
651
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Default(llvm::Intrinsic::ID)
Line
Count
Source
181
566
  R Default(T Value) {
182
566
    if (Result)
183
8
      return std::move(*Result);
184
558
    return Value;
185
558
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Default(llvm::DINode::DIFlags)
Line
Count
Source
181
4.64k
  R Default(T Value) {
182
4.64k
    if (Result)
183
4.63k
      return std::move(*Result);
184
5
    return Value;
185
5
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Default(llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
181
225
  R Default(T Value) {
182
225
    if (Result)
183
225
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
181
2.28k
  R Default(T Value) {
182
2.28k
    if (Result)
183
2.28k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
181
285
  R Default(T Value) {
182
285
    if (Result)
183
285
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::Default(llvm::DISubprogram::DISPFlags)
Line
Count
Source
181
546
  R Default(T Value) {
182
546
    if (Result)
183
546
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode>, llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode> >::Default(llvm::Optional<llvm::ConstrainedFPIntrinsic::RoundingMode>)
Line
Count
Source
181
4.08k
  R Default(T Value) {
182
4.08k
    if (Result)
183
4.08k
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior>, llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior> >::Default(llvm::Optional<llvm::ConstrainedFPIntrinsic::ExceptionBehavior>)
Line
Count
Source
181
5.61k
  R Default(T Value) {
182
5.61k
    if (Result)
183
5.61k
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Default(llvm::Attribute::AttrKind)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Default(llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
181
2.42k
  R Default(T Value) {
182
2.42k
    if (Result)
183
2.41k
      return std::move(*Result);
184
10
    return Value;
185
10
  }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::Default(std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>)
Line
Count
Source
181
12.3k
  R Default(T Value) {
182
12.3k
    if (Result)
183
12.2k
      return std::move(*Result);
184
37
    return Value;
185
37
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Default(llvm::COFF::COMDATType)
Line
Count
Source
181
306
  R Default(T Value) {
182
306
    if (Result)
183
305
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Default(llvm::MCSymbolAttr)
Line
Count
Source
181
2.90k
  R Default(T Value) {
182
2.90k
    if (Result)
183
2.89k
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::Optional<llvm::SectionKind>, llvm::Optional<llvm::SectionKind> >::Default(llvm::Optional<llvm::SectionKind>)
Line
Count
Source
181
13
  R Default(T Value) {
182
13
    if (Result)
183
13
      return std::move(*Result);
184
0
    return Value;
185
0
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::Default(llvm::AArch64::ArchKind)
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::Default(llvm::ARM::ISAKind)
Line
Count
Source
181
129k
  R Default(T Value) {
182
129k
    if (Result)
183
129k
      return std::move(*Result);
184
10
    return Value;
185
10
  }
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::Default(llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>)
Line
Count
Source
181
37
  R Default(T Value) {
182
37
    if (Result)
183
36
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::Default(llvm::Triple::SubArchType)
Line
Count
Source
181
30.4k
  R Default(T Value) {
182
30.4k
    if (Result)
183
0
      return std::move(*Result);
184
30.4k
    return Value;
185
30.4k
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Default(llvm::Triple::VendorType)
Line
Count
Source
181
2.08M
  R Default(T Value) {
182
2.08M
    if (Result)
183
1.27M
      return std::move(*Result);
184
813k
    return Value;
185
813k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::Default(llvm::Triple::OSType)
Line
Count
Source
181
2.04M
  R Default(T Value) {
182
2.04M
    if (Result)
183
1.74M
      return std::move(*Result);
184
307k
    return Value;
185
307k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::Default(llvm::Triple::ObjectFormatType)
Line
Count
Source
181
612k
  R Default(T Value) {
182
612k
    if (Result)
183
25.6k
      return std::move(*Result);
184
587k
    return Value;
185
587k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Default(llvm::Triple::ArchType)
Line
Count
Source
181
2.15M
  R Default(T Value) {
182
2.15M
    if (Result)
183
1.98M
      return std::move(*Result);
184
173k
    return Value;
185
173k
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Default(llvm::Triple::EnvironmentType)
Line
Count
Source
181
729k
  R Default(T Value) {
182
729k
    if (Result)
183
559k
      return std::move(*Result);
184
169k
    return Value;
185
169k
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Default(clang::CudaArch)
Line
Count
Source
181
1.11k
  R Default(T Value) {
182
1.11k
    if (Result)
183
1.09k
      return std::move(*Result);
184
20
    return Value;
185
20
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Default(clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Default(clang::OpenMPDirectiveKind)
Line
Count
Source
181
483k
  R Default(T Value) {
182
483k
    if (Result)
183
397k
      return std::move(*Result);
184
85.7k
    return Value;
185
85.7k
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Default(clang::OpenMPClauseKind)
Line
Count
Source
181
83.6k
  R Default(T Value) {
182
83.6k
    if (Result)
183
81.5k
      return std::move(*Result);
184
2.10k
    return Value;
185
2.10k
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Default(clang::OpenMPDefaultClauseKind)
Line
Count
Source
181
791
  R Default(T Value) {
182
791
    if (Result)
183
653
      return std::move(*Result);
184
138
    return Value;
185
138
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Default(clang::OpenMPProcBindClauseKind)
Line
Count
Source
181
520
  R Default(T Value) {
182
520
    if (Result)
183
406
      return std::move(*Result);
184
114
    return Value;
185
114
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Default(clang::OpenMPDependClauseKind)
Line
Count
Source
181
2.68k
  R Default(T Value) {
182
2.68k
    if (Result)
183
2.56k
      return std::move(*Result);
184
114
    return Value;
185
114
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Default(clang::OpenMPLinearClauseKind)
Line
Count
Source
181
184
  R Default(T Value) {
182
184
    if (Result)
183
166
      return std::move(*Result);
184
18
    return Value;
185
18
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Default(clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
181
1.30k
  R Default(T Value) {
182
1.30k
    if (Result)
183
1.15k
      return std::move(*Result);
184
144
    return Value;
185
144
  }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::Default(clang::OpenMPAtomicDefaultMemOrderClauseKind)
Line
Count
Source
181
23
  R Default(T Value) {
182
23
    if (Result)
183
20
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::Default(clang::SanitizerMask)
Line
Count
Source
181
10.0k
  R Default(T Value) {
182
10.0k
    if (Result)
183
10.0k
      return std::move(*Result);
184
6
    return Value;
185
6
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Default(clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
0
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Default(clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
181
233k
  R Default(T Value) {
182
233k
    if (Result)
183
93.1k
      return std::move(*Result);
184
139k
    return Value;
185
139k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Default(clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
181
233k
  R Default(T Value) {
182
233k
    if (Result)
183
29.8k
      return std::move(*Result);
184
203k
    return Value;
185
203k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Default(clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
181
233k
  R Default(T Value) {
182
233k
    if (Result)
183
83
      return std::move(*Result);
184
232k
    return Value;
185
232k
  }
llvm::StringSwitch<char, char>::Default(char)
Line
Count
Source
181
498
  R Default(T Value) {
182
498
    if (Result)
183
267
      return std::move(*Result);
184
231
    return Value;
185
231
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Default(clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
181
96.6k
  R Default(T Value) {
182
96.6k
    if (Result)
183
29.0k
      return std::move(*Result);
184
67.6k
    return Value;
185
67.6k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Default(llvm::FloatABI::ABIType)
Line
Count
Source
181
21.4k
  R Default(T Value) {
182
21.4k
    if (Result)
183
2.26k
      return std::move(*Result);
184
19.1k
    return Value;
185
19.1k
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
181
78
  R Default(T Value) {
182
78
    if (Result)
183
73
      return std::move(*Result);
184
5
    return Value;
185
5
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Default(llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
181
551
  R Default(T Value) {
182
551
    if (Result)
183
551
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Default(llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
18
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Default(llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
181
6
  R Default(T Value) {
182
6
    if (Result)
183
6
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Default(llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
181
5.14k
  R Default(T Value) {
182
5.14k
    if (Result)
183
5.14k
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Default(llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
181
2.75k
  R Default(T Value) {
182
2.75k
    if (Result)
183
2.75k
      return std::move(*Result);
184
1
    return Value;
185
1
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::LoopHintAttr::OptionType>, llvm::Optional<clang::LoopHintAttr::OptionType> >::Default(llvm::Optional<clang::LoopHintAttr::OptionType>)
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::LoopHintAttr::LoopHintState>, llvm::Optional<clang::LoopHintAttr::LoopHintState> >::Default(llvm::Optional<clang::LoopHintAttr::LoopHintState>)
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
181
21
  R Default(T Value) {
182
21
    if (Result)
183
20
      return std::move(*Result);
184
1
    return Value;
185
1
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy>, llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy> >::Default(llvm::Optional<clang::OMPAllocateDeclAttr::AllocatorTypeTy>)
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Default(llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
181
536
  R Default(T Value) {
182
536
    if (Result)
183
104
      return std::move(*Result);
184
432
    return Value;
185
432
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Default(llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
181
64
  R Default(T Value) {
182
64
    if (Result)
183
60
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Default(llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
181
16
  R Default(T Value) {
182
16
    if (Result)
183
16
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
181
7
  R Default(T Value) {
182
7
    if (Result)
183
7
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Default(llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
181
93
  R Default(T Value) {
182
93
    if (Result)
183
93
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
181
44
  R Default(T Value) {
182
44
    if (Result)
183
40
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
181
11
  R Default(T Value) {
182
11
    if (Result)
183
10
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
181
9
  R Default(T Value) {
182
9
    if (Result)
183
9
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
181
5
  R Default(T Value) {
182
5
    if (Result)
183
5
      return std::move(*Result);
184
0
    return Value;
185
0
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::Optional<clang::TypeVisibilityAttr::VisibilityType>, llvm::Optional<clang::TypeVisibilityAttr::VisibilityType> >::Default(llvm::Optional<clang::TypeVisibilityAttr::VisibilityType>)
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Default(llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
181
1.41M
  R Default(T Value) {
182
1.41M
    if (Result)
183
1.41M
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Default(std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
181
113
  R Default(T Value) {
182
113
    if (Result)
183
113
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Default(clang::driver::Distro::DistroType)
Line
Count
Source
181
3
  R Default(T Value) {
182
3
    if (Result)
183
3
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Default(llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
181
15.6k
  R Default(T Value) {
182
15.6k
    if (Result)
183
15.6k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Default(clang::driver::LTOKind)
Line
Count
Source
181
121
  R Default(T Value) {
182
121
    if (Result)
183
119
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Default(clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
181
801
  R Default(T Value) {
182
801
    if (Result)
183
797
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Default(clang::driver::Driver::SaveTempsMode)
Line
Count
Source
181
53
  R Default(T Value) {
182
53
    if (Result)
183
53
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Default(clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Default(clang::driver::tools::arm::FloatABI)
Line
Count
Source
181
2.82k
  R Default(T Value) {
182
2.82k
    if (Result)
183
2.82k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Default(clang::driver::tools::mips::FloatABI)
Line
Count
Source
181
12
  R Default(T Value) {
182
12
    if (Result)
183
12
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Default(clang::driver::tools::ppc::FloatABI)
Line
Count
Source
181
10
  R Default(T Value) {
182
10
    if (Result)
183
8
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Default(clang::driver::tools::sparc::FloatABI)
Line
Count
Source
181
12
  R Default(T Value) {
182
12
    if (Result)
183
8
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Default(clang::driver::types::ID)
Line
Count
Source
181
49.4k
  R Default(T Value) {
182
49.4k
    if (Result)
183
48.0k
      return std::move(*Result);
184
1.44k
    return Value;
185
1.44k
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Default(clang::DiagnosticLevelMask)
Line
Count
Source
181
20
  R Default(T Value) {
182
20
    if (Result)
183
19
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Default(clang::AnalysisStores)
Line
Count
Source
181
159
  R Default(T Value) {
182
159
    if (Result)
183
159
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Default(clang::AnalysisConstraints)
Line
Count
Source
181
888
  R Default(T Value) {
182
888
    if (Result)
183
888
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Default(clang::AnalysisDiagClients)
Line
Count
Source
181
190
  R Default(T Value) {
182
190
    if (Result)
183
190
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Default(clang::AnalysisPurgeMode)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
1
      return std::move(*Result);
184
0
    return Value;
185
0
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Default(clang::AnalysisInliningMode)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::Default(llvm::Optional<bool>)
Line
Count
Source
181
1.68M
  R Default(T Value) {
182
1.68M
    if (Result)
183
1.68M
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::Optional<clang::frontend::ActionKind>, llvm::Optional<clang::frontend::ActionKind> >::Default(llvm::Optional<clang::frontend::ActionKind>)
Line
Count
Source
181
34
  R Default(T Value) {
182
34
    if (Result)
183
34
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Default(clang::InputKind)
Line
Count
Source
181
52.7k
  R Default(T Value) {
182
52.7k
    if (Result)
183
47.1k
      return std::move(*Result);
184
5.63k
    return Value;
185
5.63k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Default(llvm::EABI)
Line
Count
Source
181
29
  R Default(T Value) {
182
29
    if (Result)
183
28
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Default(llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
181
22.5k
  R Default(T Value) {
182
22.5k
    if (Result)
183
22.5k
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Default(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
181
217
  R Default(T Value) {
182
217
    if (Result)
183
140
      return std::move(*Result);
184
77
    return Value;
185
77
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Default(clang::LangStandard::Kind)
Line
Count
Source
181
17.3k
  R Default(T Value) {
182
17.3k
    if (Result)
183
17.3k
      return std::move(*Result);
184
11
    return Value;
185
11
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Default(clang::LangOptions::CoreFoundationABI)
Line
Count
Source
181
30
  R Default(T Value) {
182
30
    if (Result)
183
30
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Default(clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
1
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Default(clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
181
8
  R Default(T Value) {
182
8
    if (Result)
183
8
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Default(llvm::MIToken::TokenKind)
Line
Count
Source
181
439k
  R Default(T Value) {
182
439k
    if (Result)
183
141k
      return std::move(*Result);
184
297k
    return Value;
185
297k
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Default(llvm::CmpInst::Predicate)
Line
Count
Source
181
1.54k
  R Default(T Value) {
182
1.54k
    if (Result)
183
1.54k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Default(llvm::AtomicOrdering)
Line
Count
Source
181
529
  R Default(T Value) {
182
529
    if (Result)
183
528
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Default(llvm::StringRef*)
Line
Count
Source
181
13.0k
  R Default(T Value) {
182
13.0k
    if (Result)
183
3.57k
      return std::move(*Result);
184
9.47k
    return Value;
185
9.47k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Default((anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
181
21.1k
  R Default(T Value) {
182
21.1k
    if (Result)
183
7.27k
      return std::move(*Result);
184
13.8k
    return Value;
185
13.8k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Default(void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
181
631
  R Default(T Value) {
182
631
    if (Result)
183
513
      return std::move(*Result);
184
118
    return Value;
185
118
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Default(void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
181
25.2k
  R Default(T Value) {
182
25.2k
    if (Result)
183
7.70k
      return std::move(*Result);
184
17.5k
    return Value;
185
17.5k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Default((anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
181
744
  R Default(T Value) {
182
744
    if (Result)
183
112
      return std::move(*Result);
184
632
    return Value;
185
632
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Default(void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
181
434
  R Default(T Value) {
182
434
    if (Result)
183
54
      return std::move(*Result);
184
380
    return Value;
185
380
  }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::Default((anonymous namespace)::MoveChecker::AggressivenessKind)
Line
Count
Source
181
49
  R Default(T Value) {
182
49
    if (Result)
183
48
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::Default(llvm::Optional<clang::ExplorationStrategyKind>)
Line
Count
Source
181
10.8k
  R Default(T Value) {
182
10.8k
    if (Result)
183
10.8k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::Default(llvm::Optional<clang::IPAKind>)
Line
Count
Source
181
124k
  R Default(T Value) {
182
124k
    if (Result)
183
124k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::Default(llvm::Optional<clang::CXXInlineableMemberKind>)
Line
Count
Source
181
14.1k
  R Default(T Value) {
182
14.1k
    if (Result)
183
14.1k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Default(llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
181
89
  R Default(T Value) {
182
89
    if (Result)
183
85
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Default(std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
181
1.33k
  R Default(T Value) {
182
1.33k
    if (Result)
183
1.33k
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Default(clang::PragmaMSCommentKind)
Line
Count
Source
181
77
  R Default(T Value) {
182
77
    if (Result)
183
74
      return std::move(*Result);
184
3
    return Value;
185
3
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>)
Line
Count
Source
181
22
  R Default(T Value) {
182
22
    if (Result)
183
21
      return std::move(*Result);
184
1
    return Value;
185
1
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
18
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Default(clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
181
39
  R Default(T Value) {
182
39
    if (Result)
183
38
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Default(clang::QualType)
Line
Count
Source
181
454
  R Default(T Value) {
182
454
    if (Result)
183
185
      return std::move(*Result);
184
269
    return Value;
185
269
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Default(clang::Sema::FormatStringType)
Line
Count
Source
181
43.6k
  R Default(T Value) {
182
43.6k
    if (Result)
183
43.6k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Default(clang::ObjCInterfaceDecl*)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Default(FormatAttrKind)
Line
Count
Source
181
51.5k
  R Default(T Value) {
182
51.5k
    if (Result)
183
51.5k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Default(clang::LoopHintAttr::OptionType)
Line
Count
Source
181
191
  R Default(T Value) {
182
191
    if (Result)
183
191
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::Default(clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*))
Line
Count
Source
181
14.0k
  R Default(T Value) {
182
14.0k
    if (Result)
183
14
      return std::move(*Result);
184
14.0k
    return Value;
185
14.0k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Default(clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
181
30
  R Default(T Value) {
182
30
    if (Result)
183
30
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::minimize_source_to_dependency_directives::TokenKind, clang::minimize_source_to_dependency_directives::TokenKind>::Default(clang::minimize_source_to_dependency_directives::TokenKind)
Line
Count
Source
181
137
  R Default(T Value) {
182
137
    if (Result)
183
121
      return std::move(*Result);
184
16
    return Value;
185
16
  }
llvm::StringSwitch<unsigned long, unsigned long>::Default(unsigned long)
Line
Count
Source
181
638k
  R Default(T Value) {
182
638k
    if (Result)
183
26
      return std::move(*Result);
184
638k
    return Value;
185
638k
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Default((anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
181
929
  R Default(T Value) {
182
929
    if (Result)
183
929
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Default(clang::MMToken::TokenKind)
Line
Count
Source
181
408k
  R Default(T Value) {
182
408k
    if (Result)
183
276k
      return std::move(*Result);
184
131k
    return Value;
185
131k
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Default(clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
181
94
  R Default(T Value) {
182
94
    if (Result)
183
93
      return std::move(*Result);
184
1
    return Value;
185
1
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Default((anonymous namespace)::AttributeKind)
Line
Count
Source
181
2.71k
  R Default(T Value) {
182
2.71k
    if (Result)
183
2.71k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Default(clang::diag::Severity)
Line
Count
Source
181
358
  R Default(T Value) {
182
358
    if (Result)
183
355
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<llvm::remarks::Format, llvm::remarks::Format>::Default(llvm::remarks::Format)
Line
Count
Source
181
92
  R Default(T Value) {
182
92
    if (Result)
183
91
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::remarks::Type, llvm::remarks::Type>::Default(llvm::remarks::Type)
Line
Count
Source
181
165
  R Default(T Value) {
182
165
    if (Result)
183
164
      return std::move(*Result);
184
1
    return Value;
185
1
  }
186
187
  LLVM_NODISCARD
188
24.5k
  operator R() {
189
24.5k
    assert(Result && "Fell off the end of a string-switch");
190
24.5k
    return std::move(*Result);
191
24.5k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::operator llvm::StringRef()
Line
Count
Source
188
131
  operator R() {
189
131
    assert(Result && "Fell off the end of a string-switch");
190
131
    return std::move(*Result);
191
131
  }
llvm::StringSwitch<char const*, char const*>::operator char const*()
Line
Count
Source
188
8
  operator R() {
189
8
    assert(Result && "Fell off the end of a string-switch");
190
8
    return std::move(*Result);
191
8
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::operator clang::CudaVersion()
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::operator llvm::X86::ProcessorFeatures()
Line
Count
Source
188
139
  operator R() {
189
139
    assert(Result && "Fell off the end of a string-switch");
190
139
    return std::move(*Result);
191
139
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::operator llvm::ThreadModel::Model()
Line
Count
Source
188
21.4k
  operator R() {
189
21.4k
    assert(Result && "Fell off the end of a string-switch");
190
21.4k
    return std::move(*Result);
191
21.4k
  }
llvm::StringSwitch<unsigned int, unsigned int>::operator unsigned int()
Line
Count
Source
188
2.07k
  operator R() {
189
2.07k
    assert(Result && "Fell off the end of a string-switch");
190
2.07k
    return std::move(*Result);
191
2.07k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::operator llvm::GlobalValue::ThreadLocalMode()
Line
Count
Source
188
25
  operator R() {
189
25
    assert(Result && "Fell off the end of a string-switch");
190
25
    return std::move(*Result);
191
25
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >()
Line
Count
Source
188
209
  operator R() {
189
209
    assert(Result && "Fell off the end of a string-switch");
190
209
    return std::move(*Result);
191
209
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::operator bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)()
Line
Count
Source
188
142
  operator R() {
189
142
    assert(Result && "Fell off the end of a string-switch");
190
142
    return std::move(*Result);
191
142
  }
llvm::StringSwitch<unsigned char, unsigned char>::operator unsigned char()
Line
Count
Source
188
260
  operator R() {
189
260
    assert(Result && "Fell off the end of a string-switch");
190
260
    return std::move(*Result);
191
260
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::operator clang::Sema::PragmaStack<clang::StringLiteral*>*()
Line
Count
Source
188
57
  operator R() {
189
57
    assert(Result && "Fell off the end of a string-switch");
190
57
    return std::move(*Result);
191
57
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::operator llvm::PassBuilder::OptimizationLevel()
Line
Count
Source
188
67
  operator R() {
189
67
    assert(Result && "Fell off the end of a string-switch");
190
67
    return std::move(*Result);
191
67
  }
192
};
193
194
} // end namespace llvm
195
196
#endif // LLVM_ADT_STRINGSWITCH_H