Coverage Report

Created: 2019-03-22 08:08

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/StringSwitch.h
Line
Count
Source
1
//===--- StringSwitch.h - Switch-on-literal-string Construct --------------===/
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//===----------------------------------------------------------------------===/
7
//
8
//  This file implements the StringSwitch template, which mimics a switch()
9
//  statement whose cases are string literals.
10
//
11
//===----------------------------------------------------------------------===/
12
#ifndef LLVM_ADT_STRINGSWITCH_H
13
#define LLVM_ADT_STRINGSWITCH_H
14
15
#include "llvm/ADT/StringRef.h"
16
#include "llvm/Support/Compiler.h"
17
#include <cassert>
18
#include <cstring>
19
20
namespace llvm {
21
22
/// A switch()-like statement whose cases are string literals.
23
///
24
/// The StringSwitch class is a simple form of a switch() statement that
25
/// determines whether the given string matches one of the given string
26
/// literals. The template type parameter \p T is the type of the value that
27
/// will be returned from the string-switch expression. For example,
28
/// the following code switches on the name of a color in \c argv[i]:
29
///
30
/// \code
31
/// Color color = StringSwitch<Color>(argv[i])
32
///   .Case("red", Red)
33
///   .Case("orange", Orange)
34
///   .Case("yellow", Yellow)
35
///   .Case("green", Green)
36
///   .Case("blue", Blue)
37
///   .Case("indigo", Indigo)
38
///   .Cases("violet", "purple", Violet)
39
///   .Default(UnknownColor);
40
/// \endcode
41
template<typename T, typename R = T>
42
class StringSwitch {
43
  /// The string we are matching.
44
  const StringRef Str;
45
46
  /// The pointer to the result of this switch statement, once known,
47
  /// null before that.
48
  Optional<T> Result;
49
50
public:
51
  explicit StringSwitch(StringRef S)
52
35.3M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
8
  : Str(S), Result() { }
llvm::StringSwitch<unsigned int, unsigned int>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.74M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.37M
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
113k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
360
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.07k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.67k
  : Str(S), Result() { }
llvm::StringSwitch<int, int>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
56.6k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.31k
  : Str(S), Result() { }
llvm::StringSwitch<bool*, bool*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
26
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5.14k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
297
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<long long, long long>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
65.6k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.61k
  : Str(S), Result() { }
llvm::StringSwitch<bool, bool>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
13.9M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
108
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
173
  : Str(S), Result() { }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
144
  : Str(S), Result() { }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
440k
  : Str(S), Result() { }
llvm::StringSwitch<char const*, char const*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
687k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.05k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
427k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
566
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.06k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
198
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.12k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
209
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
402
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
555
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
553
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.33k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
177
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.84k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::SectionKind, llvm::SectionKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
15
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
121k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
37
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
28.9k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.94M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.91M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
592k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.00M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
691k
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.10k
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
480k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
81.9k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
777
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
520
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.67k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
182
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.30k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
22
  : Str(S), Result() { }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
9.72k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
139
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
221k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
221k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
221k
  : Str(S), Result() { }
llvm::StringSwitch<char, char>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
493
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
93.4k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
20.9k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
20.9k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
113
  : Str(S), Result() { }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
15
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
3
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
15.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
120
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
787
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
48
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.81k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
424
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
10
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
47.8k
  : Str(S), Result() { }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
20
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
170
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
826
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
181
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.48M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
131k
  : Str(S), Result() { }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
51.0k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
29
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21.6k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
16.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
30
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
306k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
802
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
432
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
11.9k
  : Str(S), Result() { }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
18.8k
  : Str(S), Result() { }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
622
  : Str(S), Result() { }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21.9k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
737
  : Str(S), Result() { }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
420
  : Str(S), Result() { }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
45
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
10.5k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
101k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
12.5k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
448
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
56
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.33k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
89
  : Str(S), Result() { }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
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
52
22
  : Str(S), Result() { }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
137
  : Str(S), Result() { }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
39
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
1.29M
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
52
  : Str(S), Result() { }
llvm::StringSwitch<clang::QualType, clang::QualType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
454
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
43.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2
  : Str(S), Result() { }
llvm::StringSwitch<unsigned char, unsigned char>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
251
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
21
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
44
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
78
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5.14k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.75k
  : Str(S), Result() { }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
50.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
16
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
547
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
6
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
7
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
9
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
5
  : Str(S), Result() { }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
180
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
52
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
52
13.4k
  : Str(S), Result() { }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
28
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long, unsigned long>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
619k
  : Str(S), Result() { }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
895
  : Str(S), Result() { }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
400k
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
90
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
2.66k
  : Str(S), Result() { }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
329
  : Str(S), Result() { }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
64
  : Str(S), Result() { }
llvm::StringSwitch<Flavor, Flavor>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
4.40k
  : Str(S), Result() { }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
30
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
165
  : Str(S), Result() { }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
490
  : 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
52
68
  : Str(S), Result() { }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
146
  : Str(S), Result() { }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::StringSwitch(llvm::StringRef)
Line
Count
Source
52
149
  : Str(S), Result() { }
53
54
  // StringSwitch is not copyable.
55
  StringSwitch(const StringSwitch &) = delete;
56
57
  // StringSwitch is not assignable due to 'Str' being 'const'.
58
  void operator=(const StringSwitch &) = delete;
59
  void operator=(StringSwitch &&other) = delete;
60
61
  StringSwitch(StringSwitch &&other)
62
    : Str(other.Str), Result(std::move(other.Result)) { }
63
64
128k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::~StringSwitch()
Line
Count
Source
64
113k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::~StringSwitch()
Line
Count
Source
64
12.3k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::~StringSwitch()
Line
Count
Source
64
113
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~StringSwitch()
Line
Count
Source
64
424
  ~StringSwitch() = default;
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::~StringSwitch()
Line
Count
Source
64
737
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::~StringSwitch()
Line
Count
Source
64
1.33k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::~StringSwitch()
Line
Count
Source
64
68
  ~StringSwitch() = default;
65
66
  // Case-sensitive case matchers
67
941M
  StringSwitch &Case(StringLiteral S, T Value) {
68
941M
    if (!Result && 
Str == S386M
) {
69
14.1M
      Result = std::move(Value);
70
14.1M
    }
71
941M
    return *this;
72
941M
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Case(llvm::StringLiteral, llvm::DebugCompressionType)
Line
Count
Source
67
16
  StringSwitch &Case(StringLiteral S, T Value) {
68
16
    if (!Result && 
Str == S12
) {
69
7
      Result = std::move(Value);
70
7
    }
71
16
    return *this;
72
16
  }
llvm::StringSwitch<unsigned int, unsigned int>::Case(llvm::StringLiteral, unsigned int)
Line
Count
Source
67
46.3M
  StringSwitch &Case(StringLiteral S, T Value) {
68
46.3M
    if (!Result && 
Str == S41.2M
) {
69
344k
      Result = std::move(Value);
70
344k
    }
71
46.3M
    return *this;
72
46.3M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Case(llvm::StringLiteral, llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Case(llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
67
78.7M
  StringSwitch &Case(StringLiteral S, T Value) {
68
78.7M
    if (!Result && 
Str == S56.7M
) {
69
2.66M
      Result = std::move(Value);
70
2.66M
    }
71
78.7M
    return *this;
72
78.7M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Case(llvm::StringLiteral, std::__1::pair<int, int>)
Line
Count
Source
67
1.00M
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.00M
    if (!Result && 
Str == S540k
) {
69
113k
      Result = std::move(Value);
70
113k
    }
71
1.00M
    return *this;
72
1.00M
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Case(llvm::StringLiteral, llvm::AArch64CC::CondCode)
Line
Count
Source
67
6.40k
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.40k
    if (!Result && 
Str == S2.87k
) {
69
338
      Result = std::move(Value);
70
338
    }
71
6.40k
    return *this;
72
6.40k
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
67
39.6k
  StringSwitch &Case(StringLiteral S, T Value) {
68
39.6k
    if (!Result && 
Str == S18.7k
) {
69
1.07k
      Result = std::move(Value);
70
1.07k
    }
71
39.6k
    return *this;
72
39.6k
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Case(llvm::StringLiteral, llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
67
34.7k
  StringSwitch &Case(StringLiteral S, T Value) {
68
34.7k
    if (!Result && 
Str == S18.2k
) {
69
2.08k
      Result = std::move(Value);
70
2.08k
    }
71
34.7k
    return *this;
72
34.7k
  }
llvm::StringSwitch<int, int>::Case(llvm::StringLiteral, int)
Line
Count
Source
67
14.9M
  StringSwitch &Case(StringLiteral S, T Value) {
68
14.9M
    if (!Result && 
Str == S6.02M
) {
69
54.0k
      Result = std::move(Value);
70
54.0k
    }
71
14.9M
    return *this;
72
14.9M
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
67
990
  StringSwitch &Case(StringLiteral S, T Value) {
68
990
    if (!Result && 
Str == S970
) {
69
19
      Result = std::move(Value);
70
19
    }
71
990
    return *this;
72
990
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
67
18.3k
  StringSwitch &Case(StringLiteral S, T Value) {
68
18.3k
    if (!Result && 
Str == S17.8k
) {
69
72
      Result = std::move(Value);
70
72
    }
71
18.3k
    return *this;
72
18.3k
  }
llvm::StringSwitch<bool*, bool*>::Case(llvm::StringLiteral, bool*)
Line
Count
Source
67
104
  StringSwitch &Case(StringLiteral S, T Value) {
68
104
    if (!Result && 
Str == S63
) {
69
26
      Result = std::move(Value);
70
26
    }
71
104
    return *this;
72
104
  }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::Case(llvm::StringLiteral, llvm::Optional<llvm::StringRef>)
Line
Count
Source
67
15.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
15.4k
    if (!Result && 
Str == S15.4k
) {
69
22
      Result = std::move(Value);
70
22
    }
71
15.4k
    return *this;
72
15.4k
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
67
594
  StringSwitch &Case(StringLiteral S, T Value) {
68
594
    if (!Result && 
Str == S560
) {
69
42
      Result = std::move(Value);
70
42
    }
71
594
    return *this;
72
594
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Case(llvm::StringLiteral, long long)
Line
Count
Source
67
412k
  StringSwitch &Case(StringLiteral S, T Value) {
68
412k
    if (!Result && 
Str == S354k
) {
69
65.6k
      Result = std::move(Value);
70
65.6k
    }
71
412k
    return *this;
72
412k
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Case(llvm::StringLiteral, llvm::ARM_AM::ShiftOpc)
Line
Count
Source
67
15.6k
  StringSwitch &Case(StringLiteral S, T Value) {
68
15.6k
    if (!Result && 
Str == S8.22k
) {
69
2.27k
      Result = std::move(Value);
70
2.27k
    }
71
15.6k
    return *this;
72
15.6k
  }
llvm::StringSwitch<bool, bool>::Case(llvm::StringLiteral, bool)
Line
Count
Source
67
504M
  StringSwitch &Case(StringLiteral S, T Value) {
68
504M
    if (!Result && 
Str == S159M
) {
69
3.07M
      Result = std::move(Value);
70
3.07M
    }
71
504M
    return *this;
72
504M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Case(llvm::StringLiteral, llvm::LPAC::AluCode)
Line
Count
Source
67
1.08k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.08k
    if (!Result && 
Str == S537
) {
69
108
      Result = std::move(Value);
70
108
    }
71
1.08k
    return *this;
72
1.08k
  }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::Case(llvm::StringLiteral, unsigned long long)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
67
5.40k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.40k
    if (!Result && 
Str == S2.98k
) {
69
173
      Result = std::move(Value);
70
173
    }
71
5.40k
    return *this;
72
5.40k
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::SparcMCExpr::VariantKind)
Line
Count
Source
67
4.46k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.46k
    if (!Result && 
Str == S2.51k
) {
69
144
      Result = std::move(Value);
70
144
    }
71
4.46k
    return *this;
72
4.46k
  }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::Case(llvm::StringLiteral, llvm::WebAssembly::ExprType)
Line
Count
Source
67
133
  StringSwitch &Case(StringLiteral S, T Value) {
68
133
    if (!Result && 
Str == S53
) {
69
19
      Result = std::move(Value);
70
19
    }
71
133
    return *this;
72
133
  }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::Case(llvm::StringLiteral, llvm::X86::CondCode)
Line
Count
Source
67
12.3M
  StringSwitch &Case(StringLiteral S, T Value) {
68
12.3M
    if (!Result && 
Str == S12.3M
) {
69
342
      Result = std::move(Value);
70
342
    }
71
12.3M
    return *this;
72
12.3M
  }
llvm::StringSwitch<char const*, char const*>::Case(llvm::StringLiteral, char const*)
Line
Count
Source
67
1.20M
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.20M
    if (!Result && 
Str == S1.18M
) {
69
14.0k
      Result = std::move(Value);
70
14.0k
    }
71
1.20M
    return *this;
72
1.20M
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Case(llvm::StringLiteral, llvm::MachO::CPUSubTypeX86)
Line
Count
Source
67
4.05k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.05k
    if (!Result && Str == S) {
69
637
      Result = std::move(Value);
70
637
    }
71
4.05k
    return *this;
72
4.05k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Case(llvm::StringLiteral, llvm::EHPersonality)
Line
Count
Source
67
6.41M
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.41M
    if (!Result && 
Str == S903k
) {
69
426k
      Result = std::move(Value);
70
426k
    }
71
6.41M
    return *this;
72
6.41M
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Case(llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
67
2.26k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.26k
    if (!Result && 
Str == S2.25k
) {
69
8
      Result = std::move(Value);
70
8
    }
71
2.26k
    return *this;
72
2.26k
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Case(llvm::StringLiteral, llvm::DINode::DIFlags)
Line
Count
Source
67
138k
  StringSwitch &Case(StringLiteral S, T Value) {
68
138k
    if (!Result && 
Str == S46.7k
) {
69
4.05k
      Result = std::move(Value);
70
4.05k
    }
71
138k
    return *this;
72
138k
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
67
396
  StringSwitch &Case(StringLiteral S, T Value) {
68
396
    if (!Result && 
Str == S203
) {
69
198
      Result = std::move(Value);
70
198
    }
71
396
    return *this;
72
396
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
67
8.51k
  StringSwitch &Case(StringLiteral S, T Value) {
68
8.51k
    if (!Result && 
Str == S4.30k
) {
69
2.12k
      Result = std::move(Value);
70
2.12k
    }
71
8.51k
    return *this;
72
8.51k
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
67
627
  StringSwitch &Case(StringLiteral S, T Value) {
68
627
    if (!Result && 
Str == S603
) {
69
209
      Result = std::move(Value);
70
209
    }
71
627
    return *this;
72
627
  }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::Case(llvm::StringLiteral, llvm::DISubprogram::DISPFlags)
Line
Count
Source
67
4.02k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.02k
    if (!Result && 
Str == S2.16k
) {
69
402
      Result = std::move(Value);
70
402
    }
71
4.02k
    return *this;
72
4.02k
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
67
2.77k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.77k
    if (!Result && 
Str == S563
) {
69
553
      Result = std::move(Value);
70
553
    }
71
2.77k
    return *this;
72
2.77k
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
67
1.65k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.65k
    if (!Result && Str == S) {
69
551
      Result = std::move(Value);
70
551
    }
71
1.65k
    return *this;
72
1.65k
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Case(llvm::StringLiteral, llvm::Attribute::AttrKind)
Line
Count
Source
67
74
  StringSwitch &Case(StringLiteral S, T Value) {
68
74
    if (!Result && 
Str == S24
) {
69
2
      Result = std::move(Value);
70
2
    }
71
74
    return *this;
72
74
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Case(llvm::StringLiteral, llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
67
247k
  StringSwitch &Case(StringLiteral S, T Value) {
68
247k
    if (!Result && 
Str == S74.1k
) {
69
2.32k
      Result = std::move(Value);
70
2.32k
    }
71
247k
    return *this;
72
247k
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Case(llvm::StringLiteral, llvm::COFF::COMDATType)
Line
Count
Source
67
1.23k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.23k
    if (!Result && 
Str == S449
) {
69
176
      Result = std::move(Value);
70
176
    }
71
1.23k
    return *this;
72
1.23k
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Case(llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
67
33.5k
  StringSwitch &Case(StringLiteral S, T Value) {
68
33.5k
    if (!Result && 
Str == S7.47k
) {
69
2.84k
      Result = std::move(Value);
70
2.84k
    }
71
33.5k
    return *this;
72
33.5k
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64::ArchKind, llvm::AArch64::ArchKind>::Case(llvm::StringLiteral, llvm::AArch64::ArchKind)
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>)
Line
Count
Source
67
111
  StringSwitch &Case(StringLiteral S, T Value) {
68
111
    if (!Result && 
Str == S56
) {
69
36
      Result = std::move(Value);
70
36
    }
71
111
    return *this;
72
111
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Case(llvm::StringLiteral, llvm::Triple::VendorType)
Line
Count
Source
67
31.1M
  StringSwitch &Case(StringLiteral S, T Value) {
68
31.1M
    if (!Result && 
Str == S13.7M
) {
69
1.17M
      Result = std::move(Value);
70
1.17M
    }
71
31.1M
    return *this;
72
31.1M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Case(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
67
157M
  StringSwitch &Case(StringLiteral S, T Value) {
68
157M
    if (!Result && 
Str == S43.6M
) {
69
1.84M
      Result = std::move(Value);
70
1.84M
    }
71
157M
    return *this;
72
157M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Case(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
67
208k
  StringSwitch &Case(StringLiteral S, T Value) {
68
208k
    if (!Result && 
Str == S206k
) {
69
584
      Result = std::move(Value);
70
584
    }
71
208k
    return *this;
72
208k
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::Case(llvm::StringLiteral, clang::CudaVersion)
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Case(llvm::StringLiteral, clang::CudaArch)
Line
Count
Source
67
34.1k
  StringSwitch &Case(StringLiteral S, T Value) {
68
34.1k
    if (!Result && 
Str == S7.00k
) {
69
1.08k
      Result = std::move(Value);
70
1.08k
    }
71
34.1k
    return *this;
72
34.1k
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Case(llvm::StringLiteral, clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Case(llvm::StringLiteral, clang::OpenMPDirectiveKind)
Line
Count
Source
67
26.4M
  StringSwitch &Case(StringLiteral S, T Value) {
68
26.4M
    if (!Result && 
Str == S9.99M
) {
69
395k
      Result = std::move(Value);
70
395k
    }
71
26.4M
    return *this;
72
26.4M
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Case(llvm::StringLiteral, clang::OpenMPClauseKind)
Line
Count
Source
67
4.50M
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.50M
    if (!Result && 
Str == S1.54M
) {
69
79.8k
      Result = std::move(Value);
70
79.8k
    }
71
4.50M
    return *this;
72
4.50M
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDefaultClauseKind)
Line
Count
Source
67
1.55k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.55k
    if (!Result && 
Str == S1.12k
) {
69
639
      Result = std::move(Value);
70
639
    }
71
1.55k
    return *this;
72
1.55k
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Case(llvm::StringLiteral, clang::OpenMPProcBindClauseKind)
Line
Count
Source
67
1.56k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.56k
    if (!Result && 
Str == S1.14k
) {
69
406
      Result = std::move(Value);
70
406
    }
71
1.56k
    return *this;
72
1.56k
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDependClauseKind)
Line
Count
Source
67
16.0k
  StringSwitch &Case(StringLiteral S, T Value) {
68
16.0k
    if (!Result && 
Str == S6.37k
) {
69
2.55k
      Result = std::move(Value);
70
2.55k
    }
71
16.0k
    return *this;
72
16.0k
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Case(llvm::StringLiteral, clang::OpenMPLinearClauseKind)
Line
Count
Source
67
546
  StringSwitch &Case(StringLiteral S, T Value) {
68
546
    if (!Result && 
Str == S390
) {
69
164
      Result = std::move(Value);
70
164
    }
71
546
    return *this;
72
546
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
67
1.30k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.30k
    if (!Result && Str == S) {
69
1.15k
      Result = std::move(Value);
70
1.15k
    }
71
1.30k
    return *this;
72
1.30k
  }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::Case(llvm::StringLiteral, clang::OpenMPAtomicDefaultMemOrderClauseKind)
Line
Count
Source
67
66
  StringSwitch &Case(StringLiteral S, T Value) {
68
66
    if (!Result && 
Str == S46
) {
69
19
      Result = std::move(Value);
70
19
    }
71
66
    return *this;
72
66
  }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::Case(llvm::StringLiteral, clang::SanitizerMask)
Line
Count
Source
67
593k
  StringSwitch &Case(StringLiteral S, T Value) {
68
593k
    if (!Result && 
Str == S366k
) {
69
9.71k
      Result = std::move(Value);
70
9.71k
    }
71
593k
    return *this;
72
593k
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
67
1
  StringSwitch &Case(StringLiteral S, T Value) {
68
1
    if (!Result && Str == S) {
69
0
      Result = std::move(Value);
70
0
    }
71
1
    return *this;
72
1
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::Case(llvm::StringLiteral, llvm::X86::ProcessorFeatures)
Line
Count
Source
67
5.00k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.00k
    if (!Result && 
Str == S1.30k
) {
69
139
      Result = std::move(Value);
70
139
    }
71
5.00k
    return *this;
72
5.00k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
67
1.98M
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.98M
    if (!Result && 
Str == S1.86M
) {
69
88.2k
      Result = std::move(Value);
70
88.2k
    }
71
1.98M
    return *this;
72
1.98M
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
67
663k
  StringSwitch &Case(StringLiteral S, T Value) {
68
663k
    if (!Result && 
Str == S662k
) {
69
28.4k
      Result = std::move(Value);
70
28.4k
    }
71
663k
    return *this;
72
663k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
67
663k
  StringSwitch &Case(StringLiteral S, T Value) {
68
663k
    if (!Result && 
Str == S663k
) {
69
83
      Result = std::move(Value);
70
83
    }
71
663k
    return *this;
72
663k
  }
llvm::StringSwitch<char, char>::Case(llvm::StringLiteral, char)
Line
Count
Source
67
7.00k
  StringSwitch &Case(StringLiteral S, T Value) {
68
7.00k
    if (!Result && 
Str == S3.74k
) {
69
250
      Result = std::move(Value);
70
250
    }
71
7.00k
    return *this;
72
7.00k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
67
7.10M
  StringSwitch &Case(StringLiteral S, T Value) {
68
7.10M
    if (!Result && 
Str == S5.67M
) {
69
27.2k
      Result = std::move(Value);
70
27.2k
    }
71
7.10M
    return *this;
72
7.10M
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::Case(llvm::StringLiteral, llvm::ThreadModel::Model)
Line
Count
Source
67
41.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
41.9k
    if (!Result && 
Str == S21.0k
) {
69
20.9k
      Result = std::move(Value);
70
20.9k
    }
71
41.9k
    return *this;
72
41.9k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Case(llvm::StringLiteral, llvm::FloatABI::ABIType)
Line
Count
Source
67
62.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
62.9k
    if (!Result && 
Str == S60.2k
) {
69
2.24k
      Result = std::move(Value);
70
2.24k
    }
71
62.9k
    return *this;
72
62.9k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Case(llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
67
4.63k
  StringSwitch &Case(StringLiteral S, T Value) {
68
4.63k
    if (!Result && 
Str == S2.80k
) {
69
113
      Result = std::move(Value);
70
113
    }
71
4.63k
    return *this;
72
4.63k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::Case(llvm::StringLiteral, llvm::GlobalValue::ThreadLocalMode)
Line
Count
Source
67
60
  StringSwitch &Case(StringLiteral S, T Value) {
68
60
    if (!Result && 
Str == S43
) {
69
15
      Result = std::move(Value);
70
15
    }
71
60
    return *this;
72
60
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Case(llvm::StringLiteral, clang::driver::Distro::DistroType)
Line
Count
Source
67
50
  StringSwitch &Case(StringLiteral S, T Value) {
68
50
    if (!Result && 
Str == S35
) {
69
3
      Result = std::move(Value);
70
3
    }
71
50
    return *this;
72
50
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Case(llvm::StringLiteral, llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
67
62.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
62.2k
    if (!Result && 
Str == S32.1k
) {
69
15.5k
      Result = std::move(Value);
70
15.5k
    }
71
62.2k
    return *this;
72
62.2k
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Case(llvm::StringLiteral, clang::driver::LTOKind)
Line
Count
Source
67
240
  StringSwitch &Case(StringLiteral S, T Value) {
68
240
    if (!Result && 
Str == S151
) {
69
118
      Result = std::move(Value);
70
118
    }
71
240
    return *this;
72
240
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Case(llvm::StringLiteral, clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
67
2.36k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.36k
    if (!Result && 
Str == S870
) {
69
783
      Result = std::move(Value);
70
783
    }
71
2.36k
    return *this;
72
2.36k
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Case(llvm::StringLiteral, clang::driver::Driver::SaveTempsMode)
Line
Count
Source
67
96
  StringSwitch &Case(StringLiteral S, T Value) {
68
96
    if (!Result && 
Str == S53
) {
69
48
      Result = std::move(Value);
70
48
    }
71
96
    return *this;
72
96
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Case(llvm::StringLiteral, clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
67
4
  StringSwitch &Case(StringLiteral S, T Value) {
68
4
    if (!Result && 
Str == S3
) {
69
2
      Result = std::move(Value);
70
2
    }
71
4
    return *this;
72
4
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::arm::FloatABI)
Line
Count
Source
67
8.43k
  StringSwitch &Case(StringLiteral S, T Value) {
68
8.43k
    if (!Result && 
Str == S4.78k
) {
69
2.81k
      Result = std::move(Value);
70
2.81k
    }
71
8.43k
    return *this;
72
8.43k
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Case(llvm::StringLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
67
1.69k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.69k
    if (!Result && 
Str == S1.07k
) {
69
343
      Result = std::move(Value);
70
343
    }
71
1.69k
    return *this;
72
1.69k
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::mips::FloatABI)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S16
) {
69
12
      Result = std::move(Value);
70
12
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::ppc::FloatABI)
Line
Count
Source
67
20
  StringSwitch &Case(StringLiteral S, T Value) {
68
20
    if (!Result && 
Str == S14
) {
69
8
      Result = std::move(Value);
70
8
    }
71
20
    return *this;
72
20
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::sparc::FloatABI)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S20
) {
69
8
      Result = std::move(Value);
70
8
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Case(llvm::StringLiteral, clang::driver::types::ID)
Line
Count
Source
67
2.67M
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.67M
    if (!Result && 
Str == S767k
) {
69
46.3k
      Result = std::move(Value);
70
46.3k
    }
71
2.67M
    return *this;
72
2.67M
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Case(llvm::StringLiteral, clang::DiagnosticLevelMask)
Line
Count
Source
67
80
  StringSwitch &Case(StringLiteral S, T Value) {
68
80
    if (!Result && 
Str == S38
) {
69
19
      Result = std::move(Value);
70
19
    }
71
80
    return *this;
72
80
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Case(llvm::StringLiteral, clang::AnalysisStores)
Line
Count
Source
67
170
  StringSwitch &Case(StringLiteral S, T Value) {
68
170
    if (!Result && Str == S) {
69
170
      Result = std::move(Value);
70
170
    }
71
170
    return *this;
72
170
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Case(llvm::StringLiteral, clang::AnalysisConstraints)
Line
Count
Source
67
1.65k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.65k
    if (!Result && 
Str == S826
) {
69
826
      Result = std::move(Value);
70
826
    }
71
1.65k
    return *this;
72
1.65k
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Case(llvm::StringLiteral, clang::AnalysisDiagClients)
Line
Count
Source
67
1.26k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.26k
    if (!Result && 
Str == S944
) {
69
181
      Result = std::move(Value);
70
181
    }
71
1.26k
    return *this;
72
1.26k
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Case(llvm::StringLiteral, clang::AnalysisPurgeMode)
Line
Count
Source
67
3
  StringSwitch &Case(StringLiteral S, T Value) {
68
3
    if (!Result && Str == S) {
69
1
      Result = std::move(Value);
70
1
    }
71
3
    return *this;
72
3
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Case(llvm::StringLiteral, clang::AnalysisInliningMode)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::Case(llvm::StringLiteral, llvm::Optional<bool>)
Line
Count
Source
67
2.97M
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.97M
    if (!Result && 
Str == S2.23M
) {
69
1.48M
      Result = std::move(Value);
70
1.48M
    }
71
2.97M
    return *this;
72
2.97M
  }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::UserModeKind>)
Line
Count
Source
67
262k
  StringSwitch &Case(StringLiteral S, T Value) {
68
262k
    if (!Result && 
Str == S262k
) {
69
131k
      Result = std::move(Value);
70
131k
    }
71
262k
    return *this;
72
262k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Case(llvm::StringLiteral, clang::InputKind)
Line
Count
Source
67
729k
  StringSwitch &Case(StringLiteral S, T Value) {
68
729k
    if (!Result && 
Str == S379k
) {
69
45.4k
      Result = std::move(Value);
70
45.4k
    }
71
729k
    return *this;
72
729k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Case(llvm::StringLiteral, llvm::EABI)
Line
Count
Source
67
116
  StringSwitch &Case(StringLiteral S, T Value) {
68
116
    if (!Result && 
Str == S112
) {
69
28
      Result = std::move(Value);
70
28
    }
71
116
    return *this;
72
116
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Case(llvm::StringLiteral, llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
67
129k
  StringSwitch &Case(StringLiteral S, T Value) {
68
129k
    if (!Result && 
Str == S39.3k
) {
69
21.6k
      Result = std::move(Value);
70
21.6k
    }
71
129k
    return *this;
72
129k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Case(llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
67
882k
  StringSwitch &Case(StringLiteral S, T Value) {
68
882k
    if (!Result && 
Str == S454k
) {
69
16.5k
      Result = std::move(Value);
70
16.5k
    }
71
882k
    return *this;
72
882k
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Case(llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
67
210
  StringSwitch &Case(StringLiteral S, T Value) {
68
210
    if (!Result && 
Str == S147
) {
69
30
      Result = std::move(Value);
70
30
    }
71
210
    return *this;
72
210
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Case(llvm::StringLiteral, clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
67
3
  StringSwitch &Case(StringLiteral S, T Value) {
68
3
    if (!Result && Str == S) {
69
1
      Result = std::move(Value);
70
1
    }
71
3
    return *this;
72
3
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Case(llvm::StringLiteral, clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
67
25
  StringSwitch &Case(StringLiteral S, T Value) {
68
25
    if (!Result && 
Str == S15
) {
69
5
      Result = std::move(Value);
70
5
    }
71
25
    return *this;
72
25
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Case(llvm::StringLiteral, llvm::MIToken::TokenKind)
Line
Count
Source
67
21.7M
  StringSwitch &Case(StringLiteral S, T Value) {
68
21.7M
    if (!Result && 
Str == S16.1M
) {
69
104k
      Result = std::move(Value);
70
104k
    }
71
21.7M
    return *this;
72
21.7M
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Case(llvm::StringLiteral, llvm::CmpInst::Predicate)
Line
Count
Source
67
10.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
10.2k
    if (!Result && 
Str == S4.17k
) {
69
802
      Result = std::move(Value);
70
802
    }
71
10.2k
    return *this;
72
10.2k
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Case(llvm::StringLiteral, llvm::AtomicOrdering)
Line
Count
Source
67
2.59k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.59k
    if (!Result && 
Str == S1.81k
) {
69
431
      Result = std::move(Value);
70
431
    }
71
2.59k
    return *this;
72
2.59k
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Case(llvm::StringLiteral, llvm::StringRef*)
Line
Count
Source
67
143k
  StringSwitch &Case(StringLiteral S, T Value) {
68
143k
    if (!Result && 
Str == S110k
) {
69
4.02k
      Result = std::move(Value);
70
4.02k
    }
71
143k
    return *this;
72
143k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Case(llvm::StringLiteral, (anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
67
395k
  StringSwitch &Case(StringLiteral S, T Value) {
68
395k
    if (!Result && 
Str == S338k
) {
69
5.96k
      Result = std::move(Value);
70
5.96k
    }
71
395k
    return *this;
72
395k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Case(llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
67
29.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
29.2k
    if (!Result && 
Str == S17.0k
) {
69
504
      Result = std::move(Value);
70
504
    }
71
29.2k
    return *this;
72
29.2k
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
67
241k
  StringSwitch &Case(StringLiteral S, T Value) {
68
241k
    if (!Result && 
Str == S183k
) {
69
7.53k
      Result = std::move(Value);
70
7.53k
    }
71
241k
    return *this;
72
241k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Case(llvm::StringLiteral, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
67
21.3k
  StringSwitch &Case(StringLiteral S, T Value) {
68
21.3k
    if (!Result && 
Str == S19.6k
) {
69
111
      Result = std::move(Value);
70
111
    }
71
21.3k
    return *this;
72
21.3k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
67
1.26k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.26k
    if (!Result && 
Str == S1.16k
) {
69
54
      Result = std::move(Value);
70
54
    }
71
1.26k
    return *this;
72
1.26k
  }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::Case(llvm::StringLiteral, (anonymous namespace)::MoveChecker::AggressivenessKind)
Line
Count
Source
67
135
  StringSwitch &Case(StringLiteral S, T Value) {
68
135
    if (!Result && 
Str == S91
) {
69
44
      Result = std::move(Value);
70
44
    }
71
135
    return *this;
72
135
  }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ExplorationStrategyKind>)
Line
Count
Source
67
63.4k
  StringSwitch &Case(StringLiteral S, T Value) {
68
63.4k
    if (!Result && 
Str == S41.7k
) {
69
10.5k
      Result = std::move(Value);
70
10.5k
    }
71
63.4k
    return *this;
72
63.4k
  }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::IPAKind>)
Line
Count
Source
67
505k
  StringSwitch &Case(StringLiteral S, T Value) {
68
505k
    if (!Result && 
Str == S503k
) {
69
101k
      Result = std::move(Value);
70
101k
    }
71
505k
    return *this;
72
505k
  }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::CXXInlineableMemberKind>)
Line
Count
Source
67
50.3k
  StringSwitch &Case(StringLiteral S, T Value) {
68
50.3k
    if (!Result && 
Str == S24.3k
) {
69
12.5k
      Result = std::move(Value);
70
12.5k
    }
71
50.3k
    return *this;
72
50.3k
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
67
1.34k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.34k
    if (!Result && 
Str == S1.30k
) {
69
82
      Result = std::move(Value);
70
82
    }
71
1.34k
    return *this;
72
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
67
112
  StringSwitch &Case(StringLiteral S, T Value) {
68
112
    if (!Result && 
Str == S92
) {
69
54
      Result = std::move(Value);
70
54
    }
71
112
    return *this;
72
112
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Case(llvm::StringLiteral, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
67
19.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
19.9k
    if (!Result && 
Str == S11.5k
) {
69
1.32k
      Result = std::move(Value);
70
1.32k
    }
71
19.9k
    return *this;
72
19.9k
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Case(llvm::StringLiteral, llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
67
159
  StringSwitch &Case(StringLiteral S, T Value) {
68
159
    if (!Result && 
Str == S132
) {
69
85
      Result = std::move(Value);
70
85
    }
71
159
    return *this;
72
159
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Case(llvm::StringLiteral, clang::PragmaMSCommentKind)
Line
Count
Source
67
380
  StringSwitch &Case(StringLiteral S, T Value) {
68
380
    if (!Result && 
Str == S167
) {
69
73
      Result = std::move(Value);
70
73
    }
71
380
    return *this;
72
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
67
22
  StringSwitch &Case(StringLiteral S, T Value) {
68
22
    if (!Result && Str == S) {
69
21
      Result = std::move(Value);
70
21
    }
71
22
    return *this;
72
22
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Case(llvm::StringLiteral, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
67
57
  StringSwitch &Case(StringLiteral S, T Value) {
68
57
    if (!Result && 
Str == S43
) {
69
18
      Result = std::move(Value);
70
18
    }
71
57
    return *this;
72
57
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::Case(llvm::StringLiteral, bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation))
Line
Count
Source
67
822
  StringSwitch &Case(StringLiteral S, T Value) {
68
822
    if (!Result && 
Str == S575
) {
69
137
      Result = std::move(Value);
70
137
    }
71
822
    return *this;
72
822
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Case(llvm::StringLiteral, clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
67
312
  StringSwitch &Case(StringLiteral S, T Value) {
68
312
    if (!Result && 
Str == S69
) {
69
38
      Result = std::move(Value);
70
38
    }
71
312
    return *this;
72
312
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Case(llvm::StringLiteral, llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
67
5.16M
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.16M
    if (!Result && 
Str == S2.25M
) {
69
1.29M
      Result = std::move(Value);
70
1.29M
    }
71
5.16M
    return *this;
72
5.16M
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::Case(llvm::StringLiteral, clang::Sema::PragmaStack<clang::StringLiteral*>*)
Line
Count
Source
67
208
  StringSwitch &Case(StringLiteral S, T Value) {
68
208
    if (!Result && 
Str == S138
) {
69
52
      Result = std::move(Value);
70
52
    }
71
208
    return *this;
72
208
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Case(llvm::StringLiteral, clang::QualType)
Line
Count
Source
67
2.27k
  StringSwitch &Case(StringLiteral S, T Value) {
68
2.27k
    if (!Result && 
Str == S1.80k
) {
69
185
      Result = std::move(Value);
70
185
    }
71
2.27k
    return *this;
72
2.27k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Case(llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
67
609k
  StringSwitch &Case(StringLiteral S, T Value) {
68
609k
    if (!Result && 
Str == S89.4k
) {
69
43.5k
      Result = std::move(Value);
70
43.5k
    }
71
609k
    return *this;
72
609k
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Case(llvm::StringLiteral, clang::ObjCInterfaceDecl*)
Line
Count
Source
67
24
  StringSwitch &Case(StringLiteral S, T Value) {
68
24
    if (!Result && 
Str == S22
) {
69
2
      Result = std::move(Value);
70
2
    }
71
24
    return *this;
72
24
  }
llvm::StringSwitch<unsigned char, unsigned char>::Case(llvm::StringLiteral, unsigned char)
Line
Count
Source
67
753
  StringSwitch &Case(StringLiteral S, T Value) {
68
753
    if (!Result && 
Str == S476
) {
69
251
      Result = std::move(Value);
70
251
    }
71
753
    return *this;
72
753
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
67
210
  StringSwitch &Case(StringLiteral S, T Value) {
68
210
    if (!Result && 
Str == S129
) {
69
20
      Result = std::move(Value);
70
20
    }
71
210
    return *this;
72
210
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
67
132
  StringSwitch &Case(StringLiteral S, T Value) {
68
132
    if (!Result && 
Str == S110
) {
69
40
      Result = std::move(Value);
70
40
    }
71
132
    return *this;
72
132
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
67
468
  StringSwitch &Case(StringLiteral S, T Value) {
68
468
    if (!Result && 
Str == S263
) {
69
73
      Result = std::move(Value);
70
73
    }
71
468
    return *this;
72
468
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Case(llvm::StringLiteral, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
67
10.2k
  StringSwitch &Case(StringLiteral S, T Value) {
68
10.2k
    if (!Result && 
Str == S10.2k
) {
69
5.14k
      Result = std::move(Value);
70
5.14k
    }
71
10.2k
    return *this;
72
10.2k
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Case(llvm::StringLiteral, llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
67
5.51k
  StringSwitch &Case(StringLiteral S, T Value) {
68
5.51k
    if (!Result && 
Str == S5.48k
) {
69
2.75k
      Result = std::move(Value);
70
2.75k
    }
71
5.51k
    return *this;
72
5.51k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Case(llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
67
905k
  StringSwitch &Case(StringLiteral S, T Value) {
68
905k
    if (!Result && 
Str == S231k
) {
69
50.3k
      Result = std::move(Value);
70
50.3k
    }
71
905k
    return *this;
72
905k
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
67
96
  StringSwitch &Case(StringLiteral S, T Value) {
68
96
    if (!Result && 
Str == S68
) {
69
16
      Result = std::move(Value);
70
16
    }
71
96
    return *this;
72
96
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Case(llvm::StringLiteral, llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
67
547
  StringSwitch &Case(StringLiteral S, T Value) {
68
547
    if (!Result && Str == S) {
69
547
      Result = std::move(Value);
70
547
    }
71
547
    return *this;
72
547
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
67
18
  StringSwitch &Case(StringLiteral S, T Value) {
68
18
    if (!Result && 
Str == S14
) {
69
6
      Result = std::move(Value);
70
6
    }
71
18
    return *this;
72
18
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
67
57
  StringSwitch &Case(StringLiteral S, T Value) {
68
57
    if (!Result && 
Str == S41
) {
69
18
      Result = std::move(Value);
70
18
    }
71
57
    return *this;
72
57
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
67
21
  StringSwitch &Case(StringLiteral S, T Value) {
68
21
    if (!Result && 
Str == S19
) {
69
7
      Result = std::move(Value);
70
7
    }
71
21
    return *this;
72
21
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
67
33
  StringSwitch &Case(StringLiteral S, T Value) {
68
33
    if (!Result && 
Str == S26
) {
69
10
      Result = std::move(Value);
70
10
    }
71
33
    return *this;
72
33
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
67
27
  StringSwitch &Case(StringLiteral S, T Value) {
68
27
    if (!Result && 
Str == S19
) {
69
9
      Result = std::move(Value);
70
9
    }
71
27
    return *this;
72
27
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
67
10
  StringSwitch &Case(StringLiteral S, T Value) {
68
10
    if (!Result && 
Str == S8
) {
69
5
      Result = std::move(Value);
70
5
    }
71
10
    return *this;
72
10
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Case(llvm::StringLiteral, clang::LoopHintAttr::OptionType)
Line
Count
Source
67
1.62k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.62k
    if (!Result && 
Str == S689
) {
69
180
      Result = std::move(Value);
70
180
    }
71
1.62k
    return *this;
72
1.62k
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Case(llvm::StringLiteral, llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
67
160
  StringSwitch &Case(StringLiteral S, T Value) {
68
160
    if (!Result && 
Str == S85
) {
69
80
      Result = std::move(Value);
70
80
    }
71
160
    return *this;
72
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
67
26.8k
  StringSwitch &Case(StringLiteral S, T Value) {
68
26.8k
    if (!Result && 
Str == S26.8k
) {
69
14
      Result = std::move(Value);
70
14
    }
71
26.8k
    return *this;
72
26.8k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Case(llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
67
168
  StringSwitch &Case(StringLiteral S, T Value) {
68
168
    if (!Result && 
Str == S92
) {
69
28
      Result = std::move(Value);
70
28
    }
71
168
    return *this;
72
168
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Case(llvm::StringLiteral, (anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
67
17.9k
  StringSwitch &Case(StringLiteral S, T Value) {
68
17.9k
    if (!Result && 
Str == S4.46k
) {
69
895
      Result = std::move(Value);
70
895
    }
71
17.9k
    return *this;
72
17.9k
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Case(llvm::StringLiteral, clang::MMToken::TokenKind)
Line
Count
Source
67
6.40M
  StringSwitch &Case(StringLiteral S, T Value) {
68
6.40M
    if (!Result && 
Str == S4.57M
) {
69
271k
      Result = std::move(Value);
70
271k
    }
71
6.40M
    return *this;
72
6.40M
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Case(llvm::StringLiteral, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
67
180
  StringSwitch &Case(StringLiteral S, T Value) {
68
180
    if (!Result && 
Str == S133
) {
69
89
      Result = std::move(Value);
70
89
    }
71
180
    return *this;
72
180
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Case(llvm::StringLiteral, (anonymous namespace)::AttributeKind)
Line
Count
Source
67
10.6k
  StringSwitch &Case(StringLiteral S, T Value) {
68
10.6k
    if (!Result && 
Str == S5.51k
) {
69
2.66k
      Result = std::move(Value);
70
2.66k
    }
71
10.6k
    return *this;
72
10.6k
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Case(llvm::StringLiteral, clang::diag::Severity)
Line
Count
Source
67
1.31k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.31k
    if (!Result && 
Str == S449
) {
69
326
      Result = std::move(Value);
70
326
    }
71
1.31k
    return *this;
72
1.31k
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::Case(llvm::StringLiteral, llvm::PassBuilder::OptimizationLevel)
Line
Count
Source
67
384
  StringSwitch &Case(StringLiteral S, T Value) {
68
384
    if (!Result && 
Str == S221
) {
69
64
      Result = std::move(Value);
70
64
    }
71
384
    return *this;
72
384
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Case(llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
67
162
  StringSwitch &Case(StringLiteral S, T Value) {
68
162
    if (!Result && 
Str == S54
) {
69
30
      Result = std::move(Value);
70
30
    }
71
162
    return *this;
72
162
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Case(llvm::StringLiteral, llvm::COFF::WindowsSubsystem)
Line
Count
Source
67
1.48k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.48k
    if (!Result && 
Str == S372
) {
69
165
      Result = std::move(Value);
70
165
    }
71
1.48k
    return *this;
72
1.48k
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Case(llvm::StringLiteral, lld::elf::LLDDWARFSection*)
Line
Count
Source
67
3.42k
  StringSwitch &Case(StringLiteral S, T Value) {
68
3.42k
    if (!Result && 
Str == S3.22k
) {
69
88
      Result = std::move(Value);
70
88
    }
71
3.42k
    return *this;
72
3.42k
  }
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
67
1.36k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.36k
    if (!Result && 
Str == S865
) {
69
64
      Result = std::move(Value);
70
64
    }
71
1.36k
    return *this;
72
1.36k
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Case(llvm::StringLiteral, llvm::object::Kind)
Line
Count
Source
67
1.60k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.60k
    if (!Result && 
Str == S1.30k
) {
69
51
      Result = std::move(Value);
70
51
    }
71
1.60k
    return *this;
72
1.60k
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Case(llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
67
1.49k
  StringSwitch &Case(StringLiteral S, T Value) {
68
1.49k
    if (!Result && 
Str == S621
) {
69
149
      Result = std::move(Value);
70
149
    }
71
1.49k
    return *this;
72
1.49k
  }
73
74
3.05M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
3.05M
    if (!Result && 
Str.endswith(S)3.02M
) {
76
24.3k
      Result = std::move(Value);
77
24.3k
    }
78
3.05M
    return *this;
79
3.05M
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::EndsWith(llvm::StringLiteral, llvm::LPCC::CondCode)
Line
Count
Source
74
6.60k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
6.60k
    if (!Result && 
Str.endswith(S)5.84k
) {
76
90
      Result = std::move(Value);
77
90
    }
78
6.60k
    return *this;
79
6.60k
  }
llvm::StringSwitch<int, int>::EndsWith(llvm::StringLiteral, int)
Line
Count
Source
74
74
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
74
    if (!Result && 
Str.endswith(S)61
) {
76
26
      Result = std::move(Value);
77
26
    }
78
74
    return *this;
79
74
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::EndsWith(llvm::StringLiteral, llvm::Triple::SubArchType)
Line
Count
Source
74
86.9k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
86.9k
    if (!Result && Str.endswith(S)) {
76
0
      Result = std::move(Value);
77
0
    }
78
86.9k
    return *this;
79
86.9k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::EndsWith(llvm::StringLiteral, llvm::Triple::ObjectFormatType)
Line
Count
Source
74
2.96M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
75
2.96M
    if (!Result && 
Str.endswith(S)2.93M
) {
76
24.2k
      Result = std::move(Value);
77
24.2k
    }
78
2.96M
    return *this;
79
2.96M
  }
80
81
87.3M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
87.3M
    if (!Result && 
Str.startswith(S)32.5M
) {
83
2.31M
      Result = std::move(Value);
84
2.31M
    }
85
87.3M
    return *this;
86
87.3M
  }
llvm::StringSwitch<bool, bool>::StartsWith(llvm::StringLiteral, bool)
Line
Count
Source
81
152
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
152
    if (!Result && 
Str.startswith(S)82
) {
83
19
      Result = std::move(Value);
84
19
    }
85
152
    return *this;
86
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
81
295k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
295k
    if (!Result && 
Str.startswith(S)29.1k
) {
83
12.2k
      Result = std::move(Value);
84
12.2k
    }
85
295k
    return *this;
86
295k
  }
llvm::StringSwitch<llvm::SectionKind, llvm::SectionKind>::StartsWith(llvm::StringLiteral, llvm::SectionKind)
Line
Count
Source
81
60
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
60
    if (!Result && 
Str.startswith(S)44
) {
83
15
      Result = std::move(Value);
84
15
    }
85
60
    return *this;
86
60
  }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StartsWith(llvm::StringLiteral, llvm::ARM::ISAKind)
Line
Count
Source
81
487k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
487k
    if (!Result && 
Str.startswith(S)396k
) {
83
121k
      Result = std::move(Value);
84
121k
    }
85
487k
    return *this;
86
487k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StartsWith(llvm::StringLiteral, llvm::Triple::OSType)
Line
Count
Source
81
66.9M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
66.9M
    if (!Result && 
Str.startswith(S)20.3M
) {
83
1.63M
      Result = std::move(Value);
84
1.63M
    }
85
66.9M
    return *this;
86
66.9M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StartsWith(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
81
1.93M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
1.93M
    if (!Result && 
Str.startswith(S)173k
) {
83
211
      Result = std::move(Value);
84
211
    }
85
1.93M
    return *this;
86
1.93M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StartsWith(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
81
11.7M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
11.7M
    if (!Result && 
Str.startswith(S)5.64M
) {
83
541k
      Result = std::move(Value);
84
541k
    }
85
11.7M
    return *this;
86
11.7M
  }
llvm::StringSwitch<char const*, char const*>::StartsWith(llvm::StringLiteral, char const*)
Line
Count
Source
81
5.31M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
5.31M
    if (!Result && 
Str.startswith(S)5.31M
) {
83
1
      Result = std::move(Value);
84
1
    }
85
5.31M
    return *this;
86
5.31M
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StartsWith(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
81
43.9k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
43.9k
    if (!Result && 
Str.startswith(S)33.2k
) {
83
48
      Result = std::move(Value);
84
48
    }
85
43.9k
    return *this;
86
43.9k
  }
llvm::StringSwitch<unsigned long, unsigned long>::StartsWith(llvm::StringLiteral, unsigned long)
Line
Count
Source
81
619k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
619k
    if (!Result && Str.startswith(S)) {
83
26
      Result = std::move(Value);
84
26
    }
85
619k
    return *this;
86
619k
  }
llvm::StringSwitch<unsigned int, unsigned int>::StartsWith(llvm::StringLiteral, unsigned int)
Line
Count
Source
81
1.63k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
82
1.63k
    if (!Result && 
Str.startswith(S)1.06k
) {
83
346
      Result = std::move(Value);
84
346
    }
85
1.63k
    return *this;
86
1.63k
  }
87
88
32.9M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
32.9M
    return Case(S0, Value).Case(S1, Value);
90
32.9M
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
88
455k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
455k
    return Case(S0, Value).Case(S1, Value);
90
455k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
88
729k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
729k
    return Case(S0, Value).Case(S1, Value);
90
729k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
88
566
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
566
    return Case(S0, Value).Case(S1, Value);
90
566
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
88
14.5k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
14.5k
    return Case(S0, Value).Case(S1, Value);
90
14.5k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
88
7.56M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
7.56M
    return Case(S0, Value).Case(S1, Value);
90
7.56M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
88
23.6M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
23.6M
    return Case(S0, Value).Case(S1, Value);
90
23.6M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
88
52.1k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
52.1k
    return Case(S0, Value).Case(S1, Value);
90
52.1k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
88
7.22k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
7.22k
    return Case(S0, Value).Case(S1, Value);
90
7.22k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
88
452
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
452
    return Case(S0, Value).Case(S1, Value);
90
452
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
88
1.65k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
1.65k
    return Case(S0, Value).Case(S1, Value);
90
1.65k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
88
111k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
111k
    return Case(S0, Value).Case(S1, Value);
90
111k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
88
1.12k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
1.12k
    return Case(S0, Value).Case(S1, Value);
90
1.12k
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
88
60
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
60
    return Case(S0, Value).Case(S1, Value);
90
60
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
88
3.11k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
3.11k
    return Case(S0, Value).Case(S1, Value);
90
3.11k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
88
420
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
420
    return Case(S0, Value).Case(S1, Value);
90
420
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
88
130k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
130k
    return Case(S0, Value).Case(S1, Value);
90
130k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
88
150k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
150k
    return Case(S0, Value).Case(S1, Value);
90
150k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
88
56
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
56
    return Case(S0, Value).Case(S1, Value);
90
56
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
88
42
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
42
    return Case(S0, Value).Case(S1, Value);
90
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
88
273
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
273
    return Case(S0, Value).Case(S1, Value);
90
273
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
88
298
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
89
298
    return Case(S0, Value).Case(S1, Value);
90
298
  }
91
92
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
93
24.1M
                      T Value) {
94
24.1M
    return Case(S0, Value).Cases(S1, S2, Value);
95
24.1M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
93
437k
                      T Value) {
94
437k
    return Case(S0, Value).Cases(S1, S2, Value);
95
437k
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
93
207
                      T Value) {
94
207
    return Case(S0, Value).Cases(S1, S2, Value);
95
207
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
93
5.67M
                      T Value) {
94
5.67M
    return Case(S0, Value).Cases(S1, S2, Value);
95
5.67M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
93
17.7M
                      T Value) {
94
17.7M
    return Case(S0, Value).Cases(S1, S2, Value);
95
17.7M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
93
52.1k
                      T Value) {
94
52.1k
    return Case(S0, Value).Cases(S1, S2, Value);
95
52.1k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
93
3.59k
                      T Value) {
94
3.59k
    return Case(S0, Value).Cases(S1, S2, Value);
95
3.59k
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
93
147
                      T Value) {
94
147
    return Case(S0, Value).Cases(S1, S2, Value);
95
147
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::LangOptions::CoreFoundationABI)
Line
Count
Source
93
30
                      T Value) {
94
30
    return Case(S0, Value).Cases(S1, S2, Value);
95
30
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
93
35.3k
                      T Value) {
94
35.3k
    return Case(S0, Value).Cases(S1, S2, Value);
95
35.3k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
93
1.86k
                      T Value) {
94
1.86k
    return Case(S0, Value).Cases(S1, S2, Value);
95
1.86k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
93
420
                      T Value) {
94
420
    return Case(S0, Value).Cases(S1, S2, Value);
95
420
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
93
43.5k
                      T Value) {
94
43.5k
    return Case(S0, Value).Cases(S1, S2, Value);
95
43.5k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
93
150k
                      T Value) {
94
150k
    return Case(S0, Value).Cases(S1, S2, Value);
95
150k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
93
28
                      T Value) {
94
28
    return Case(S0, Value).Cases(S1, S2, Value);
95
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
93
41
                      T Value) {
94
41
    return Case(S0, Value).Cases(S1, S2, Value);
95
41
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
93
149
                      T Value) {
94
149
    return Case(S0, Value).Cases(S1, S2, Value);
95
149
  }
96
97
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
98
14.3M
                      StringLiteral S3, T Value) {
99
14.3M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
14.3M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
98
287k
                      StringLiteral S3, T Value) {
99
287k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
287k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
98
3.78M
                      StringLiteral S3, T Value) {
99
3.78M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
3.78M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
98
10.0M
                      StringLiteral S3, T Value) {
99
10.0M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
10.0M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
98
52.1k
                      StringLiteral S3, T Value) {
99
52.1k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
52.1k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
98
17.6k
                      StringLiteral S3, T Value) {
99
17.6k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
17.6k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
98
1.24k
                      StringLiteral S3, T Value) {
99
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
98
2.09k
                      StringLiteral S3, T Value) {
99
2.09k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
2.09k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
98
43.5k
                      StringLiteral S3, T Value) {
99
43.5k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
43.5k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
98
100k
                      StringLiteral S3, T Value) {
99
100k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
100
100k
  }
101
102
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
103
8.26M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
8.26M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
8.26M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
103
282k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
282k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
282k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
103
1.89M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
1.89M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
1.89M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
103
6.06M
                      StringLiteral S3, StringLiteral S4, T Value) {
104
6.06M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
6.06M
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
103
17.6k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
17.6k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
17.6k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
103
1.24k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
103
1.86k
                      StringLiteral S3, StringLiteral S4, T Value) {
104
1.86k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
105
1.86k
  }
106
107
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
108
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
109
2.07M
                      T Value) {
110
2.07M
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
2.07M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
109
146k
                      T Value) {
110
146k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
146k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
109
1.92M
                      T Value) {
110
1.92M
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
1.92M
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
109
1.24k
                      T Value) {
110
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
109
1.86k
                      T Value) {
110
1.86k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
111
1.86k
  }
112
113
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
114
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
115
143k
                      StringLiteral S6, T Value) {
116
143k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
143k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
115
141k
                      StringLiteral S6, T Value) {
116
141k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
141k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
115
1.24k
                      StringLiteral S6, T Value) {
116
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
115
464
                      StringLiteral S6, T Value) {
116
464
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
117
464
  }
118
119
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
120
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
121
1.70k
                      StringLiteral S6, StringLiteral S7, T Value) {
122
1.70k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
1.70k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
121
1.24k
                      StringLiteral S6, StringLiteral S7, T Value) {
122
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
121
464
                      StringLiteral S6, StringLiteral S7, T Value) {
122
464
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
123
464
  }
124
125
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
126
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
127
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
128
1.70k
                      T Value) {
129
1.70k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
1.70k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
128
1.24k
                      T Value) {
129
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
128
464
                      T Value) {
129
464
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
130
464
  }
131
132
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
133
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
134
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
135
1.47k
                      StringLiteral S9, T Value) {
136
1.47k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
1.47k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
135
1.24k
                      StringLiteral S9, T Value) {
136
1.24k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
1.24k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
135
232
                      StringLiteral S9, T Value) {
136
232
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
137
232
  }
138
139
  // Case-insensitive case matchers.
140
39.7k
  StringSwitch &CaseLower(StringLiteral S, T Value) {
141
39.7k
    if (!Result && 
Str.equals_lower(S)17.2k
)
142
3.80k
      Result = std::move(Value);
143
39.7k
144
39.7k
    return *this;
145
39.7k
  }
llvm::StringSwitch<Flavor, Flavor>::CaseLower(llvm::StringLiteral, Flavor)
Line
Count
Source
140
39.6k
  StringSwitch &CaseLower(StringLiteral S, T Value) {
141
39.6k
    if (!Result && 
Str.equals_lower(S)17.1k
)
142
3.78k
      Result = std::move(Value);
143
39.6k
144
39.6k
    return *this;
145
39.6k
  }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::CaseLower(llvm::StringLiteral, lld::coff::DebugKind)
Line
Count
Source
140
114
  StringSwitch &CaseLower(StringLiteral S, T Value) {
141
114
    if (!Result && 
Str.equals_lower(S)87
)
142
18
      Result = std::move(Value);
143
114
144
114
    return *this;
145
114
  }
146
147
  StringSwitch &EndsWithLower(StringLiteral S, T Value) {
148
    if (!Result && Str.endswith_lower(S))
149
      Result = Value;
150
151
    return *this;
152
  }
153
154
  StringSwitch &StartsWithLower(StringLiteral S, T Value) {
155
    if (!Result && Str.startswith_lower(S))
156
      Result = std::move(Value);
157
158
    return *this;
159
  }
160
161
13.2k
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, T Value) {
162
13.2k
    return CaseLower(S0, Value).CaseLower(S1, Value);
163
13.2k
  }
164
165
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
166
8.81k
                           T Value) {
167
8.81k
    return CaseLower(S0, Value).CasesLower(S1, S2, Value);
168
8.81k
  }
169
170
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
171
                           StringLiteral S3, T Value) {
172
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value);
173
  }
174
175
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
176
                           StringLiteral S3, StringLiteral S4, T Value) {
177
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, S4, Value);
178
  }
179
180
  LLVM_NODISCARD
181
35.3M
  R Default(T Value) {
182
35.3M
    if (Result)
183
16.4M
      return std::move(*Result);
184
18.8M
    return Value;
185
18.8M
  }
llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Default(llvm::DebugCompressionType)
Line
Count
Source
181
8
  R Default(T Value) {
182
8
    if (Result)
183
7
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<unsigned int, unsigned int>::Default(unsigned int)
Line
Count
Source
181
1.74M
  R Default(T Value) {
182
1.74M
    if (Result)
183
343k
      return std::move(*Result);
184
1.40M
    return Value;
185
1.40M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Default(llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Default(llvm::StringRef)
Line
Count
Source
181
4.37M
  R Default(T Value) {
182
4.37M
    if (Result)
183
2.66M
      return std::move(*Result);
184
1.71M
    return Value;
185
1.71M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Default(std::__1::pair<int, int>)
Line
Count
Source
181
113k
  R Default(T Value) {
182
113k
    if (Result)
183
113k
      return std::move(*Result);
184
111
    return Value;
185
111
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Default(llvm::AArch64CC::CondCode)
Line
Count
Source
181
360
  R Default(T Value) {
182
360
    if (Result)
183
338
      return std::move(*Result);
184
22
    return Value;
185
22
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Default(llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
181
1.07k
  R Default(T Value) {
182
1.07k
    if (Result)
183
1.07k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Default(llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
181
2.67k
  R Default(T Value) {
182
2.67k
    if (Result)
183
2.08k
      return std::move(*Result);
184
584
    return Value;
185
584
  }
llvm::StringSwitch<int, int>::Default(int)
Line
Count
Source
181
56.6k
  R Default(T Value) {
182
56.6k
    if (Result)
183
54.0k
      return std::move(*Result);
184
2.57k
    return Value;
185
2.57k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Default(llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
181
330
  R Default(T Value) {
182
330
    if (Result)
183
19
      return std::move(*Result);
184
311
    return Value;
185
311
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Default(llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
181
1.31k
  R Default(T Value) {
182
1.31k
    if (Result)
183
72
      return std::move(*Result);
184
1.24k
    return Value;
185
1.24k
  }
llvm::StringSwitch<bool*, bool*>::Default(bool*)
Line
Count
Source
181
26
  R Default(T Value) {
182
26
    if (Result)
183
26
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::StringRef>, llvm::Optional<llvm::StringRef> >::Default(llvm::Optional<llvm::StringRef>)
Line
Count
Source
181
5.14k
  R Default(T Value) {
182
5.14k
    if (Result)
183
22
      return std::move(*Result);
184
5.12k
    return Value;
185
5.12k
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Default(llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
181
297
  R Default(T Value) {
182
297
    if (Result)
183
42
      return std::move(*Result);
184
255
    return Value;
185
255
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Default(llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Default(long long)
Line
Count
Source
181
65.6k
  R Default(T Value) {
182
65.6k
    if (Result)
183
65.6k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Default(llvm::ARM_AM::ShiftOpc)
Line
Count
Source
181
2.61k
  R Default(T Value) {
182
2.61k
    if (Result)
183
2.27k
      return std::move(*Result);
184
332
    return Value;
185
332
  }
llvm::StringSwitch<bool, bool>::Default(bool)
Line
Count
Source
181
13.9M
  R Default(T Value) {
182
13.9M
    if (Result)
183
3.07M
      return std::move(*Result);
184
10.9M
    return Value;
185
10.9M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Default(llvm::LPAC::AluCode)
Line
Count
Source
181
108
  R Default(T Value) {
182
108
    if (Result)
183
108
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::Default(llvm::LPCC::CondCode)
Line
Count
Source
181
330
  R Default(T Value) {
182
330
    if (Result)
183
90
      return std::move(*Result);
184
240
    return Value;
185
240
  }
Unexecuted instantiation: llvm::StringSwitch<unsigned long long, unsigned long long>::Default(unsigned long long)
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Default(llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
181
173
  R Default(T Value) {
182
173
    if (Result)
183
173
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Default(llvm::SparcMCExpr::VariantKind)
Line
Count
Source
181
144
  R Default(T Value) {
182
144
    if (Result)
183
144
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::WebAssembly::ExprType, llvm::WebAssembly::ExprType>::Default(llvm::WebAssembly::ExprType)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
19
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::X86::CondCode, llvm::X86::CondCode>::Default(llvm::X86::CondCode)
Line
Count
Source
181
440k
  R Default(T Value) {
182
440k
    if (Result)
183
342
      return std::move(*Result);
184
440k
    return Value;
185
440k
  }
llvm::StringSwitch<char const*, char const*>::Default(char const*)
Line
Count
Source
181
687k
  R Default(T Value) {
182
687k
    if (Result)
183
14.0k
      return std::move(*Result);
184
673k
    return Value;
185
673k
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Default(llvm::MachO::CPUSubTypeX86)
Line
Count
Source
181
4.05k
  R Default(T Value) {
182
4.05k
    if (Result)
183
637
      return std::move(*Result);
184
3.41k
    return Value;
185
3.41k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Default(llvm::EHPersonality)
Line
Count
Source
181
427k
  R Default(T Value) {
182
427k
    if (Result)
183
426k
      return std::move(*Result);
184
651
    return Value;
185
651
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Default(llvm::Intrinsic::ID)
Line
Count
Source
181
566
  R Default(T Value) {
182
566
    if (Result)
183
8
      return std::move(*Result);
184
558
    return Value;
185
558
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Default(llvm::DINode::DIFlags)
Line
Count
Source
181
4.06k
  R Default(T Value) {
182
4.06k
    if (Result)
183
4.05k
      return std::move(*Result);
184
5
    return Value;
185
5
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Default(llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
181
198
  R Default(T Value) {
182
198
    if (Result)
183
198
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
181
2.12k
  R Default(T Value) {
182
2.12k
    if (Result)
183
2.12k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>, llvm::Optional<llvm::DICompileUnit::DebugNameTableKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugNameTableKind>)
Line
Count
Source
181
209
  R Default(T Value) {
182
209
    if (Result)
183
209
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::DISubprogram::DISPFlags, llvm::DISubprogram::DISPFlags>::Default(llvm::DISubprogram::DISPFlags)
Line
Count
Source
181
402
  R Default(T Value) {
182
402
    if (Result)
183
402
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Default(llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
181
555
  R Default(T Value) {
182
555
    if (Result)
183
553
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Default(llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
181
553
  R Default(T Value) {
182
553
    if (Result)
183
551
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Default(llvm::Attribute::AttrKind)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Default(llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
181
2.33k
  R Default(T Value) {
182
2.33k
    if (Result)
183
2.32k
      return std::move(*Result);
184
10
    return Value;
185
10
  }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::Default(std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>)
Line
Count
Source
181
12.3k
  R Default(T Value) {
182
12.3k
    if (Result)
183
12.2k
      return std::move(*Result);
184
37
    return Value;
185
37
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Default(llvm::COFF::COMDATType)
Line
Count
Source
181
177
  R Default(T Value) {
182
177
    if (Result)
183
176
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Default(llvm::MCSymbolAttr)
Line
Count
Source
181
2.84k
  R Default(T Value) {
182
2.84k
    if (Result)
183
2.84k
      return std::move(*Result);
184
2
    return Value;
185
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
181
121k
  R Default(T Value) {
182
121k
    if (Result)
183
121k
      return std::move(*Result);
184
10
    return Value;
185
10
  }
llvm::StringSwitch<llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>, llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind> >::Default(llvm::Optional<llvm::ItaniumManglingCanonicalizer::FragmentKind>)
Line
Count
Source
181
37
  R Default(T Value) {
182
37
    if (Result)
183
36
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::Default(llvm::Triple::SubArchType)
Line
Count
Source
181
28.9k
  R Default(T Value) {
182
28.9k
    if (Result)
183
0
      return std::move(*Result);
184
28.9k
    return Value;
185
28.9k
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Default(llvm::Triple::VendorType)
Line
Count
Source
181
1.94M
  R Default(T Value) {
182
1.94M
    if (Result)
183
1.17M
      return std::move(*Result);
184
771k
    return Value;
185
771k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::Default(llvm::Triple::OSType)
Line
Count
Source
181
1.91M
  R Default(T Value) {
182
1.91M
    if (Result)
183
1.63M
      return std::move(*Result);
184
279k
    return Value;
185
279k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::Default(llvm::Triple::ObjectFormatType)
Line
Count
Source
181
592k
  R Default(T Value) {
182
592k
    if (Result)
183
24.2k
      return std::move(*Result);
184
568k
    return Value;
185
568k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Default(llvm::Triple::ArchType)
Line
Count
Source
181
2.00M
  R Default(T Value) {
182
2.00M
    if (Result)
183
1.84M
      return std::move(*Result);
184
162k
    return Value;
185
162k
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Default(llvm::Triple::EnvironmentType)
Line
Count
Source
181
691k
  R Default(T Value) {
182
691k
    if (Result)
183
542k
      return std::move(*Result);
184
149k
    return Value;
185
149k
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Default(clang::CudaArch)
Line
Count
Source
181
1.10k
  R Default(T Value) {
182
1.10k
    if (Result)
183
1.08k
      return std::move(*Result);
184
19
    return Value;
185
19
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Default(clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Default(clang::OpenMPDirectiveKind)
Line
Count
Source
181
480k
  R Default(T Value) {
182
480k
    if (Result)
183
395k
      return std::move(*Result);
184
85.2k
    return Value;
185
85.2k
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Default(clang::OpenMPClauseKind)
Line
Count
Source
181
81.9k
  R Default(T Value) {
182
81.9k
    if (Result)
183
79.8k
      return std::move(*Result);
184
2.10k
    return Value;
185
2.10k
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Default(clang::OpenMPDefaultClauseKind)
Line
Count
Source
181
777
  R Default(T Value) {
182
777
    if (Result)
183
639
      return std::move(*Result);
184
138
    return Value;
185
138
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Default(clang::OpenMPProcBindClauseKind)
Line
Count
Source
181
520
  R Default(T Value) {
182
520
    if (Result)
183
406
      return std::move(*Result);
184
114
    return Value;
185
114
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Default(clang::OpenMPDependClauseKind)
Line
Count
Source
181
2.67k
  R Default(T Value) {
182
2.67k
    if (Result)
183
2.55k
      return std::move(*Result);
184
114
    return Value;
185
114
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Default(clang::OpenMPLinearClauseKind)
Line
Count
Source
181
182
  R Default(T Value) {
182
182
    if (Result)
183
164
      return std::move(*Result);
184
18
    return Value;
185
18
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Default(clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
181
1.30k
  R Default(T Value) {
182
1.30k
    if (Result)
183
1.15k
      return std::move(*Result);
184
144
    return Value;
185
144
  }
llvm::StringSwitch<clang::OpenMPAtomicDefaultMemOrderClauseKind, clang::OpenMPAtomicDefaultMemOrderClauseKind>::Default(clang::OpenMPAtomicDefaultMemOrderClauseKind)
Line
Count
Source
181
22
  R Default(T Value) {
182
22
    if (Result)
183
19
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<clang::SanitizerMask, clang::SanitizerMask>::Default(clang::SanitizerMask)
Line
Count
Source
181
9.72k
  R Default(T Value) {
182
9.72k
    if (Result)
183
9.71k
      return std::move(*Result);
184
6
    return Value;
185
6
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Default(clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
0
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Default(clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
181
221k
  R Default(T Value) {
182
221k
    if (Result)
183
88.2k
      return std::move(*Result);
184
132k
    return Value;
185
132k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Default(clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
181
221k
  R Default(T Value) {
182
221k
    if (Result)
183
28.4k
      return std::move(*Result);
184
192k
    return Value;
185
192k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Default(clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
181
221k
  R Default(T Value) {
182
221k
    if (Result)
183
83
      return std::move(*Result);
184
220k
    return Value;
185
220k
  }
llvm::StringSwitch<char, char>::Default(char)
Line
Count
Source
181
493
  R Default(T Value) {
182
493
    if (Result)
183
275
      return std::move(*Result);
184
218
    return Value;
185
218
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Default(clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
181
93.4k
  R Default(T Value) {
182
93.4k
    if (Result)
183
27.2k
      return std::move(*Result);
184
66.2k
    return Value;
185
66.2k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Default(llvm::FloatABI::ABIType)
Line
Count
Source
181
20.9k
  R Default(T Value) {
182
20.9k
    if (Result)
183
2.24k
      return std::move(*Result);
184
18.7k
    return Value;
185
18.7k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Default(std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
181
113
  R Default(T Value) {
182
113
    if (Result)
183
113
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Default(clang::driver::Distro::DistroType)
Line
Count
Source
181
3
  R Default(T Value) {
182
3
    if (Result)
183
3
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Default(llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
181
15.5k
  R Default(T Value) {
182
15.5k
    if (Result)
183
15.5k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Default(clang::driver::LTOKind)
Line
Count
Source
181
120
  R Default(T Value) {
182
120
    if (Result)
183
118
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Default(clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
181
787
  R Default(T Value) {
182
787
    if (Result)
183
783
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Default(clang::driver::Driver::SaveTempsMode)
Line
Count
Source
181
48
  R Default(T Value) {
182
48
    if (Result)
183
48
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Default(clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Default(clang::driver::tools::arm::FloatABI)
Line
Count
Source
181
2.81k
  R Default(T Value) {
182
2.81k
    if (Result)
183
2.81k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Default(clang::driver::tools::mips::FloatABI)
Line
Count
Source
181
12
  R Default(T Value) {
182
12
    if (Result)
183
12
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Default(clang::driver::tools::ppc::FloatABI)
Line
Count
Source
181
10
  R Default(T Value) {
182
10
    if (Result)
183
8
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Default(clang::driver::tools::sparc::FloatABI)
Line
Count
Source
181
12
  R Default(T Value) {
182
12
    if (Result)
183
8
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Default(clang::driver::types::ID)
Line
Count
Source
181
47.8k
  R Default(T Value) {
182
47.8k
    if (Result)
183
46.3k
      return std::move(*Result);
184
1.44k
    return Value;
185
1.44k
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Default(clang::DiagnosticLevelMask)
Line
Count
Source
181
20
  R Default(T Value) {
182
20
    if (Result)
183
19
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Default(clang::AnalysisStores)
Line
Count
Source
181
170
  R Default(T Value) {
182
170
    if (Result)
183
170
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Default(clang::AnalysisConstraints)
Line
Count
Source
181
826
  R Default(T Value) {
182
826
    if (Result)
183
826
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Default(clang::AnalysisDiagClients)
Line
Count
Source
181
181
  R Default(T Value) {
182
181
    if (Result)
183
181
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Default(clang::AnalysisPurgeMode)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
1
      return std::move(*Result);
184
0
    return Value;
185
0
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Default(clang::AnalysisInliningMode)
llvm::StringSwitch<llvm::Optional<bool>, llvm::Optional<bool> >::Default(llvm::Optional<bool>)
Line
Count
Source
181
1.48M
  R Default(T Value) {
182
1.48M
    if (Result)
183
1.48M
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::Optional<clang::UserModeKind>, llvm::Optional<clang::UserModeKind> >::Default(llvm::Optional<clang::UserModeKind>)
Line
Count
Source
181
131k
  R Default(T Value) {
182
131k
    if (Result)
183
131k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Default(clang::InputKind)
Line
Count
Source
181
51.0k
  R Default(T Value) {
182
51.0k
    if (Result)
183
45.4k
      return std::move(*Result);
184
5.59k
    return Value;
185
5.59k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Default(llvm::EABI)
Line
Count
Source
181
29
  R Default(T Value) {
182
29
    if (Result)
183
28
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Default(llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
181
21.6k
  R Default(T Value) {
182
21.6k
    if (Result)
183
21.6k
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Default(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
181
217
  R Default(T Value) {
182
217
    if (Result)
183
140
      return std::move(*Result);
184
77
    return Value;
185
77
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Default(clang::LangStandard::Kind)
Line
Count
Source
181
16.5k
  R Default(T Value) {
182
16.5k
    if (Result)
183
16.5k
      return std::move(*Result);
184
11
    return Value;
185
11
  }
llvm::StringSwitch<clang::LangOptions::CoreFoundationABI, clang::LangOptions::CoreFoundationABI>::Default(clang::LangOptions::CoreFoundationABI)
Line
Count
Source
181
30
  R Default(T Value) {
182
30
    if (Result)
183
30
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Default(clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
181
1
  R Default(T Value) {
182
1
    if (Result)
183
1
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Default(clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
181
5
  R Default(T Value) {
182
5
    if (Result)
183
5
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Default(llvm::MIToken::TokenKind)
Line
Count
Source
181
306k
  R Default(T Value) {
182
306k
    if (Result)
183
104k
      return std::move(*Result);
184
201k
    return Value;
185
201k
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Default(llvm::CmpInst::Predicate)
Line
Count
Source
181
802
  R Default(T Value) {
182
802
    if (Result)
183
802
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Default(llvm::AtomicOrdering)
Line
Count
Source
181
432
  R Default(T Value) {
182
432
    if (Result)
183
431
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Default(llvm::StringRef*)
Line
Count
Source
181
11.9k
  R Default(T Value) {
182
11.9k
    if (Result)
183
4.02k
      return std::move(*Result);
184
7.93k
    return Value;
185
7.93k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Default((anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
181
18.8k
  R Default(T Value) {
182
18.8k
    if (Result)
183
5.96k
      return std::move(*Result);
184
12.8k
    return Value;
185
12.8k
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Default(void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
181
622
  R Default(T Value) {
182
622
    if (Result)
183
504
      return std::move(*Result);
184
118
    return Value;
185
118
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Default(void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
181
21.9k
  R Default(T Value) {
182
21.9k
    if (Result)
183
7.58k
      return std::move(*Result);
184
14.4k
    return Value;
185
14.4k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Default((anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
181
737
  R Default(T Value) {
182
737
    if (Result)
183
111
      return std::move(*Result);
184
626
    return Value;
185
626
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Default(void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
181
420
  R Default(T Value) {
182
420
    if (Result)
183
54
      return std::move(*Result);
184
366
    return Value;
185
366
  }
MoveChecker.cpp:llvm::StringSwitch<(anonymous namespace)::MoveChecker::AggressivenessKind, (anonymous namespace)::MoveChecker::AggressivenessKind>::Default((anonymous namespace)::MoveChecker::AggressivenessKind)
Line
Count
Source
181
45
  R Default(T Value) {
182
45
    if (Result)
183
44
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::ExplorationStrategyKind>, llvm::Optional<clang::ExplorationStrategyKind> >::Default(llvm::Optional<clang::ExplorationStrategyKind>)
Line
Count
Source
181
10.5k
  R Default(T Value) {
182
10.5k
    if (Result)
183
10.5k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::IPAKind>, llvm::Optional<clang::IPAKind> >::Default(llvm::Optional<clang::IPAKind>)
Line
Count
Source
181
101k
  R Default(T Value) {
182
101k
    if (Result)
183
101k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::CXXInlineableMemberKind>, llvm::Optional<clang::CXXInlineableMemberKind> >::Default(llvm::Optional<clang::CXXInlineableMemberKind>)
Line
Count
Source
181
12.5k
  R Default(T Value) {
182
12.5k
    if (Result)
183
12.5k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Default(llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
181
448
  R Default(T Value) {
182
448
    if (Result)
183
82
      return std::move(*Result);
184
366
    return Value;
185
366
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Default(llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
181
56
  R Default(T Value) {
182
56
    if (Result)
183
54
      return std::move(*Result);
184
2
    return Value;
185
2
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Default(llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
181
89
  R Default(T Value) {
182
89
    if (Result)
183
85
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Default(std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
181
1.33k
  R Default(T Value) {
182
1.33k
    if (Result)
183
1.32k
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Default(clang::PragmaMSCommentKind)
Line
Count
Source
181
76
  R Default(T Value) {
182
76
    if (Result)
183
73
      return std::move(*Result);
184
3
    return Value;
185
3
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>)
Line
Count
Source
181
22
  R Default(T Value) {
182
22
    if (Result)
183
21
      return std::move(*Result);
184
1
    return Value;
185
1
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
18
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Default(clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
181
39
  R Default(T Value) {
182
39
    if (Result)
183
38
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Default(llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
181
1.29M
  R Default(T Value) {
182
1.29M
    if (Result)
183
1.29M
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Default(clang::QualType)
Line
Count
Source
181
454
  R Default(T Value) {
182
454
    if (Result)
183
185
      return std::move(*Result);
184
269
    return Value;
185
269
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Default(clang::Sema::FormatStringType)
Line
Count
Source
181
43.5k
  R Default(T Value) {
182
43.5k
    if (Result)
183
43.5k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Default(clang::ObjCInterfaceDecl*)
Line
Count
Source
181
2
  R Default(T Value) {
182
2
    if (Result)
183
2
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
181
21
  R Default(T Value) {
182
21
    if (Result)
183
20
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::RISCVInterruptAttr::InterruptType>, llvm::Optional<clang::RISCVInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::RISCVInterruptAttr::InterruptType>)
Line
Count
Source
181
44
  R Default(T Value) {
182
44
    if (Result)
183
40
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
181
78
  R Default(T Value) {
182
78
    if (Result)
183
73
      return std::move(*Result);
184
5
    return Value;
185
5
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Default(llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
181
5.14k
  R Default(T Value) {
182
5.14k
    if (Result)
183
5.14k
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Default(llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
181
2.75k
  R Default(T Value) {
182
2.75k
    if (Result)
183
2.75k
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Default(FormatAttrKind)
Line
Count
Source
181
50.3k
  R Default(T Value) {
182
50.3k
    if (Result)
183
50.3k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Default(llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
181
16
  R Default(T Value) {
182
16
    if (Result)
183
16
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Default(llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
181
547
  R Default(T Value) {
182
547
    if (Result)
183
547
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Default(llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
181
6
  R Default(T Value) {
182
6
    if (Result)
183
6
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Default(llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
18
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
181
7
  R Default(T Value) {
182
7
    if (Result)
183
7
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
181
11
  R Default(T Value) {
182
11
    if (Result)
183
10
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
181
9
  R Default(T Value) {
182
9
    if (Result)
183
9
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
181
5
  R Default(T Value) {
182
5
    if (Result)
183
5
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Default(clang::LoopHintAttr::OptionType)
Line
Count
Source
181
180
  R Default(T Value) {
182
180
    if (Result)
183
180
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::Optional<clang::PcsAttr::PCSType>, llvm::Optional<clang::PcsAttr::PCSType> >::Default(llvm::Optional<clang::PcsAttr::PCSType>)
Line
Count
Source
181
80
  R Default(T Value) {
182
80
    if (Result)
183
80
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::Default(clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*))
Line
Count
Source
181
13.4k
  R Default(T Value) {
182
13.4k
    if (Result)
183
14
      return std::move(*Result);
184
13.4k
    return Value;
185
13.4k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Default(clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
181
28
  R Default(T Value) {
182
28
    if (Result)
183
28
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<unsigned long, unsigned long>::Default(unsigned long)
Line
Count
Source
181
619k
  R Default(T Value) {
182
619k
    if (Result)
183
26
      return std::move(*Result);
184
619k
    return Value;
185
619k
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Default((anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
181
895
  R Default(T Value) {
182
895
    if (Result)
183
895
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Default(clang::MMToken::TokenKind)
Line
Count
Source
181
400k
  R Default(T Value) {
182
400k
    if (Result)
183
271k
      return std::move(*Result);
184
129k
    return Value;
185
129k
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Default(clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
181
90
  R Default(T Value) {
182
90
    if (Result)
183
89
      return std::move(*Result);
184
1
    return Value;
185
1
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Default((anonymous namespace)::AttributeKind)
Line
Count
Source
181
2.66k
  R Default(T Value) {
182
2.66k
    if (Result)
183
2.66k
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Default(clang::diag::Severity)
Line
Count
Source
181
329
  R Default(T Value) {
182
329
    if (Result)
183
326
      return std::move(*Result);
184
3
    return Value;
185
3
  }
llvm::StringSwitch<Flavor, Flavor>::Default(Flavor)
Line
Count
Source
181
4.40k
  R Default(T Value) {
182
4.40k
    if (Result)
183
3.78k
      return std::move(*Result);
184
619
    return Value;
185
619
  }
llvm::StringSwitch<lld::coff::DebugKind, lld::coff::DebugKind>::Default(lld::coff::DebugKind)
Line
Count
Source
181
19
  R Default(T Value) {
182
19
    if (Result)
183
18
      return std::move(*Result);
184
1
    return Value;
185
1
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Default(llvm::COFF::MachineTypes)
Line
Count
Source
181
30
  R Default(T Value) {
182
30
    if (Result)
183
30
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Default(llvm::COFF::WindowsSubsystem)
Line
Count
Source
181
165
  R Default(T Value) {
182
165
    if (Result)
183
165
      return std::move(*Result);
184
0
    return Value;
185
0
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Default(lld::elf::LLDDWARFSection*)
Line
Count
Source
181
490
  R Default(T Value) {
182
490
    if (Result)
183
89
      return std::move(*Result);
184
401
    return Value;
185
401
  }
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
181
68
  R Default(T Value) {
182
68
    if (Result)
183
64
      return std::move(*Result);
184
4
    return Value;
185
4
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Default(llvm::object::Kind)
Line
Count
Source
181
146
  R Default(T Value) {
182
146
    if (Result)
183
51
      return std::move(*Result);
184
95
    return Value;
185
95
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Default(int (*)(int, char const**))
Line
Count
Source
181
149
  R Default(T Value) {
182
149
    if (Result)
183
149
      return std::move(*Result);
184
0
    return Value;
185
0
  }
186
187
  LLVM_NODISCARD
188
24.0k
  operator R() {
189
24.0k
    assert(Result && "Fell off the end of a string-switch");
190
24.0k
    return std::move(*Result);
191
24.0k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::operator llvm::StringRef()
Line
Count
Source
188
129
  operator R() {
189
129
    assert(Result && "Fell off the end of a string-switch");
190
129
    return std::move(*Result);
191
129
  }
llvm::StringSwitch<char const*, char const*>::operator char const*()
Line
Count
Source
188
8
  operator R() {
189
8
    assert(Result && "Fell off the end of a string-switch");
190
8
    return std::move(*Result);
191
8
  }
llvm::StringSwitch<llvm::SectionKind, llvm::SectionKind>::operator llvm::SectionKind()
Line
Count
Source
188
15
  operator R() {
189
15
    assert(Result && "Fell off the end of a string-switch");
190
15
    return std::move(*Result);
191
15
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVersion, clang::CudaVersion>::operator clang::CudaVersion()
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::operator llvm::X86::ProcessorFeatures()
Line
Count
Source
188
139
  operator R() {
189
139
    assert(Result && "Fell off the end of a string-switch");
190
139
    return std::move(*Result);
191
139
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::operator llvm::ThreadModel::Model()
Line
Count
Source
188
20.9k
  operator R() {
189
20.9k
    assert(Result && "Fell off the end of a string-switch");
190
20.9k
    return std::move(*Result);
191
20.9k
  }
llvm::StringSwitch<unsigned int, unsigned int>::operator unsigned int()
Line
Count
Source
188
2.07k
  operator R() {
189
2.07k
    assert(Result && "Fell off the end of a string-switch");
190
2.07k
    return std::move(*Result);
191
2.07k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::operator llvm::GlobalValue::ThreadLocalMode()
Line
Count
Source
188
15
  operator R() {
189
15
    assert(Result && "Fell off the end of a string-switch");
190
15
    return std::move(*Result);
191
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
188
207
  operator R() {
189
207
    assert(Result && "Fell off the end of a string-switch");
190
207
    return std::move(*Result);
191
207
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::operator bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)()
Line
Count
Source
188
137
  operator R() {
189
137
    assert(Result && "Fell off the end of a string-switch");
190
137
    return std::move(*Result);
191
137
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::operator clang::Sema::PragmaStack<clang::StringLiteral*>*()
Line
Count
Source
188
52
  operator R() {
189
52
    assert(Result && "Fell off the end of a string-switch");
190
52
    return std::move(*Result);
191
52
  }
llvm::StringSwitch<unsigned char, unsigned char>::operator unsigned char()
Line
Count
Source
188
251
  operator R() {
189
251
    assert(Result && "Fell off the end of a string-switch");
190
251
    return std::move(*Result);
191
251
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::operator llvm::PassBuilder::OptimizationLevel()
Line
Count
Source
188
64
  operator R() {
189
64
    assert(Result && "Fell off the end of a string-switch");
190
64
    return std::move(*Result);
191
64
  }
192
};
193
194
} // end namespace llvm
195
196
#endif // LLVM_ADT_STRINGSWITCH_H