Coverage Report

Created: 2018-09-25 00: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
//                     The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//===----------------------------------------------------------------------===/
8
//
9
//  This file implements the StringSwitch template, which mimics a switch()
10
//  statement whose cases are string literals.
11
//
12
//===----------------------------------------------------------------------===/
13
#ifndef LLVM_ADT_STRINGSWITCH_H
14
#define LLVM_ADT_STRINGSWITCH_H
15
16
#include "llvm/ADT/StringRef.h"
17
#include "llvm/Support/Compiler.h"
18
#include <cassert>
19
#include <cstring>
20
21
namespace llvm {
22
23
/// A switch()-like statement whose cases are string literals.
24
///
25
/// The StringSwitch class is a simple form of a switch() statement that
26
/// determines whether the given string matches one of the given string
27
/// literals. The template type parameter \p T is the type of the value that
28
/// will be returned from the string-switch expression. For example,
29
/// the following code switches on the name of a color in \c argv[i]:
30
///
31
/// \code
32
/// Color color = StringSwitch<Color>(argv[i])
33
///   .Case("red", Red)
34
///   .Case("orange", Orange)
35
///   .Case("yellow", Yellow)
36
///   .Case("green", Green)
37
///   .Case("blue", Blue)
38
///   .Case("indigo", Indigo)
39
///   .Cases("violet", "purple", Violet)
40
///   .Default(UnknownColor);
41
/// \endcode
42
template<typename T, typename R = T>
43
class StringSwitch {
44
  /// The string we are matching.
45
  const StringRef Str;
46
47
  /// The pointer to the result of this switch statement, once known,
48
  /// null before that.
49
  Optional<T> Result;
50
51
public:
52
  LLVM_ATTRIBUTE_ALWAYS_INLINE
53
  explicit StringSwitch(StringRef S)
54
28.0M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
4
  : Str(S), Result() { }
llvm::StringSwitch<unsigned int, unsigned int>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.67M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.80M
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
112k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
358
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.02k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.58k
  : Str(S), Result() { }
llvm::StringSwitch<int, int>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
51.4k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
337
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
4.63k
  : Str(S), Result() { }
llvm::StringSwitch<bool*, bool*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
26
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
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
54
65.2k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.61k
  : Str(S), Result() { }
llvm::StringSwitch<bool, bool>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
10.0M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
108
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long long, unsigned long long>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
9.38k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
107
  : Str(S), Result() { }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
144
  : Str(S), Result() { }
llvm::StringSwitch<char const*, char const*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
688k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.96k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
473k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
7.46k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
547
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.58k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
165
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.85k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
29
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
753
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
751
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.15k
  : 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
54
12.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
155
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.67k
  : 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
54
118k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
47.6k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.85M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.82M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
571k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.93M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
683k
  : Str(S), Result() { }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.01k
  : 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
54
472k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
80.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
717
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
519
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.66k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
182
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
6.03k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.29k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
67
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
171k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
171k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
171k
  : Str(S), Result() { }
llvm::StringSwitch<char, char>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
309
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
80.6k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
20.7k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
20.7k
  : 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
54
71
  : Str(S), Result() { }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
15
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
15.4k
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
109
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
553
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
46
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.80k
  : 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
54
412
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
10
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
44.9k
  : Str(S), Result() { }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
169
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
746
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
142
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
48.7k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
29
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
20.1k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
14.8k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
5
  : 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
54
366
  : 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
54
11.9k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.26k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
709
  : 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
54
222
  : Str(S), Result() { }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
353
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
759
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
652
  : Str(S), Result() { }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
759
  : Str(S), Result() { }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
194
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
448
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
54
  : Str(S), Result() { }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
76
  : 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
54
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
54
19
  : 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
54
313
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
89
  : 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
54
137
  : Str(S), Result() { }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
39
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.28M
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
52
  : Str(S), Result() { }
llvm::StringSwitch<clang::QualType, clang::QualType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
384
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
42.8k
  : Str(S), Result() { }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<unsigned char, unsigned char>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
240
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
21
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
44
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
78
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
5.24k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.74k
  : Str(S), Result() { }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
50.7k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
513
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
6
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
7
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
9
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
5
  : Str(S), Result() { }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
166
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
80
  : 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
54
12.0k
  : Str(S), Result() { }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
28
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long, unsigned long>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
622k
  : Str(S), Result() { }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
894
  : Str(S), Result() { }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
399k
  : 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
54
78
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.62k
  : Str(S), Result() { }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
339
  : Str(S), Result() { }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
45
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
187k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
402
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
135
  : Str(S), Result() { }
llvm::StringSwitch<Flavor, Flavor>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.81k
  : Str(S), Result() { }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
17
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
30
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
155
  : Str(S), Result() { }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
406
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
33
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
10.9k
  : Str(S), Result() { }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
17.9k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
146
  : Str(S), Result() { }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
143
  : Str(S), Result() { }
55
56
  // StringSwitch is not copyable.
57
  StringSwitch(const StringSwitch &) = delete;
58
59
  // StringSwitch is not assignable due to 'Str' being 'const'.
60
  void operator=(const StringSwitch &) = delete;
61
  void operator=(StringSwitch &&other) = delete;
62
63
  StringSwitch(StringSwitch &&other)
64
    : Str(other.Str), Result(std::move(other.Result)) { }
65
66
9.49M
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::~StringSwitch()
Line
Count
Source
66
4
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::~StringSwitch()
Line
Count
Source
66
358
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::~StringSwitch()
Line
Count
Source
66
1.02k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::~StringSwitch()
Line
Count
Source
66
2.58k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::~StringSwitch()
Line
Count
Source
66
337
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::~StringSwitch()
Line
Count
Source
66
4.63k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::~StringSwitch()
Line
Count
Source
66
297
  ~StringSwitch() = default;
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::~StringSwitch()
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::~StringSwitch()
Line
Count
Source
66
2.61k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::~StringSwitch()
Line
Count
Source
66
330
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::~StringSwitch()
Line
Count
Source
66
108
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::~StringSwitch()
Line
Count
Source
66
144
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::~StringSwitch()
Line
Count
Source
66
3.96k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::~StringSwitch()
Line
Count
Source
66
473k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::~StringSwitch()
Line
Count
Source
66
7.46k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::~StringSwitch()
Line
Count
Source
66
547
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::~StringSwitch()
Line
Count
Source
66
3.58k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::~StringSwitch()
Line
Count
Source
66
753
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::~StringSwitch()
Line
Count
Source
66
751
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::~StringSwitch()
Line
Count
Source
66
2
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::~StringSwitch()
Line
Count
Source
66
2.15k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::~StringSwitch()
Line
Count
Source
66
155
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::~StringSwitch()
Line
Count
Source
66
2.67k
  ~StringSwitch() = default;
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::~StringSwitch()
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::~StringSwitch()
Line
Count
Source
66
118k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::~StringSwitch()
Line
Count
Source
66
1.93M
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::~StringSwitch()
Line
Count
Source
66
47.6k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::~StringSwitch()
Line
Count
Source
66
1.85M
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::~StringSwitch()
Line
Count
Source
66
1.82M
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::~StringSwitch()
Line
Count
Source
66
571k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::~StringSwitch()
Line
Count
Source
66
683k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::~StringSwitch()
Line
Count
Source
66
1.01k
  ~StringSwitch() = default;
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::~StringSwitch()
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::~StringSwitch()
Line
Count
Source
66
472k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::~StringSwitch()
Line
Count
Source
66
80.5k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::~StringSwitch()
Line
Count
Source
66
717
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::~StringSwitch()
Line
Count
Source
66
519
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::~StringSwitch()
Line
Count
Source
66
2.66k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::~StringSwitch()
Line
Count
Source
66
182
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::~StringSwitch()
Line
Count
Source
66
6.03k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::~StringSwitch()
Line
Count
Source
66
1.29k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::~StringSwitch()
Line
Count
Source
66
1
  ~StringSwitch() = default;
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::~StringSwitch()
Line
Count
Source
66
171k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::~StringSwitch()
Line
Count
Source
66
171k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::~StringSwitch()
Line
Count
Source
66
171k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::~StringSwitch()
Line
Count
Source
66
67
  ~StringSwitch() = default;
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::~StringSwitch()
Line
Count
Source
66
80.6k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::~StringSwitch()
Line
Count
Source
66
20.7k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::~StringSwitch()
Line
Count
Source
66
20.7k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::~StringSwitch()
Line
Count
Source
66
15
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::~StringSwitch()
Line
Count
Source
66
3
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::~StringSwitch()
Line
Count
Source
66
109
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::~StringSwitch()
Line
Count
Source
66
553
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::~StringSwitch()
Line
Count
Source
66
46
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::~StringSwitch()
Line
Count
Source
66
2
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::~StringSwitch()
Line
Count
Source
66
2.80k
  ~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
66
412
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::~StringSwitch()
Line
Count
Source
66
12
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::~StringSwitch()
Line
Count
Source
66
10
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::~StringSwitch()
Line
Count
Source
66
12
  ~StringSwitch() = default;
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::~StringSwitch()
Line
Count
Source
66
44.9k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::~StringSwitch()
Line
Count
Source
66
19
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::~StringSwitch()
Line
Count
Source
66
169
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::~StringSwitch()
Line
Count
Source
66
746
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::~StringSwitch()
Line
Count
Source
66
142
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::~StringSwitch()
Line
Count
Source
66
1
  ~StringSwitch() = default;
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::~StringSwitch()
llvm::StringSwitch<llvm::EABI, llvm::EABI>::~StringSwitch()
Line
Count
Source
66
29
  ~StringSwitch() = default;
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::~StringSwitch()
Line
Count
Source
66
14.8k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::~StringSwitch()
Line
Count
Source
66
1
  ~StringSwitch() = default;
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::~StringSwitch()
Line
Count
Source
66
5
  ~StringSwitch() = default;
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::~StringSwitch()
Line
Count
Source
66
709
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::~StringSwitch()
Line
Count
Source
66
759
  ~StringSwitch() = default;
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::~StringSwitch()
Line
Count
Source
66
652
  ~StringSwitch() = default;
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::~StringSwitch()
Line
Count
Source
66
759
  ~StringSwitch() = default;
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::~StringSwitch()
Line
Count
Source
66
194
  ~StringSwitch() = default;
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::~StringSwitch()
Line
Count
Source
66
76
  ~StringSwitch() = default;
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::~StringSwitch()
Line
Count
Source
66
39
  ~StringSwitch() = default;
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::~StringSwitch()
Line
Count
Source
66
42.8k
  ~StringSwitch() = default;
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::~StringSwitch()
Line
Count
Source
66
50.7k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::~StringSwitch()
Line
Count
Source
66
166
  ~StringSwitch() = default;
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::~StringSwitch()
Line
Count
Source
66
28
  ~StringSwitch() = default;
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::~StringSwitch()
Line
Count
Source
66
894
  ~StringSwitch() = default;
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::~StringSwitch()
Line
Count
Source
66
399k
  ~StringSwitch() = default;
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::~StringSwitch()
Line
Count
Source
66
78
  ~StringSwitch() = default;
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::~StringSwitch()
Line
Count
Source
66
2.62k
  ~StringSwitch() = default;
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::~StringSwitch()
Line
Count
Source
66
339
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::~StringSwitch()
Line
Count
Source
66
45
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::~StringSwitch()
Line
Count
Source
66
187k
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::~StringSwitch()
Line
Count
Source
66
402
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::~StringSwitch()
Line
Count
Source
66
135
  ~StringSwitch() = default;
llvm::StringSwitch<Flavor, Flavor>::~StringSwitch()
Line
Count
Source
66
3.81k
  ~StringSwitch() = default;
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::~StringSwitch()
Line
Count
Source
66
17
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::~StringSwitch()
Line
Count
Source
66
30
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::~StringSwitch()
Line
Count
Source
66
155
  ~StringSwitch() = default;
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::~StringSwitch()
Line
Count
Source
66
146
  ~StringSwitch() = default;
67
68
  // Case-sensitive case matchers
69
  LLVM_ATTRIBUTE_ALWAYS_INLINE
70
806M
  StringSwitch &Case(StringLiteral S, T Value) {
71
806M
    if (!Result && 
Str == S326M
) {
72
11.3M
      Result = std::move(Value);
73
11.3M
    }
74
806M
    return *this;
75
806M
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Case(llvm::StringLiteral, llvm::DebugCompressionType)
Line
Count
Source
70
8
  StringSwitch &Case(StringLiteral S, T Value) {
71
8
    if (!Result && 
Str == S6
) {
72
3
      Result = std::move(Value);
73
3
    }
74
8
    return *this;
75
8
  }
llvm::StringSwitch<unsigned int, unsigned int>::Case(llvm::StringLiteral, unsigned int)
Line
Count
Source
70
38.4M
  StringSwitch &Case(StringLiteral S, T Value) {
71
38.4M
    if (!Result && 
Str == S33.9M
) {
72
324k
      Result = std::move(Value);
73
324k
    }
74
38.4M
    return *this;
75
38.4M
  }
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
70
68.5M
  StringSwitch &Case(StringLiteral S, T Value) {
71
68.5M
    if (!Result && 
Str == S51.3M
) {
72
2.22M
      Result = std::move(Value);
73
2.22M
    }
74
68.5M
    return *this;
75
68.5M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Case(llvm::StringLiteral, std::__1::pair<int, int>)
Line
Count
Source
70
979k
  StringSwitch &Case(StringLiteral S, T Value) {
71
979k
    if (!Result && 
Str == S528k
) {
72
112k
      Result = std::move(Value);
73
112k
    }
74
979k
    return *this;
75
979k
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Case(llvm::StringLiteral, llvm::AArch64CC::CondCode)
Line
Count
Source
70
6.36k
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.36k
    if (!Result && 
Str == S2.82k
) {
72
336
      Result = std::move(Value);
73
336
    }
74
6.36k
    return *this;
75
6.36k
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
70
37.7k
  StringSwitch &Case(StringLiteral S, T Value) {
71
37.7k
    if (!Result && 
Str == S18.1k
) {
72
1.02k
      Result = std::move(Value);
73
1.02k
    }
74
37.7k
    return *this;
75
37.7k
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Case(llvm::StringLiteral, llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
70
33.6k
  StringSwitch &Case(StringLiteral S, T Value) {
71
33.6k
    if (!Result && 
Str == S17.5k
) {
72
2.03k
      Result = std::move(Value);
73
2.03k
    }
74
33.6k
    return *this;
75
33.6k
  }
llvm::StringSwitch<int, int>::Case(llvm::StringLiteral, int)
Line
Count
Source
70
13.3M
  StringSwitch &Case(StringLiteral S, T Value) {
71
13.3M
    if (!Result && 
Str == S6.02M
) {
72
47.8k
      Result = std::move(Value);
73
47.8k
    }
74
13.3M
    return *this;
75
13.3M
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
70
1.01k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.01k
    if (!Result && 
Str == S985
) {
72
22
      Result = std::move(Value);
73
22
    }
74
1.01k
    return *this;
75
1.01k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
70
64.8k
  StringSwitch &Case(StringLiteral S, T Value) {
71
64.8k
    if (!Result && 
Str == S64.4k
) {
72
72
      Result = std::move(Value);
73
72
    }
74
64.8k
    return *this;
75
64.8k
  }
llvm::StringSwitch<bool*, bool*>::Case(llvm::StringLiteral, bool*)
Line
Count
Source
70
104
  StringSwitch &Case(StringLiteral S, T Value) {
71
104
    if (!Result && 
Str == S63
) {
72
26
      Result = std::move(Value);
73
26
    }
74
104
    return *this;
75
104
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
70
594
  StringSwitch &Case(StringLiteral S, T Value) {
71
594
    if (!Result && 
Str == S560
) {
72
42
      Result = std::move(Value);
73
42
    }
74
594
    return *this;
75
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
70
410k
  StringSwitch &Case(StringLiteral S, T Value) {
71
410k
    if (!Result && 
Str == S353k
) {
72
65.2k
      Result = std::move(Value);
73
65.2k
    }
74
410k
    return *this;
75
410k
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Case(llvm::StringLiteral, llvm::ARM_AM::ShiftOpc)
Line
Count
Source
70
15.6k
  StringSwitch &Case(StringLiteral S, T Value) {
71
15.6k
    if (!Result && 
Str == S8.22k
) {
72
2.27k
      Result = std::move(Value);
73
2.27k
    }
74
15.6k
    return *this;
75
15.6k
  }
llvm::StringSwitch<bool, bool>::Case(llvm::StringLiteral, bool)
Line
Count
Source
70
442M
  StringSwitch &Case(StringLiteral S, T Value) {
71
442M
    if (!Result && 
Str == S140M
) {
72
2.68M
      Result = std::move(Value);
73
2.68M
    }
74
442M
    return *this;
75
442M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Case(llvm::StringLiteral, llvm::LPAC::AluCode)
Line
Count
Source
70
1.08k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.08k
    if (!Result && 
Str == S537
) {
72
108
      Result = std::move(Value);
73
108
    }
74
1.08k
    return *this;
75
1.08k
  }
llvm::StringSwitch<unsigned long long, unsigned long long>::Case(llvm::StringLiteral, unsigned long long)
Line
Count
Source
70
562k
  StringSwitch &Case(StringLiteral S, T Value) {
71
562k
    if (!Result && 
Str == S355k
) {
72
9.37k
      Result = std::move(Value);
73
9.37k
    }
74
562k
    return *this;
75
562k
  }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
70
3.03k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.03k
    if (!Result && 
Str == S1.48k
) {
72
107
      Result = std::move(Value);
73
107
    }
74
3.03k
    return *this;
75
3.03k
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::SparcMCExpr::VariantKind)
Line
Count
Source
70
4.46k
  StringSwitch &Case(StringLiteral S, T Value) {
71
4.46k
    if (!Result && 
Str == S2.51k
) {
72
144
      Result = std::move(Value);
73
144
    }
74
4.46k
    return *this;
75
4.46k
  }
llvm::StringSwitch<char const*, char const*>::Case(llvm::StringLiteral, char const*)
Line
Count
Source
70
1.18M
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.18M
    if (!Result && 
Str == S1.16M
) {
72
13.2k
      Result = std::move(Value);
73
13.2k
    }
74
1.18M
    return *this;
75
1.18M
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Case(llvm::StringLiteral, llvm::MachO::CPUSubTypeX86)
Line
Count
Source
70
3.96k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.96k
    if (!Result && Str == S) {
72
629
      Result = std::move(Value);
73
629
    }
74
3.96k
    return *this;
75
3.96k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Case(llvm::StringLiteral, llvm::EHPersonality)
Line
Count
Source
70
7.10M
  StringSwitch &Case(StringLiteral S, T Value) {
71
7.10M
    if (!Result && 
Str == S986k
) {
72
473k
      Result = std::move(Value);
73
473k
    }
74
7.10M
    return *this;
75
7.10M
  }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::Case(llvm::StringLiteral, llvm::objcarc::ARCInstKind)
Line
Count
Source
70
90.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
90.3k
    if (!Result && 
Str == S34.5k
) {
72
4.86k
      Result = std::move(Value);
73
4.86k
    }
74
90.3k
    return *this;
75
90.3k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Case(llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
70
2.18k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.18k
    if (!Result && 
Str == S2.17k
) {
72
8
      Result = std::move(Value);
73
8
    }
74
2.18k
    return *this;
75
2.18k
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Case(llvm::StringLiteral, llvm::DINode::DIFlags)
Line
Count
Source
70
118k
  StringSwitch &Case(StringLiteral S, T Value) {
71
118k
    if (!Result && 
Str == S39.4k
) {
72
3.57k
      Result = std::move(Value);
73
3.57k
    }
74
118k
    return *this;
75
118k
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
70
330
  StringSwitch &Case(StringLiteral S, T Value) {
71
330
    if (!Result && 
Str == S170
) {
72
165
      Result = std::move(Value);
73
165
    }
74
330
    return *this;
75
330
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
70
7.40k
  StringSwitch &Case(StringLiteral S, T Value) {
71
7.40k
    if (!Result && 
Str == S3.72k
) {
72
1.85k
      Result = std::move(Value);
73
1.85k
    }
74
7.40k
    return *this;
75
7.40k
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
70
87
  StringSwitch &Case(StringLiteral S, T Value) {
71
87
    if (!Result && 
Str == S74
) {
72
29
      Result = std::move(Value);
73
29
    }
74
87
    return *this;
75
87
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
70
3.76k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.76k
    if (!Result && 
Str == S761
) {
72
751
      Result = std::move(Value);
73
751
    }
74
3.76k
    return *this;
75
3.76k
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
70
2.25k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.25k
    if (!Result && Str == S) {
72
749
      Result = std::move(Value);
73
749
    }
74
2.25k
    return *this;
75
2.25k
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Case(llvm::StringLiteral, llvm::Attribute::AttrKind)
Line
Count
Source
70
74
  StringSwitch &Case(StringLiteral S, T Value) {
71
74
    if (!Result && 
Str == S24
) {
72
2
      Result = std::move(Value);
73
2
    }
74
74
    return *this;
75
74
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Case(llvm::StringLiteral, llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
70
230k
  StringSwitch &Case(StringLiteral S, T Value) {
71
230k
    if (!Result && 
Str == S69.0k
) {
72
2.14k
      Result = std::move(Value);
73
2.14k
    }
74
230k
    return *this;
75
230k
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Case(llvm::StringLiteral, llvm::COFF::COMDATType)
Line
Count
Source
70
1.08k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.08k
    if (!Result && 
Str == S365
) {
72
154
      Result = std::move(Value);
73
154
    }
74
1.08k
    return *this;
75
1.08k
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Case(llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
70
31.4k
  StringSwitch &Case(StringLiteral S, T Value) {
71
31.4k
    if (!Result && 
Str == S6.96k
) {
72
2.66k
      Result = std::move(Value);
73
2.66k
    }
74
31.4k
    return *this;
75
31.4k
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::Case(llvm::StringLiteral, llvm::AArch64::ArchKind)
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Case(llvm::StringLiteral, llvm::Triple::VendorType)
Line
Count
Source
70
29.6M
  StringSwitch &Case(StringLiteral S, T Value) {
71
29.6M
    if (!Result && 
Str == S13.0M
) {
72
1.11M
      Result = std::move(Value);
73
1.11M
    }
74
29.6M
    return *this;
75
29.6M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Case(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
70
134M
  StringSwitch &Case(StringLiteral S, T Value) {
71
134M
    if (!Result && 
Str == S41.1M
) {
72
1.75M
      Result = std::move(Value);
73
1.75M
    }
74
134M
    return *this;
75
134M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Case(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
70
137k
  StringSwitch &Case(StringLiteral S, T Value) {
71
137k
    if (!Result && 
Str == S137k
) {
72
335
      Result = std::move(Value);
73
335
    }
74
137k
    return *this;
75
137k
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Case(llvm::StringLiteral, clang::CudaArch)
Line
Count
Source
70
28.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
28.3k
    if (!Result && 
Str == S5.62k
) {
72
1.00k
      Result = std::move(Value);
73
1.00k
    }
74
28.3k
    return *this;
75
28.3k
  }
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
70
24.5M
  StringSwitch &Case(StringLiteral S, T Value) {
71
24.5M
    if (!Result && 
Str == S9.38M
) {
72
391k
      Result = std::move(Value);
73
391k
    }
74
24.5M
    return *this;
75
24.5M
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Case(llvm::StringLiteral, clang::OpenMPClauseKind)
Line
Count
Source
70
3.94M
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.94M
    if (!Result && 
Str == S1.41M
) {
72
78.4k
      Result = std::move(Value);
73
78.4k
    }
74
3.94M
    return *this;
75
3.94M
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDefaultClauseKind)
Line
Count
Source
70
1.43k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.43k
    if (!Result && 
Str == S1.03k
) {
72
591
      Result = std::move(Value);
73
591
    }
74
1.43k
    return *this;
75
1.43k
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Case(llvm::StringLiteral, clang::OpenMPProcBindClauseKind)
Line
Count
Source
70
1.55k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.55k
    if (!Result && 
Str == S1.14k
) {
72
405
      Result = std::move(Value);
73
405
    }
74
1.55k
    return *this;
75
1.55k
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDependClauseKind)
Line
Count
Source
70
13.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
13.3k
    if (!Result && 
Str == S5.77k
) {
72
2.55k
      Result = std::move(Value);
73
2.55k
    }
74
13.3k
    return *this;
75
13.3k
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Case(llvm::StringLiteral, clang::OpenMPLinearClauseKind)
Line
Count
Source
70
546
  StringSwitch &Case(StringLiteral S, T Value) {
71
546
    if (!Result && 
Str == S390
) {
72
164
      Result = std::move(Value);
73
164
    }
74
546
    return *this;
75
546
  }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::Case(llvm::StringLiteral, clang::OpenMPMapClauseKind)
Line
Count
Source
70
42.2k
  StringSwitch &Case(StringLiteral S, T Value) {
71
42.2k
    if (!Result && 
Str == S30.2k
) {
72
3.21k
      Result = std::move(Value);
73
3.21k
    }
74
42.2k
    return *this;
75
42.2k
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
70
1.29k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.29k
    if (!Result && Str == S) {
72
1.15k
      Result = std::move(Value);
73
1.15k
    }
74
1.29k
    return *this;
75
1.29k
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
70
1
  StringSwitch &Case(StringLiteral S, T Value) {
71
1
    if (!Result && Str == S) {
72
0
      Result = std::move(Value);
73
0
    }
74
1
    return *this;
75
1
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::Case(llvm::StringLiteral, llvm::X86::ProcessorFeatures)
Line
Count
Source
70
2.07k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.07k
    if (!Result && 
Str == S631
) {
72
67
      Result = std::move(Value);
73
67
    }
74
2.07k
    return *this;
75
2.07k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
70
1.54M
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.54M
    if (!Result && 
Str == S1.43M
) {
72
79.0k
      Result = std::move(Value);
73
79.0k
    }
74
1.54M
    return *this;
75
1.54M
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
70
514k
  StringSwitch &Case(StringLiteral S, T Value) {
71
514k
    if (!Result && 
Str == S514k
) {
72
26.2k
      Result = std::move(Value);
73
26.2k
    }
74
514k
    return *this;
75
514k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
70
514k
  StringSwitch &Case(StringLiteral S, T Value) {
71
514k
    if (!Result && 
Str == S514k
) {
72
80
      Result = std::move(Value);
73
80
    }
74
514k
    return *this;
75
514k
  }
llvm::StringSwitch<char, char>::Case(llvm::StringLiteral, char)
Line
Count
Source
70
2.32k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.32k
    if (!Result && 
Str == S1.45k
) {
72
80
      Result = std::move(Value);
73
80
    }
74
2.32k
    return *this;
75
2.32k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
70
5.97M
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.97M
    if (!Result && 
Str == S4.72M
) {
72
24.6k
      Result = std::move(Value);
73
24.6k
    }
74
5.97M
    return *this;
75
5.97M
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::Case(llvm::StringLiteral, llvm::ThreadModel::Model)
Line
Count
Source
70
41.4k
  StringSwitch &Case(StringLiteral S, T Value) {
71
41.4k
    if (!Result && 
Str == S20.7k
) {
72
20.7k
      Result = std::move(Value);
73
20.7k
    }
74
41.4k
    return *this;
75
41.4k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Case(llvm::StringLiteral, llvm::FloatABI::ABIType)
Line
Count
Source
70
62.2k
  StringSwitch &Case(StringLiteral S, T Value) {
71
62.2k
    if (!Result && 
Str == S59.5k
) {
72
2.21k
      Result = std::move(Value);
73
2.21k
    }
74
62.2k
    return *this;
75
62.2k
  }
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
70
2.41k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.41k
    if (!Result && 
Str == S1.45k
) {
72
71
      Result = std::move(Value);
73
71
    }
74
2.41k
    return *this;
75
2.41k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::Case(llvm::StringLiteral, llvm::GlobalValue::ThreadLocalMode)
Line
Count
Source
70
60
  StringSwitch &Case(StringLiteral S, T Value) {
71
60
    if (!Result && 
Str == S43
) {
72
15
      Result = std::move(Value);
73
15
    }
74
60
    return *this;
75
60
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Case(llvm::StringLiteral, clang::driver::Distro::DistroType)
Line
Count
Source
70
48
  StringSwitch &Case(StringLiteral S, T Value) {
71
48
    if (!Result && 
Str == S35
) {
72
3
      Result = std::move(Value);
73
3
    }
74
48
    return *this;
75
48
  }
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
70
61.8k
  StringSwitch &Case(StringLiteral S, T Value) {
71
61.8k
    if (!Result && 
Str == S31.8k
) {
72
15.4k
      Result = std::move(Value);
73
15.4k
    }
74
61.8k
    return *this;
75
61.8k
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Case(llvm::StringLiteral, clang::driver::LTOKind)
Line
Count
Source
70
218
  StringSwitch &Case(StringLiteral S, T Value) {
71
218
    if (!Result && 
Str == S133
) {
72
107
      Result = std::move(Value);
73
107
    }
74
218
    return *this;
75
218
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Case(llvm::StringLiteral, clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
70
1.65k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.65k
    if (!Result && 
Str == S624
) {
72
549
      Result = std::move(Value);
73
549
    }
74
1.65k
    return *this;
75
1.65k
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Case(llvm::StringLiteral, clang::driver::Driver::SaveTempsMode)
Line
Count
Source
70
92
  StringSwitch &Case(StringLiteral S, T Value) {
71
92
    if (!Result && 
Str == S50
) {
72
46
      Result = std::move(Value);
73
46
    }
74
92
    return *this;
75
92
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Case(llvm::StringLiteral, clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
70
4
  StringSwitch &Case(StringLiteral S, T Value) {
71
4
    if (!Result && 
Str == S3
) {
72
2
      Result = std::move(Value);
73
2
    }
74
4
    return *this;
75
4
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::arm::FloatABI)
Line
Count
Source
70
8.42k
  StringSwitch &Case(StringLiteral S, T Value) {
71
8.42k
    if (!Result && 
Str == S4.78k
) {
72
2.80k
      Result = std::move(Value);
73
2.80k
    }
74
8.42k
    return *this;
75
8.42k
  }
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
70
1.64k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.64k
    if (!Result && 
Str == S1.06k
) {
72
327
      Result = std::move(Value);
73
327
    }
74
1.64k
    return *this;
75
1.64k
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::mips::FloatABI)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S16
) {
72
12
      Result = std::move(Value);
73
12
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::ppc::FloatABI)
Line
Count
Source
70
20
  StringSwitch &Case(StringLiteral S, T Value) {
71
20
    if (!Result && 
Str == S14
) {
72
8
      Result = std::move(Value);
73
8
    }
74
20
    return *this;
75
20
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::sparc::FloatABI)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S20
) {
72
8
      Result = std::move(Value);
73
8
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Case(llvm::StringLiteral, clang::driver::types::ID)
Line
Count
Source
70
2.51M
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.51M
    if (!Result && 
Str == S719k
) {
72
43.5k
      Result = std::move(Value);
73
43.5k
    }
74
2.51M
    return *this;
75
2.51M
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Case(llvm::StringLiteral, clang::DiagnosticLevelMask)
Line
Count
Source
70
76
  StringSwitch &Case(StringLiteral S, T Value) {
71
76
    if (!Result && 
Str == S37
) {
72
18
      Result = std::move(Value);
73
18
    }
74
76
    return *this;
75
76
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Case(llvm::StringLiteral, clang::AnalysisStores)
Line
Count
Source
70
169
  StringSwitch &Case(StringLiteral S, T Value) {
71
169
    if (!Result && Str == S) {
72
169
      Result = std::move(Value);
73
169
    }
74
169
    return *this;
75
169
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Case(llvm::StringLiteral, clang::AnalysisConstraints)
Line
Count
Source
70
1.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.49k
    if (!Result && 
Str == S746
) {
72
746
      Result = std::move(Value);
73
746
    }
74
1.49k
    return *this;
75
1.49k
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Case(llvm::StringLiteral, clang::AnalysisDiagClients)
Line
Count
Source
70
852
  StringSwitch &Case(StringLiteral S, T Value) {
71
852
    if (!Result && 
Str == S631
) {
72
142
      Result = std::move(Value);
73
142
    }
74
852
    return *this;
75
852
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Case(llvm::StringLiteral, clang::AnalysisPurgeMode)
Line
Count
Source
70
3
  StringSwitch &Case(StringLiteral S, T Value) {
71
3
    if (!Result && Str == S) {
72
1
      Result = std::move(Value);
73
1
    }
74
3
    return *this;
75
3
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Case(llvm::StringLiteral, clang::AnalysisInliningMode)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Case(llvm::StringLiteral, clang::InputKind)
Line
Count
Source
70
697k
  StringSwitch &Case(StringLiteral S, T Value) {
71
697k
    if (!Result && 
Str == S363k
) {
72
43.1k
      Result = std::move(Value);
73
43.1k
    }
74
697k
    return *this;
75
697k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Case(llvm::StringLiteral, llvm::EABI)
Line
Count
Source
70
116
  StringSwitch &Case(StringLiteral S, T Value) {
71
116
    if (!Result && 
Str == S112
) {
72
28
      Result = std::move(Value);
73
28
    }
74
116
    return *this;
75
116
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Case(llvm::StringLiteral, llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
70
120k
  StringSwitch &Case(StringLiteral S, T Value) {
71
120k
    if (!Result && 
Str == S36.4k
) {
72
20.1k
      Result = std::move(Value);
73
20.1k
    }
74
120k
    return *this;
75
120k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Case(llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
70
748k
  StringSwitch &Case(StringLiteral S, T Value) {
71
748k
    if (!Result && 
Str == S370k
) {
72
14.8k
      Result = std::move(Value);
73
14.8k
    }
74
748k
    return *this;
75
748k
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Case(llvm::StringLiteral, clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
70
3
  StringSwitch &Case(StringLiteral S, T Value) {
71
3
    if (!Result && Str == S) {
72
1
      Result = std::move(Value);
73
1
    }
74
3
    return *this;
75
3
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Case(llvm::StringLiteral, clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
70
25
  StringSwitch &Case(StringLiteral S, T Value) {
71
25
    if (!Result && 
Str == S15
) {
72
5
      Result = std::move(Value);
73
5
    }
74
25
    return *this;
75
25
  }
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
70
8.78k
  StringSwitch &Case(StringLiteral S, T Value) {
71
8.78k
    if (!Result && 
Str == S5.72k
) {
72
264
      Result = std::move(Value);
73
264
    }
74
8.78k
    return *this;
75
8.78k
  }
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
70
107k
  StringSwitch &Case(StringLiteral S, T Value) {
71
107k
    if (!Result && 
Str == S63.0k
) {
72
6.94k
      Result = std::move(Value);
73
6.94k
    }
74
107k
    return *this;
75
107k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Case(llvm::StringLiteral, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
70
7.23k
  StringSwitch &Case(StringLiteral S, T Value) {
71
7.23k
    if (!Result && 
Str == S6.78k
) {
72
80
      Result = std::move(Value);
73
80
    }
74
7.23k
    return *this;
75
7.23k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Case(llvm::StringLiteral, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
70
12.7k
  StringSwitch &Case(StringLiteral S, T Value) {
71
12.7k
    if (!Result && 
Str == S12.5k
) {
72
25
      Result = std::move(Value);
73
25
    }
74
12.7k
    return *this;
75
12.7k
  }
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
70
666
  StringSwitch &Case(StringLiteral S, T Value) {
71
666
    if (!Result && 
Str == S568
) {
72
54
      Result = std::move(Value);
73
54
    }
74
666
    return *this;
75
666
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
70
1.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.49k
    if (!Result && 
Str == S1.30k
) {
72
63
      Result = std::move(Value);
73
63
    }
74
1.49k
    return *this;
75
1.49k
  }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::Case(llvm::StringLiteral, clang::AnalyzerOptions::UserModeKind)
Line
Count
Source
70
1.51k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.51k
    if (!Result && 
Str == S1.51k
) {
72
759
      Result = std::move(Value);
73
759
    }
74
1.51k
    return *this;
75
1.51k
  }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::Case(llvm::StringLiteral, clang::AnalyzerOptions::ExplorationStrategyKind)
Line
Count
Source
70
3.26k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.26k
    if (!Result && 
Str == S2.59k
) {
72
652
      Result = std::move(Value);
73
652
    }
74
3.26k
    return *this;
75
3.26k
  }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::Case(llvm::StringLiteral, clang::IPAKind)
Line
Count
Source
70
3.79k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.79k
    if (!Result && 
Str == S3.77k
) {
72
759
      Result = std::move(Value);
73
759
    }
74
3.79k
    return *this;
75
3.79k
  }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::Case(llvm::StringLiteral, clang::CXXInlineableMemberKind)
Line
Count
Source
70
776
  StringSwitch &Case(StringLiteral S, T Value) {
71
776
    if (!Result && 
Str == S375
) {
72
194
      Result = std::move(Value);
73
194
    }
74
776
    return *this;
75
776
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
70
1.34k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.34k
    if (!Result && 
Str == S1.30k
) {
72
82
      Result = std::move(Value);
73
82
    }
74
1.34k
    return *this;
75
1.34k
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
70
108
  StringSwitch &Case(StringLiteral S, T Value) {
71
108
    if (!Result && 
Str == S90
) {
72
52
      Result = std::move(Value);
73
52
    }
74
108
    return *this;
75
108
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Case(llvm::StringLiteral, clang::PragmaMSCommentKind)
Line
Count
Source
70
380
  StringSwitch &Case(StringLiteral S, T Value) {
71
380
    if (!Result && 
Str == S167
) {
72
73
      Result = std::move(Value);
73
73
    }
74
380
    return *this;
75
380
  }
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
70
22
  StringSwitch &Case(StringLiteral S, T Value) {
71
22
    if (!Result && Str == S) {
72
21
      Result = std::move(Value);
73
21
    }
74
22
    return *this;
75
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
70
57
  StringSwitch &Case(StringLiteral S, T Value) {
71
57
    if (!Result && 
Str == S43
) {
72
18
      Result = std::move(Value);
73
18
    }
74
57
    return *this;
75
57
  }
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
70
4.69k
  StringSwitch &Case(StringLiteral S, T Value) {
71
4.69k
    if (!Result && 
Str == S2.94k
) {
72
309
      Result = std::move(Value);
73
309
    }
74
4.69k
    return *this;
75
4.69k
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Case(llvm::StringLiteral, llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
70
159
  StringSwitch &Case(StringLiteral S, T Value) {
71
159
    if (!Result && 
Str == S132
) {
72
85
      Result = std::move(Value);
73
85
    }
74
159
    return *this;
75
159
  }
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
70
822
  StringSwitch &Case(StringLiteral S, T Value) {
71
822
    if (!Result && 
Str == S575
) {
72
137
      Result = std::move(Value);
73
137
    }
74
822
    return *this;
75
822
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Case(llvm::StringLiteral, clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
70
312
  StringSwitch &Case(StringLiteral S, T Value) {
71
312
    if (!Result && 
Str == S69
) {
72
38
      Result = std::move(Value);
73
38
    }
74
312
    return *this;
75
312
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Case(llvm::StringLiteral, llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
70
5.13M
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.13M
    if (!Result && 
Str == S2.23M
) {
72
1.28M
      Result = std::move(Value);
73
1.28M
    }
74
5.13M
    return *this;
75
5.13M
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::Case(llvm::StringLiteral, clang::Sema::PragmaStack<clang::StringLiteral*>*)
Line
Count
Source
70
208
  StringSwitch &Case(StringLiteral S, T Value) {
71
208
    if (!Result && 
Str == S138
) {
72
52
      Result = std::move(Value);
73
52
    }
74
208
    return *this;
75
208
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Case(llvm::StringLiteral, clang::QualType)
Line
Count
Source
70
1.92k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.92k
    if (!Result && 
Str == S1.45k
) {
72
185
      Result = std::move(Value);
73
185
    }
74
1.92k
    return *this;
75
1.92k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Case(llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
70
600k
  StringSwitch &Case(StringLiteral S, T Value) {
71
600k
    if (!Result && 
Str == S88.5k
) {
72
42.8k
      Result = std::move(Value);
73
42.8k
    }
74
600k
    return *this;
75
600k
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Case(llvm::StringLiteral, clang::ObjCInterfaceDecl*)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S22
) {
72
2
      Result = std::move(Value);
73
2
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<unsigned char, unsigned char>::Case(llvm::StringLiteral, unsigned char)
Line
Count
Source
70
720
  StringSwitch &Case(StringLiteral S, T Value) {
71
720
    if (!Result && 
Str == S457
) {
72
240
      Result = std::move(Value);
73
240
    }
74
720
    return *this;
75
720
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
70
210
  StringSwitch &Case(StringLiteral S, T Value) {
71
210
    if (!Result && 
Str == S129
) {
72
20
      Result = std::move(Value);
73
20
    }
74
210
    return *this;
75
210
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
70
132
  StringSwitch &Case(StringLiteral S, T Value) {
71
132
    if (!Result && 
Str == S110
) {
72
40
      Result = std::move(Value);
73
40
    }
74
132
    return *this;
75
132
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
70
468
  StringSwitch &Case(StringLiteral S, T Value) {
71
468
    if (!Result && 
Str == S263
) {
72
73
      Result = std::move(Value);
73
73
    }
74
468
    return *this;
75
468
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Case(llvm::StringLiteral, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
70
10.4k
  StringSwitch &Case(StringLiteral S, T Value) {
71
10.4k
    if (!Result && 
Str == S10.4k
) {
72
5.23k
      Result = std::move(Value);
73
5.23k
    }
74
10.4k
    return *this;
75
10.4k
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Case(llvm::StringLiteral, llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
70
5.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.49k
    if (!Result && 
Str == S5.48k
) {
72
2.74k
      Result = std::move(Value);
73
2.74k
    }
74
5.49k
    return *this;
75
5.49k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Case(llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
70
913k
  StringSwitch &Case(StringLiteral S, T Value) {
71
913k
    if (!Result && 
Str == S233k
) {
72
50.7k
      Result = std::move(Value);
73
50.7k
    }
74
913k
    return *this;
75
913k
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
70
66
  StringSwitch &Case(StringLiteral S, T Value) {
71
66
    if (!Result && 
Str == S48
) {
72
11
      Result = std::move(Value);
73
11
    }
74
66
    return *this;
75
66
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Case(llvm::StringLiteral, llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
70
513
  StringSwitch &Case(StringLiteral S, T Value) {
71
513
    if (!Result && Str == S) {
72
513
      Result = std::move(Value);
73
513
    }
74
513
    return *this;
75
513
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
70
18
  StringSwitch &Case(StringLiteral S, T Value) {
71
18
    if (!Result && 
Str == S14
) {
72
6
      Result = std::move(Value);
73
6
    }
74
18
    return *this;
75
18
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
70
57
  StringSwitch &Case(StringLiteral S, T Value) {
71
57
    if (!Result && 
Str == S41
) {
72
18
      Result = std::move(Value);
73
18
    }
74
57
    return *this;
75
57
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
70
21
  StringSwitch &Case(StringLiteral S, T Value) {
71
21
    if (!Result && 
Str == S19
) {
72
7
      Result = std::move(Value);
73
7
    }
74
21
    return *this;
75
21
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
70
33
  StringSwitch &Case(StringLiteral S, T Value) {
71
33
    if (!Result && 
Str == S26
) {
72
10
      Result = std::move(Value);
73
10
    }
74
33
    return *this;
75
33
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
70
27
  StringSwitch &Case(StringLiteral S, T Value) {
71
27
    if (!Result && 
Str == S19
) {
72
9
      Result = std::move(Value);
73
9
    }
74
27
    return *this;
75
27
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
70
10
  StringSwitch &Case(StringLiteral S, T Value) {
71
10
    if (!Result && 
Str == S8
) {
72
5
      Result = std::move(Value);
73
5
    }
74
10
    return *this;
75
10
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Case(llvm::StringLiteral, clang::LoopHintAttr::OptionType)
Line
Count
Source
70
1.16k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.16k
    if (!Result && 
Str == S590
) {
72
166
      Result = std::move(Value);
73
166
    }
74
1.16k
    return *this;
75
1.16k
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Case(llvm::StringLiteral, llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
70
160
  StringSwitch &Case(StringLiteral S, T Value) {
71
160
    if (!Result && 
Str == S85
) {
72
80
      Result = std::move(Value);
73
80
    }
74
160
    return *this;
75
160
  }
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
70
24.1k
  StringSwitch &Case(StringLiteral S, T Value) {
71
24.1k
    if (!Result && 
Str == S24.1k
) {
72
14
      Result = std::move(Value);
73
14
    }
74
24.1k
    return *this;
75
24.1k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Case(llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
70
168
  StringSwitch &Case(StringLiteral S, T Value) {
71
168
    if (!Result && 
Str == S92
) {
72
28
      Result = std::move(Value);
73
28
    }
74
168
    return *this;
75
168
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Case(llvm::StringLiteral, (anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
70
17.8k
  StringSwitch &Case(StringLiteral S, T Value) {
71
17.8k
    if (!Result && 
Str == S4.45k
) {
72
894
      Result = std::move(Value);
73
894
    }
74
17.8k
    return *this;
75
17.8k
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Case(llvm::StringLiteral, clang::MMToken::TokenKind)
Line
Count
Source
70
6.38M
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.38M
    if (!Result && 
Str == S4.56M
) {
72
270k
      Result = std::move(Value);
73
270k
    }
74
6.38M
    return *this;
75
6.38M
  }
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
70
156
  StringSwitch &Case(StringLiteral S, T Value) {
71
156
    if (!Result && 
Str == S115
) {
72
77
      Result = std::move(Value);
73
77
    }
74
156
    return *this;
75
156
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Case(llvm::StringLiteral, (anonymous namespace)::AttributeKind)
Line
Count
Source
70
10.4k
  StringSwitch &Case(StringLiteral S, T Value) {
71
10.4k
    if (!Result && 
Str == S5.39k
) {
72
2.62k
      Result = std::move(Value);
73
2.62k
    }
74
10.4k
    return *this;
75
10.4k
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Case(llvm::StringLiteral, clang::diag::Severity)
Line
Count
Source
70
1.35k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.35k
    if (!Result && 
Str == S458
) {
72
336
      Result = std::move(Value);
73
336
    }
74
1.35k
    return *this;
75
1.35k
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::Case(llvm::StringLiteral, llvm::PassBuilder::OptimizationLevel)
Line
Count
Source
70
270
  StringSwitch &Case(StringLiteral S, T Value) {
71
270
    if (!Result && 
Str == S162
) {
72
45
      Result = std::move(Value);
73
45
    }
74
270
    return *this;
75
270
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Case(llvm::StringLiteral, llvm::MIToken::TokenKind)
Line
Count
Source
70
13.0M
  StringSwitch &Case(StringLiteral S, T Value) {
71
13.0M
    if (!Result && 
Str == S9.61M
) {
72
65.7k
      Result = std::move(Value);
73
65.7k
    }
74
13.0M
    return *this;
75
13.0M
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Case(llvm::StringLiteral, llvm::CmpInst::Predicate)
Line
Count
Source
70
5.58k
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.58k
    if (!Result && 
Str == S2.81k
) {
72
402
      Result = std::move(Value);
73
402
    }
74
5.58k
    return *this;
75
5.58k
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Case(llvm::StringLiteral, llvm::AtomicOrdering)
Line
Count
Source
70
810
  StringSwitch &Case(StringLiteral S, T Value) {
71
810
    if (!Result && 
Str == S457
) {
72
134
      Result = std::move(Value);
73
134
    }
74
810
    return *this;
75
810
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Case(llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
70
162
  StringSwitch &Case(StringLiteral S, T Value) {
71
162
    if (!Result && 
Str == S54
) {
72
30
      Result = std::move(Value);
73
30
    }
74
162
    return *this;
75
162
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Case(llvm::StringLiteral, llvm::COFF::WindowsSubsystem)
Line
Count
Source
70
1.39k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.39k
    if (!Result && 
Str == S345
) {
72
155
      Result = std::move(Value);
73
155
    }
74
1.39k
    return *this;
75
1.39k
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Case(llvm::StringLiteral, lld::elf::LLDDWARFSection*)
Line
Count
Source
70
1.21k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.21k
    if (!Result && 
Str == S1.14k
) {
72
61
      Result = std::move(Value);
73
61
    }
74
1.21k
    return *this;
75
1.21k
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Case(llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
70
693
  StringSwitch &Case(StringLiteral S, T Value) {
71
693
    if (!Result && 
Str == S503
) {
72
31
      Result = std::move(Value);
73
31
    }
74
693
    return *this;
75
693
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Case(llvm::StringLiteral, llvm::StringRef*)
Line
Count
Source
70
175k
  StringSwitch &Case(StringLiteral S, T Value) {
71
175k
    if (!Result && 
Str == S123k
) {
72
4.44k
      Result = std::move(Value);
73
4.44k
    }
74
175k
    return *this;
75
175k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Case(llvm::StringLiteral, (anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
70
323k
  StringSwitch &Case(StringLiteral S, T Value) {
71
323k
    if (!Result && 
Str == S260k
) {
72
6.24k
      Result = std::move(Value);
73
6.24k
    }
74
323k
    return *this;
75
323k
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Case(llvm::StringLiteral, llvm::object::Kind)
Line
Count
Source
70
1.60k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.60k
    if (!Result && 
Str == S1.30k
) {
72
51
      Result = std::move(Value);
73
51
    }
74
1.60k
    return *this;
75
1.60k
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Case(llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
70
1.43k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.43k
    if (!Result && 
Str == S608
) {
72
143
      Result = std::move(Value);
73
143
    }
74
1.43k
    return *this;
75
1.43k
  }
76
77
  LLVM_ATTRIBUTE_ALWAYS_INLINE
78
2.43M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
2.43M
    if (!Result && 
Str.endswith(S)2.40M
) {
80
23.8k
      Result = std::move(Value);
81
23.8k
    }
82
2.43M
    return *this;
83
2.43M
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::EndsWith(llvm::StringLiteral, llvm::LPCC::CondCode)
Line
Count
Source
78
6.60k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
6.60k
    if (!Result && 
Str.endswith(S)5.84k
) {
80
90
      Result = std::move(Value);
81
90
    }
82
6.60k
    return *this;
83
6.60k
  }
llvm::StringSwitch<int, int>::EndsWith(llvm::StringLiteral, int)
Line
Count
Source
78
74
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
74
    if (!Result && 
Str.endswith(S)61
) {
80
26
      Result = std::move(Value);
81
26
    }
82
74
    return *this;
83
74
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::EndsWith(llvm::StringLiteral, llvm::Triple::SubArchType)
Line
Count
Source
78
142k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
142k
    if (!Result && Str.endswith(S)) {
80
0
      Result = std::move(Value);
81
0
    }
82
142k
    return *this;
83
142k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::EndsWith(llvm::StringLiteral, llvm::Triple::ObjectFormatType)
Line
Count
Source
78
2.28M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
2.28M
    if (!Result && 
Str.endswith(S)2.25M
) {
80
23.6k
      Result = std::move(Value);
81
23.6k
    }
82
2.28M
    return *this;
83
2.28M
  }
84
85
  LLVM_ATTRIBUTE_ALWAYS_INLINE
86
80.1M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
80.1M
    if (!Result && 
Str.startswith(S)30.8M
) {
88
2.21M
      Result = std::move(Value);
89
2.21M
    }
90
80.1M
    return *this;
91
80.1M
  }
llvm::StringSwitch<bool, bool>::StartsWith(llvm::StringLiteral, bool)
Line
Count
Source
86
152
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
152
    if (!Result && 
Str.startswith(S)82
) {
88
19
      Result = std::move(Value);
89
19
    }
90
152
    return *this;
91
152
  }
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
86
295k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
295k
    if (!Result && 
Str.startswith(S)29.0k
) {
88
12.2k
      Result = std::move(Value);
89
12.2k
    }
90
295k
    return *this;
91
295k
  }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StartsWith(llvm::StringLiteral, llvm::ARM::ISAKind)
Line
Count
Source
86
474k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
474k
    if (!Result && 
Str.startswith(S)385k
) {
88
118k
      Result = std::move(Value);
89
118k
    }
90
474k
    return *this;
91
474k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StartsWith(llvm::StringLiteral, llvm::Triple::OSType)
Line
Count
Source
86
60.1M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
60.1M
    if (!Result && 
Str.startswith(S)18.8M
) {
88
1.56M
      Result = std::move(Value);
89
1.56M
    }
90
60.1M
    return *this;
91
60.1M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StartsWith(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
86
1.85M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
1.85M
    if (!Result && 
Str.startswith(S)183k
) {
88
98
      Result = std::move(Value);
89
98
    }
90
1.85M
    return *this;
91
1.85M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StartsWith(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
86
11.3M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
11.3M
    if (!Result && 
Str.startswith(S)5.44M
) {
88
521k
      Result = std::move(Value);
89
521k
    }
90
11.3M
    return *this;
91
11.3M
  }
llvm::StringSwitch<char const*, char const*>::StartsWith(llvm::StringLiteral, char const*)
Line
Count
Source
86
5.36M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
5.36M
    if (!Result && 
Str.startswith(S)5.36M
) {
88
1
      Result = std::move(Value);
89
1
    }
90
5.36M
    return *this;
91
5.36M
  }
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
86
23.8k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
23.8k
    if (!Result && 
Str.startswith(S)13.3k
) {
88
336
      Result = std::move(Value);
89
336
    }
90
23.8k
    return *this;
91
23.8k
  }
llvm::StringSwitch<unsigned long, unsigned long>::StartsWith(llvm::StringLiteral, unsigned long)
Line
Count
Source
86
622k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
622k
    if (!Result && Str.startswith(S)) {
88
26
      Result = std::move(Value);
89
26
    }
90
622k
    return *this;
91
622k
  }
92
93
  LLVM_ATTRIBUTE_ALWAYS_INLINE
94
31.6M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
31.6M
    return Case(S0, Value).Case(S1, Value);
96
31.6M
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
94
454k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
454k
    return Case(S0, Value).Case(S1, Value);
96
454k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
94
652k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
652k
    return Case(S0, Value).Case(S1, Value);
96
652k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
94
547
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
547
    return Case(S0, Value).Case(S1, Value);
96
547
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
94
13.5k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
13.5k
    return Case(S0, Value).Case(S1, Value);
96
13.5k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
94
7.27M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
7.27M
    return Case(S0, Value).Case(S1, Value);
96
7.27M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
94
22.8M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
22.8M
    return Case(S0, Value).Case(S1, Value);
96
22.8M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
94
68.9k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
68.9k
    return Case(S0, Value).Case(S1, Value);
96
68.9k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
94
6.33k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
6.33k
    return Case(S0, Value).Case(S1, Value);
96
6.33k
  }
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
94
284
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
284
    return Case(S0, Value).Case(S1, Value);
96
284
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
94
1.63k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
1.63k
    return Case(S0, Value).Case(S1, Value);
96
1.63k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
94
106k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
106k
    return Case(S0, Value).Case(S1, Value);
96
106k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
94
944
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
944
    return Case(S0, Value).Case(S1, Value);
96
944
  }
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
94
732
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
732
    return Case(S0, Value).Case(S1, Value);
96
732
  }
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
94
222
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
222
    return Case(S0, Value).Case(S1, Value);
96
222
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
94
87
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
87
    return Case(S0, Value).Case(S1, Value);
96
87
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
94
128k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
128k
    return Case(S0, Value).Case(S1, Value);
96
128k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
94
152k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
152k
    return Case(S0, Value).Case(S1, Value);
96
152k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
94
56
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
56
    return Case(S0, Value).Case(S1, Value);
96
56
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
94
42
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
42
    return Case(S0, Value).Case(S1, Value);
96
42
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
94
165
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
165
    return Case(S0, Value).Case(S1, Value);
96
165
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
94
286
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
286
    return Case(S0, Value).Case(S1, Value);
96
286
  }
97
98
  LLVM_ATTRIBUTE_ALWAYS_INLINE
99
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
100
19.4M
                      T Value) {
101
19.4M
    return Case(S0, Value).Cases(S1, S2, Value);
102
19.4M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
100
365k
                      T Value) {
101
365k
    return Case(S0, Value).Cases(S1, S2, Value);
102
365k
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
100
209
                      T Value) {
101
209
    return Case(S0, Value).Cases(S1, S2, Value);
102
209
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
100
5.45M
                      T Value) {
101
5.45M
    return Case(S0, Value).Cases(S1, S2, Value);
102
5.45M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
100
13.4M
                      T Value) {
101
13.4M
    return Case(S0, Value).Cases(S1, S2, Value);
102
13.4M
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
100
2.81k
                      T Value) {
101
2.81k
    return Case(S0, Value).Cases(S1, S2, Value);
102
2.81k
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
100
141
                      T Value) {
101
141
    return Case(S0, Value).Cases(S1, S2, Value);
102
141
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
100
33.9k
                      T Value) {
101
33.9k
    return Case(S0, Value).Cases(S1, S2, Value);
102
33.9k
  }
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
100
222
                      T Value) {
101
222
    return Case(S0, Value).Cases(S1, S2, Value);
102
222
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
100
42.8k
                      T Value) {
101
42.8k
    return Case(S0, Value).Cases(S1, S2, Value);
102
42.8k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
100
152k
                      T Value) {
101
152k
    return Case(S0, Value).Cases(S1, S2, Value);
102
152k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
100
28
                      T Value) {
101
28
    return Case(S0, Value).Cases(S1, S2, Value);
102
28
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
100
33
                      T Value) {
101
33
    return Case(S0, Value).Cases(S1, S2, Value);
102
33
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
100
143
                      T Value) {
101
143
    return Case(S0, Value).Cases(S1, S2, Value);
102
143
  }
103
104
  LLVM_ATTRIBUTE_ALWAYS_INLINE
105
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
106
6.30M
                      StringLiteral S3, T Value) {
107
6.30M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
6.30M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
106
218k
                      StringLiteral S3, T Value) {
107
218k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
218k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
106
3.63M
                      StringLiteral S3, T Value) {
107
3.63M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
3.63M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
106
2.28M
                      StringLiteral S3, T Value) {
107
2.28M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
2.28M
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
106
16.9k
                      StringLiteral S3, T Value) {
107
16.9k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
16.9k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
106
42.8k
                      StringLiteral S3, T Value) {
107
42.8k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
42.8k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
106
101k
                      StringLiteral S3, T Value) {
107
101k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
101k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
106
1.36k
                      StringLiteral S3, T Value) {
107
1.36k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
1.36k
  }
109
110
  LLVM_ATTRIBUTE_ALWAYS_INLINE
111
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
112
2.33M
                      StringLiteral S3, StringLiteral S4, T Value) {
113
2.33M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
2.33M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
112
213k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
213k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
213k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
112
1.81M
                      StringLiteral S3, StringLiteral S4, T Value) {
113
1.81M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
1.81M
  }
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
112
288k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
288k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
288k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
112
16.9k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
16.9k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
16.9k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
112
1.36k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
1.36k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
1.36k
  }
115
116
  LLVM_ATTRIBUTE_ALWAYS_INLINE
117
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
118
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
119
144k
                      T Value) {
120
144k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
144k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
119
143k
                      T Value) {
120
143k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
143k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
119
1.36k
                      T Value) {
120
1.36k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
1.36k
  }
122
123
  LLVM_ATTRIBUTE_ALWAYS_INLINE
124
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
125
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
126
139k
                      StringLiteral S6, T Value) {
127
139k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
128
139k
  }
129
130
  LLVM_ATTRIBUTE_ALWAYS_INLINE
131
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
132
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
133
                      StringLiteral S6, StringLiteral S7, T Value) {
134
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
135
  }
136
137
  LLVM_ATTRIBUTE_ALWAYS_INLINE
138
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
139
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
140
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
141
                      T Value) {
142
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
143
  }
144
145
  LLVM_ATTRIBUTE_ALWAYS_INLINE
146
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
147
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
148
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
149
                      StringLiteral S9, T Value) {
150
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
151
  }
152
153
  // Case-insensitive case matchers.
154
  LLVM_ATTRIBUTE_ALWAYS_INLINE
155
34.4k
  StringSwitch &CaseLower(StringLiteral S, T Value) {
156
34.4k
    if (!Result && 
Str.equals_lower(S)14.5k
)
157
3.31k
      Result = std::move(Value);
158
34.4k
159
34.4k
    return *this;
160
34.4k
  }
llvm::StringSwitch<Flavor, Flavor>::CaseLower(llvm::StringLiteral, Flavor)
Line
Count
Source
155
34.2k
  StringSwitch &CaseLower(StringLiteral S, T Value) {
156
34.2k
    if (!Result && 
Str.equals_lower(S)14.4k
)
157
3.30k
      Result = std::move(Value);
158
34.2k
159
34.2k
    return *this;
160
34.2k
  }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::CaseLower(llvm::StringLiteral, lld::coff::DebugKind)
Line
Count
Source
155
102
  StringSwitch &CaseLower(StringLiteral S, T Value) {
156
102
    if (!Result && 
Str.equals_lower(S)80
)
157
16
      Result = std::move(Value);
158
102
159
102
    return *this;
160
102
  }
161
162
  LLVM_ATTRIBUTE_ALWAYS_INLINE
163
  StringSwitch &EndsWithLower(StringLiteral S, T Value) {
164
    if (!Result && Str.endswith_lower(S))
165
      Result = Value;
166
167
    return *this;
168
  }
169
170
  LLVM_ATTRIBUTE_ALWAYS_INLINE
171
  StringSwitch &StartsWithLower(StringLiteral S, T Value) {
172
    if (!Result && Str.startswith_lower(S))
173
      Result = std::move(Value);
174
175
    return *this;
176
  }
177
178
  LLVM_ATTRIBUTE_ALWAYS_INLINE
179
11.4k
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, T Value) {
180
11.4k
    return CaseLower(S0, Value).CaseLower(S1, Value);
181
11.4k
  }
182
183
  LLVM_ATTRIBUTE_ALWAYS_INLINE
184
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
185
7.62k
                           T Value) {
186
7.62k
    return CaseLower(S0, Value).CasesLower(S1, S2, Value);
187
7.62k
  }
188
189
  LLVM_ATTRIBUTE_ALWAYS_INLINE
190
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
191
                           StringLiteral S3, T Value) {
192
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value);
193
  }
194
195
  LLVM_ATTRIBUTE_ALWAYS_INLINE
196
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
197
                           StringLiteral S3, StringLiteral S4, T Value) {
198
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, S4, Value);
199
  }
200
201
  LLVM_NODISCARD
202
  LLVM_ATTRIBUTE_ALWAYS_INLINE
203
28.0M
  R Default(T Value) {
204
28.0M
    if (Result)
205
13.5M
      return std::move(*Result);
206
14.4M
    return Value;
207
14.4M
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Default(llvm::DebugCompressionType)
Line
Count
Source
203
4
  R Default(T Value) {
204
4
    if (Result)
205
3
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<unsigned int, unsigned int>::Default(unsigned int)
Line
Count
Source
203
1.67M
  R Default(T Value) {
204
1.67M
    if (Result)
205
323k
      return std::move(*Result);
206
1.35M
    return Value;
207
1.35M
  }
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
203
3.80M
  R Default(T Value) {
204
3.80M
    if (Result)
205
2.22M
      return std::move(*Result);
206
1.58M
    return Value;
207
1.58M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Default(std::__1::pair<int, int>)
Line
Count
Source
203
112k
  R Default(T Value) {
204
112k
    if (Result)
205
112k
      return std::move(*Result);
206
111
    return Value;
207
111
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Default(llvm::AArch64CC::CondCode)
Line
Count
Source
203
358
  R Default(T Value) {
204
358
    if (Result)
205
336
      return std::move(*Result);
206
22
    return Value;
207
22
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Default(llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
203
1.02k
  R Default(T Value) {
204
1.02k
    if (Result)
205
1.02k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Default(llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
203
2.58k
  R Default(T Value) {
204
2.58k
    if (Result)
205
2.03k
      return std::move(*Result);
206
550
    return Value;
207
550
  }
llvm::StringSwitch<int, int>::Default(int)
Line
Count
Source
203
51.4k
  R Default(T Value) {
204
51.4k
    if (Result)
205
47.8k
      return std::move(*Result);
206
3.54k
    return Value;
207
3.54k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Default(llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
203
337
  R Default(T Value) {
204
337
    if (Result)
205
22
      return std::move(*Result);
206
315
    return Value;
207
315
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Default(llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
203
4.63k
  R Default(T Value) {
204
4.63k
    if (Result)
205
72
      return std::move(*Result);
206
4.56k
    return Value;
207
4.56k
  }
llvm::StringSwitch<bool*, bool*>::Default(bool*)
Line
Count
Source
203
26
  R Default(T Value) {
204
26
    if (Result)
205
26
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Default(llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
203
297
  R Default(T Value) {
204
297
    if (Result)
205
42
      return std::move(*Result);
206
255
    return Value;
207
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
203
65.2k
  R Default(T Value) {
204
65.2k
    if (Result)
205
65.2k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Default(llvm::ARM_AM::ShiftOpc)
Line
Count
Source
203
2.61k
  R Default(T Value) {
204
2.61k
    if (Result)
205
2.27k
      return std::move(*Result);
206
332
    return Value;
207
332
  }
llvm::StringSwitch<bool, bool>::Default(bool)
Line
Count
Source
203
10.0M
  R Default(T Value) {
204
10.0M
    if (Result)
205
2.68M
      return std::move(*Result);
206
7.37M
    return Value;
207
7.37M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Default(llvm::LPAC::AluCode)
Line
Count
Source
203
108
  R Default(T Value) {
204
108
    if (Result)
205
108
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::Default(llvm::LPCC::CondCode)
Line
Count
Source
203
330
  R Default(T Value) {
204
330
    if (Result)
205
90
      return std::move(*Result);
206
240
    return Value;
207
240
  }
llvm::StringSwitch<unsigned long long, unsigned long long>::Default(unsigned long long)
Line
Count
Source
203
9.38k
  R Default(T Value) {
204
9.38k
    if (Result)
205
9.37k
      return std::move(*Result);
206
6
    return Value;
207
6
  }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Default(llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
203
107
  R Default(T Value) {
204
107
    if (Result)
205
107
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Default(llvm::SparcMCExpr::VariantKind)
Line
Count
Source
203
144
  R Default(T Value) {
204
144
    if (Result)
205
144
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<char const*, char const*>::Default(char const*)
Line
Count
Source
203
688k
  R Default(T Value) {
204
688k
    if (Result)
205
13.2k
      return std::move(*Result);
206
675k
    return Value;
207
675k
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Default(llvm::MachO::CPUSubTypeX86)
Line
Count
Source
203
3.96k
  R Default(T Value) {
204
3.96k
    if (Result)
205
629
      return std::move(*Result);
206
3.33k
    return Value;
207
3.33k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Default(llvm::EHPersonality)
Line
Count
Source
203
473k
  R Default(T Value) {
204
473k
    if (Result)
205
473k
      return std::move(*Result);
206
564
    return Value;
207
564
  }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::Default(llvm::objcarc::ARCInstKind)
Line
Count
Source
203
7.46k
  R Default(T Value) {
204
7.46k
    if (Result)
205
4.86k
      return std::move(*Result);
206
2.60k
    return Value;
207
2.60k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Default(llvm::Intrinsic::ID)
Line
Count
Source
203
547
  R Default(T Value) {
204
547
    if (Result)
205
8
      return std::move(*Result);
206
539
    return Value;
207
539
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Default(llvm::DINode::DIFlags)
Line
Count
Source
203
3.58k
  R Default(T Value) {
204
3.58k
    if (Result)
205
3.57k
      return std::move(*Result);
206
5
    return Value;
207
5
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Default(llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
203
165
  R Default(T Value) {
204
165
    if (Result)
205
165
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
203
1.85k
  R Default(T Value) {
204
1.85k
    if (Result)
205
1.85k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
203
29
  R Default(T Value) {
204
29
    if (Result)
205
29
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Default(llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
203
753
  R Default(T Value) {
204
753
    if (Result)
205
751
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Default(llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
203
751
  R Default(T Value) {
204
751
    if (Result)
205
749
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Default(llvm::Attribute::AttrKind)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Default(llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
203
2.15k
  R Default(T Value) {
204
2.15k
    if (Result)
205
2.14k
      return std::move(*Result);
206
10
    return Value;
207
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
203
12.3k
  R Default(T Value) {
204
12.3k
    if (Result)
205
12.2k
      return std::move(*Result);
206
37
    return Value;
207
37
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Default(llvm::COFF::COMDATType)
Line
Count
Source
203
155
  R Default(T Value) {
204
155
    if (Result)
205
154
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Default(llvm::MCSymbolAttr)
Line
Count
Source
203
2.67k
  R Default(T Value) {
204
2.67k
    if (Result)
205
2.66k
      return std::move(*Result);
206
2
    return Value;
207
2
  }
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
203
118k
  R Default(T Value) {
204
118k
    if (Result)
205
118k
      return std::move(*Result);
206
9
    return Value;
207
9
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::Default(llvm::Triple::SubArchType)
Line
Count
Source
203
47.6k
  R Default(T Value) {
204
47.6k
    if (Result)
205
0
      return std::move(*Result);
206
47.6k
    return Value;
207
47.6k
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Default(llvm::Triple::VendorType)
Line
Count
Source
203
1.85M
  R Default(T Value) {
204
1.85M
    if (Result)
205
1.11M
      return std::move(*Result);
206
732k
    return Value;
207
732k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::Default(llvm::Triple::OSType)
Line
Count
Source
203
1.82M
  R Default(T Value) {
204
1.82M
    if (Result)
205
1.56M
      return std::move(*Result);
206
262k
    return Value;
207
262k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::Default(llvm::Triple::ObjectFormatType)
Line
Count
Source
203
571k
  R Default(T Value) {
204
571k
    if (Result)
205
23.6k
      return std::move(*Result);
206
547k
    return Value;
207
547k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Default(llvm::Triple::ArchType)
Line
Count
Source
203
1.93M
  R Default(T Value) {
204
1.93M
    if (Result)
205
1.75M
      return std::move(*Result);
206
176k
    return Value;
207
176k
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Default(llvm::Triple::EnvironmentType)
Line
Count
Source
203
683k
  R Default(T Value) {
204
683k
    if (Result)
205
522k
      return std::move(*Result);
206
161k
    return Value;
207
161k
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Default(clang::CudaArch)
Line
Count
Source
203
1.01k
  R Default(T Value) {
204
1.01k
    if (Result)
205
1.00k
      return std::move(*Result);
206
5
    return Value;
207
5
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Default(clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Default(clang::OpenMPDirectiveKind)
Line
Count
Source
203
472k
  R Default(T Value) {
204
472k
    if (Result)
205
391k
      return std::move(*Result);
206
81.1k
    return Value;
207
81.1k
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Default(clang::OpenMPClauseKind)
Line
Count
Source
203
80.5k
  R Default(T Value) {
204
80.5k
    if (Result)
205
78.4k
      return std::move(*Result);
206
2.05k
    return Value;
207
2.05k
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Default(clang::OpenMPDefaultClauseKind)
Line
Count
Source
203
717
  R Default(T Value) {
204
717
    if (Result)
205
591
      return std::move(*Result);
206
126
    return Value;
207
126
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Default(clang::OpenMPProcBindClauseKind)
Line
Count
Source
203
519
  R Default(T Value) {
204
519
    if (Result)
205
405
      return std::move(*Result);
206
114
    return Value;
207
114
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Default(clang::OpenMPDependClauseKind)
Line
Count
Source
203
2.66k
  R Default(T Value) {
204
2.66k
    if (Result)
205
2.55k
      return std::move(*Result);
206
114
    return Value;
207
114
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Default(clang::OpenMPLinearClauseKind)
Line
Count
Source
203
182
  R Default(T Value) {
204
182
    if (Result)
205
164
      return std::move(*Result);
206
18
    return Value;
207
18
  }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::Default(clang::OpenMPMapClauseKind)
Line
Count
Source
203
6.03k
  R Default(T Value) {
204
6.03k
    if (Result)
205
3.21k
      return std::move(*Result);
206
2.81k
    return Value;
207
2.81k
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Default(clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
203
1.29k
  R Default(T Value) {
204
1.29k
    if (Result)
205
1.15k
      return std::move(*Result);
206
144
    return Value;
207
144
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Default(clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
0
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Default(clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
203
171k
  R Default(T Value) {
204
171k
    if (Result)
205
79.0k
      return std::move(*Result);
206
92.4k
    return Value;
207
92.4k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Default(clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
203
171k
  R Default(T Value) {
204
171k
    if (Result)
205
26.2k
      return std::move(*Result);
206
145k
    return Value;
207
145k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Default(clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
203
171k
  R Default(T Value) {
204
171k
    if (Result)
205
80
      return std::move(*Result);
206
171k
    return Value;
207
171k
  }
llvm::StringSwitch<char, char>::Default(char)
Line
Count
Source
203
309
  R Default(T Value) {
204
309
    if (Result)
205
97
      return std::move(*Result);
206
212
    return Value;
207
212
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Default(clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
203
80.6k
  R Default(T Value) {
204
80.6k
    if (Result)
205
24.6k
      return std::move(*Result);
206
56.0k
    return Value;
207
56.0k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Default(llvm::FloatABI::ABIType)
Line
Count
Source
203
20.7k
  R Default(T Value) {
204
20.7k
    if (Result)
205
2.21k
      return std::move(*Result);
206
18.5k
    return Value;
207
18.5k
  }
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
203
71
  R Default(T Value) {
204
71
    if (Result)
205
71
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Default(clang::driver::Distro::DistroType)
Line
Count
Source
203
3
  R Default(T Value) {
204
3
    if (Result)
205
3
      return std::move(*Result);
206
0
    return Value;
207
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
203
15.4k
  R Default(T Value) {
204
15.4k
    if (Result)
205
15.4k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Default(clang::driver::LTOKind)
Line
Count
Source
203
109
  R Default(T Value) {
204
109
    if (Result)
205
107
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Default(clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
203
553
  R Default(T Value) {
204
553
    if (Result)
205
549
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Default(clang::driver::Driver::SaveTempsMode)
Line
Count
Source
203
46
  R Default(T Value) {
204
46
    if (Result)
205
46
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Default(clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Default(clang::driver::tools::arm::FloatABI)
Line
Count
Source
203
2.80k
  R Default(T Value) {
204
2.80k
    if (Result)
205
2.80k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Default(clang::driver::tools::mips::FloatABI)
Line
Count
Source
203
12
  R Default(T Value) {
204
12
    if (Result)
205
12
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Default(clang::driver::tools::ppc::FloatABI)
Line
Count
Source
203
10
  R Default(T Value) {
204
10
    if (Result)
205
8
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Default(clang::driver::tools::sparc::FloatABI)
Line
Count
Source
203
12
  R Default(T Value) {
204
12
    if (Result)
205
8
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Default(clang::driver::types::ID)
Line
Count
Source
203
44.9k
  R Default(T Value) {
204
44.9k
    if (Result)
205
43.5k
      return std::move(*Result);
206
1.43k
    return Value;
207
1.43k
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Default(clang::DiagnosticLevelMask)
Line
Count
Source
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Default(clang::AnalysisStores)
Line
Count
Source
203
169
  R Default(T Value) {
204
169
    if (Result)
205
169
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Default(clang::AnalysisConstraints)
Line
Count
Source
203
746
  R Default(T Value) {
204
746
    if (Result)
205
746
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Default(clang::AnalysisDiagClients)
Line
Count
Source
203
142
  R Default(T Value) {
204
142
    if (Result)
205
142
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Default(clang::AnalysisPurgeMode)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
1
      return std::move(*Result);
206
0
    return Value;
207
0
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Default(clang::AnalysisInliningMode)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Default(clang::InputKind)
Line
Count
Source
203
48.7k
  R Default(T Value) {
204
48.7k
    if (Result)
205
43.1k
      return std::move(*Result);
206
5.59k
    return Value;
207
5.59k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Default(llvm::EABI)
Line
Count
Source
203
29
  R Default(T Value) {
204
29
    if (Result)
205
28
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Default(llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
203
20.1k
  R Default(T Value) {
204
20.1k
    if (Result)
205
20.1k
      return std::move(*Result);
206
1
    return Value;
207
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
203
210
  R Default(T Value) {
204
210
    if (Result)
205
129
      return std::move(*Result);
206
81
    return Value;
207
81
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Default(clang::LangStandard::Kind)
Line
Count
Source
203
14.8k
  R Default(T Value) {
204
14.8k
    if (Result)
205
14.8k
      return std::move(*Result);
206
11
    return Value;
207
11
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Default(clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
1
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Default(clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
203
5
  R Default(T Value) {
204
5
    if (Result)
205
5
      return std::move(*Result);
206
0
    return Value;
207
0
  }
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
203
366
  R Default(T Value) {
204
366
    if (Result)
205
264
      return std::move(*Result);
206
102
    return Value;
207
102
  }
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
203
11.9k
  R Default(T Value) {
204
11.9k
    if (Result)
205
7.28k
      return std::move(*Result);
206
4.62k
    return Value;
207
4.62k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Default(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
203
1.26k
  R Default(T Value) {
204
1.26k
    if (Result)
205
80
      return std::move(*Result);
206
1.18k
    return Value;
207
1.18k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Default((anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
203
709
  R Default(T Value) {
204
709
    if (Result)
205
25
      return std::move(*Result);
206
684
    return Value;
207
684
  }
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
203
222
  R Default(T Value) {
204
222
    if (Result)
205
54
      return std::move(*Result);
206
168
    return Value;
207
168
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Default(void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
203
353
  R Default(T Value) {
204
353
    if (Result)
205
63
      return std::move(*Result);
206
290
    return Value;
207
290
  }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::Default(clang::AnalyzerOptions::UserModeKind)
Line
Count
Source
203
759
  R Default(T Value) {
204
759
    if (Result)
205
759
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::Default(clang::AnalyzerOptions::ExplorationStrategyKind)
Line
Count
Source
203
652
  R Default(T Value) {
204
652
    if (Result)
205
652
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::Default(clang::IPAKind)
Line
Count
Source
203
759
  R Default(T Value) {
204
759
    if (Result)
205
759
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::Default(clang::CXXInlineableMemberKind)
Line
Count
Source
203
194
  R Default(T Value) {
204
194
    if (Result)
205
194
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Default(llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
203
448
  R Default(T Value) {
204
448
    if (Result)
205
82
      return std::move(*Result);
206
366
    return Value;
207
366
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Default(llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
203
54
  R Default(T Value) {
204
54
    if (Result)
205
52
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Default(clang::PragmaMSCommentKind)
Line
Count
Source
203
76
  R Default(T Value) {
204
76
    if (Result)
205
73
      return std::move(*Result);
206
3
    return Value;
207
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
203
22
  R Default(T Value) {
204
22
    if (Result)
205
21
      return std::move(*Result);
206
1
    return Value;
207
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
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Default(llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
203
89
  R Default(T Value) {
204
89
    if (Result)
205
85
      return std::move(*Result);
206
4
    return Value;
207
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
203
313
  R Default(T Value) {
204
313
    if (Result)
205
309
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Default(clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
203
39
  R Default(T Value) {
204
39
    if (Result)
205
38
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Default(llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
203
1.28M
  R Default(T Value) {
204
1.28M
    if (Result)
205
1.28M
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Default(clang::QualType)
Line
Count
Source
203
384
  R Default(T Value) {
204
384
    if (Result)
205
185
      return std::move(*Result);
206
199
    return Value;
207
199
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Default(clang::Sema::FormatStringType)
Line
Count
Source
203
42.8k
  R Default(T Value) {
204
42.8k
    if (Result)
205
42.8k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Default(clang::ObjCInterfaceDecl*)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
203
21
  R Default(T Value) {
204
21
    if (Result)
205
20
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
203
44
  R Default(T Value) {
204
44
    if (Result)
205
40
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
203
78
  R Default(T Value) {
204
78
    if (Result)
205
73
      return std::move(*Result);
206
5
    return Value;
207
5
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Default(llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
203
5.24k
  R Default(T Value) {
204
5.24k
    if (Result)
205
5.23k
      return std::move(*Result);
206
3
    return Value;
207
3
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Default(llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
203
2.74k
  R Default(T Value) {
204
2.74k
    if (Result)
205
2.74k
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Default(FormatAttrKind)
Line
Count
Source
203
50.7k
  R Default(T Value) {
204
50.7k
    if (Result)
205
50.7k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Default(llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
203
11
  R Default(T Value) {
204
11
    if (Result)
205
11
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Default(llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
203
513
  R Default(T Value) {
204
513
    if (Result)
205
513
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Default(llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
203
6
  R Default(T Value) {
204
6
    if (Result)
205
6
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Default(llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
203
7
  R Default(T Value) {
204
7
    if (Result)
205
7
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
203
11
  R Default(T Value) {
204
11
    if (Result)
205
10
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
203
9
  R Default(T Value) {
204
9
    if (Result)
205
9
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
203
5
  R Default(T Value) {
204
5
    if (Result)
205
5
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Default(clang::LoopHintAttr::OptionType)
Line
Count
Source
203
166
  R Default(T Value) {
204
166
    if (Result)
205
166
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Default(llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
203
80
  R Default(T Value) {
204
80
    if (Result)
205
80
      return std::move(*Result);
206
0
    return Value;
207
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
203
12.0k
  R Default(T Value) {
204
12.0k
    if (Result)
205
14
      return std::move(*Result);
206
12.0k
    return Value;
207
12.0k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Default(clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
203
28
  R Default(T Value) {
204
28
    if (Result)
205
28
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<unsigned long, unsigned long>::Default(unsigned long)
Line
Count
Source
203
622k
  R Default(T Value) {
204
622k
    if (Result)
205
26
      return std::move(*Result);
206
622k
    return Value;
207
622k
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Default((anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
203
894
  R Default(T Value) {
204
894
    if (Result)
205
894
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Default(clang::MMToken::TokenKind)
Line
Count
Source
203
399k
  R Default(T Value) {
204
399k
    if (Result)
205
270k
      return std::move(*Result);
206
128k
    return Value;
207
128k
  }
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
203
78
  R Default(T Value) {
204
78
    if (Result)
205
77
      return std::move(*Result);
206
1
    return Value;
207
1
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Default((anonymous namespace)::AttributeKind)
Line
Count
Source
203
2.62k
  R Default(T Value) {
204
2.62k
    if (Result)
205
2.62k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Default(clang::diag::Severity)
Line
Count
Source
203
339
  R Default(T Value) {
204
339
    if (Result)
205
336
      return std::move(*Result);
206
3
    return Value;
207
3
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Default(llvm::MIToken::TokenKind)
Line
Count
Source
203
187k
  R Default(T Value) {
204
187k
    if (Result)
205
65.7k
      return std::move(*Result);
206
121k
    return Value;
207
121k
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Default(llvm::CmpInst::Predicate)
Line
Count
Source
203
402
  R Default(T Value) {
204
402
    if (Result)
205
402
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Default(llvm::AtomicOrdering)
Line
Count
Source
203
135
  R Default(T Value) {
204
135
    if (Result)
205
134
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<Flavor, Flavor>::Default(Flavor)
Line
Count
Source
203
3.81k
  R Default(T Value) {
204
3.81k
    if (Result)
205
3.30k
      return std::move(*Result);
206
509
    return Value;
207
509
  }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::Default(lld::coff::DebugKind)
Line
Count
Source
203
17
  R Default(T Value) {
204
17
    if (Result)
205
16
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Default(llvm::COFF::MachineTypes)
Line
Count
Source
203
30
  R Default(T Value) {
204
30
    if (Result)
205
30
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Default(llvm::COFF::WindowsSubsystem)
Line
Count
Source
203
155
  R Default(T Value) {
204
155
    if (Result)
205
155
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Default(lld::elf::LLDDWARFSection*)
Line
Count
Source
203
406
  R Default(T Value) {
204
406
    if (Result)
205
61
      return std::move(*Result);
206
345
    return Value;
207
345
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Default(std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
203
33
  R Default(T Value) {
204
33
    if (Result)
205
31
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Default(llvm::StringRef*)
Line
Count
Source
203
10.9k
  R Default(T Value) {
204
10.9k
    if (Result)
205
4.44k
      return std::move(*Result);
206
6.49k
    return Value;
207
6.49k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Default((anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
203
17.9k
  R Default(T Value) {
204
17.9k
    if (Result)
205
6.24k
      return std::move(*Result);
206
11.7k
    return Value;
207
11.7k
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Default(llvm::object::Kind)
Line
Count
Source
203
146
  R Default(T Value) {
204
146
    if (Result)
205
51
      return std::move(*Result);
206
95
    return Value;
207
95
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Default(int (*)(int, char const**))
Line
Count
Source
203
143
  R Default(T Value) {
204
143
    if (Result)
205
143
      return std::move(*Result);
206
0
    return Value;
207
0
  }
208
209
  LLVM_NODISCARD
210
  LLVM_ATTRIBUTE_ALWAYS_INLINE
211
22.3k
  operator R() {
212
22.3k
    assert(Result && "Fell off the end of a string-switch");
213
22.3k
    return std::move(*Result);
214
22.3k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::operator llvm::StringRef()
Line
Count
Source
211
107
  operator R() {
212
107
    assert(Result && "Fell off the end of a string-switch");
213
107
    return std::move(*Result);
214
107
  }
llvm::StringSwitch<char const*, char const*>::operator char const*()
Line
Count
Source
211
8
  operator R() {
212
8
    assert(Result && "Fell off the end of a string-switch");
213
8
    return std::move(*Result);
214
8
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::operator llvm::X86::ProcessorFeatures()
Line
Count
Source
211
67
  operator R() {
212
67
    assert(Result && "Fell off the end of a string-switch");
213
67
    return std::move(*Result);
214
67
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::operator llvm::ThreadModel::Model()
Line
Count
Source
211
20.7k
  operator R() {
212
20.7k
    assert(Result && "Fell off the end of a string-switch");
213
20.7k
    return std::move(*Result);
214
20.7k
  }
llvm::StringSwitch<unsigned int, unsigned int>::operator unsigned int()
Line
Count
Source
211
755
  operator R() {
212
755
    assert(Result && "Fell off the end of a string-switch");
213
755
    return std::move(*Result);
214
755
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::operator llvm::GlobalValue::ThreadLocalMode()
Line
Count
Source
211
15
  operator R() {
212
15
    assert(Result && "Fell off the end of a string-switch");
213
15
    return std::move(*Result);
214
15
  }
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
211
202
  operator R() {
212
202
    assert(Result && "Fell off the end of a string-switch");
213
202
    return std::move(*Result);
214
202
  }
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
211
137
  operator R() {
212
137
    assert(Result && "Fell off the end of a string-switch");
213
137
    return std::move(*Result);
214
137
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::operator clang::Sema::PragmaStack<clang::StringLiteral*>*()
Line
Count
Source
211
52
  operator R() {
212
52
    assert(Result && "Fell off the end of a string-switch");
213
52
    return std::move(*Result);
214
52
  }
llvm::StringSwitch<unsigned char, unsigned char>::operator unsigned char()
Line
Count
Source
211
240
  operator R() {
212
240
    assert(Result && "Fell off the end of a string-switch");
213
240
    return std::move(*Result);
214
240
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::operator llvm::PassBuilder::OptimizationLevel()
Line
Count
Source
211
45
  operator R() {
212
45
    assert(Result && "Fell off the end of a string-switch");
213
45
    return std::move(*Result);
214
45
  }
215
};
216
217
} // end namespace llvm
218
219
#endif // LLVM_ADT_STRINGSWITCH_H