Coverage Report

Created: 2018-07-12 09:57

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/StringSwitch.h
Line
Count
Source
1
//===--- StringSwitch.h - Switch-on-literal-string Construct --------------===/
2
//
3
//                     The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//===----------------------------------------------------------------------===/
8
//
9
//  This file implements the StringSwitch template, which mimics a switch()
10
//  statement whose cases are string literals.
11
//
12
//===----------------------------------------------------------------------===/
13
#ifndef LLVM_ADT_STRINGSWITCH_H
14
#define LLVM_ADT_STRINGSWITCH_H
15
16
#include "llvm/ADT/StringRef.h"
17
#include "llvm/Support/Compiler.h"
18
#include <cassert>
19
#include <cstring>
20
21
namespace llvm {
22
23
/// A switch()-like statement whose cases are string literals.
24
///
25
/// The StringSwitch class is a simple form of a switch() statement that
26
/// determines whether the given string matches one of the given string
27
/// literals. The template type parameter \p T is the type of the value that
28
/// will be returned from the string-switch expression. For example,
29
/// the following code switches on the name of a color in \c argv[i]:
30
///
31
/// \code
32
/// Color color = StringSwitch<Color>(argv[i])
33
///   .Case("red", Red)
34
///   .Case("orange", Orange)
35
///   .Case("yellow", Yellow)
36
///   .Case("green", Green)
37
///   .Case("blue", Blue)
38
///   .Case("indigo", Indigo)
39
///   .Cases("violet", "purple", Violet)
40
///   .Default(UnknownColor);
41
/// \endcode
42
template<typename T, typename R = T>
43
class StringSwitch {
44
  /// The string we are matching.
45
  const StringRef Str;
46
47
  /// The pointer to the result of this switch statement, once known,
48
  /// null before that.
49
  Optional<T> Result;
50
51
public:
52
  LLVM_ATTRIBUTE_ALWAYS_INLINE
53
  explicit StringSwitch(StringRef S)
54
27.1M
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<unsigned int, unsigned int>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.56M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.72M
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
87.9k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
355
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
964
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.55k
  : Str(S), Result() { }
llvm::StringSwitch<int, int>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
49.8k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
337
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
4.38k
  : Str(S), Result() { }
llvm::StringSwitch<bool*, bool*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
26
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
275
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<long long, long long>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
65.2k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.60k
  : Str(S), Result() { }
llvm::StringSwitch<bool, bool>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
9.48M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
330
  : Str(S), Result() { }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
108
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long long, unsigned long long>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
8.47k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
107
  : Str(S), Result() { }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
72
  : Str(S), Result() { }
llvm::StringSwitch<char const*, char const*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
674k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.90k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
404k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
6.96k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
547
  : Str(S), Result() { }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.48k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
141
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.79k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
303
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
301
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.98k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
12.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
126
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.52k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
117k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
79.9k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.86M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.83M
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
656k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
613k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.01M
  : Str(S), Result() { }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
937
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
466k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
79.9k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
716
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
519
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.66k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
182
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
6.02k
  : Str(S), Result() { }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.29k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
590
  : Str(S), Result() { }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
29
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
164k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
164k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
164k
  : Str(S), Result() { }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
84.3k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
20.5k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
20.5k
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
71
  : Str(S), Result() { }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
15
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
15.3k
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
103
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
458
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
46
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.80k
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
10
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
12
  : Str(S), Result() { }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
32.5k
  : Str(S), Result() { }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
169
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
711
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
132
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::StringSwitch(llvm::StringRef)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
47.5k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
29
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19.4k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
14.3k
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1
  : Str(S), Result() { }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
5
  : Str(S), Result() { }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
366
  : Str(S), Result() { }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11.6k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.26k
  : Str(S), Result() { }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
707
  : Str(S), Result() { }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
222
  : Str(S), Result() { }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
353
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
721
  : Str(S), Result() { }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
621
  : Str(S), Result() { }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
721
  : Str(S), Result() { }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
180
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
448
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
48
  : Str(S), Result() { }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
76
  : Str(S), Result() { }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
22
  : Str(S), Result() { }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
312
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
89
  : Str(S), Result() { }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
120
  : Str(S), Result() { }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
39
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
1.18M
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
35
  : Str(S), Result() { }
llvm::StringSwitch<clang::QualType, clang::QualType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
384
  : Str(S), Result() { }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
42.6k
  : Str(S), Result() { }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2
  : Str(S), Result() { }
llvm::StringSwitch<unsigned char, unsigned char>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
238
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
21
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
78
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
4.92k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.74k
  : Str(S), Result() { }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
49.8k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
501
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
6
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
19
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
7
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
9
  : Str(S), Result() { }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
5
  : Str(S), Result() { }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
156
  : Str(S), Result() { }
llvm::StringSwitch<clang::AttributedType::Kind, clang::AttributedType::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
80
  : Str(S), Result() { }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
11.4k
  : Str(S), Result() { }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
28
  : Str(S), Result() { }
llvm::StringSwitch<unsigned long, unsigned long>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
608k
  : Str(S), Result() { }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
894
  : Str(S), Result() { }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
398k
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
78
  : Str(S), Result() { }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
2.61k
  : Str(S), Result() { }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
343
  : Str(S), Result() { }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
44
  : Str(S), Result() { }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
161k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
244
  : Str(S), Result() { }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
135
  : Str(S), Result() { }
llvm::StringSwitch<Flavor, Flavor>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
3.54k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
30
  : Str(S), Result() { }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
133
  : Str(S), Result() { }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::StringSwitch(llvm::StringRef)
Line
Count
Source
54
33
  : Str(S), Result() { }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
375
  : Str(S), Result() { }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
10.2k
  : Str(S), Result() { }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
17.2k
  : Str(S), Result() { }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
146
  : Str(S), Result() { }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::StringSwitch(llvm::StringRef)
Line
Count
Source
54
149
  : Str(S), Result() { }
55
56
  // StringSwitch is not copyable.
57
  StringSwitch(const StringSwitch &) = delete;
58
59
  // StringSwitch is not assignable due to 'Str' being 'const'.
60
  void operator=(const StringSwitch &) = delete;
61
  void operator=(StringSwitch &&other) = delete;
62
63
  StringSwitch(StringSwitch &&other)
64
    : Str(other.Str), Result(std::move(other.Result)) { }
65
66
1.29k
  ~StringSwitch() = default;
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~StringSwitch()
Line
Count
Source
66
590
  ~StringSwitch() = default;
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::~StringSwitch()
Line
Count
Source
66
707
  ~StringSwitch() = default;
67
68
  // Case-sensitive case matchers
69
  LLVM_ATTRIBUTE_ALWAYS_INLINE
70
758M
  StringSwitch &Case(StringLiteral S, T Value) {
71
758M
    if (!Result && 
Str == S317M
) {
72
10.7M
      Result = std::move(Value);
73
10.7M
    }
74
758M
    return *this;
75
758M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Case(llvm::StringLiteral, llvm::DebugCompressionType)
llvm::StringSwitch<unsigned int, unsigned int>::Case(llvm::StringLiteral, unsigned int)
Line
Count
Source
70
35.8M
  StringSwitch &Case(StringLiteral S, T Value) {
71
35.8M
    if (!Result && 
Str == S31.9M
) {
72
292k
      Result = std::move(Value);
73
292k
    }
74
35.8M
    return *this;
75
35.8M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Case(llvm::StringLiteral, llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Case(llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
70
67.1M
  StringSwitch &Case(StringLiteral S, T Value) {
71
67.1M
    if (!Result && 
Str == S50.2M
) {
72
2.17M
      Result = std::move(Value);
73
2.17M
    }
74
67.1M
    return *this;
75
67.1M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Case(llvm::StringLiteral, std::__1::pair<int, int>)
Line
Count
Source
70
819k
  StringSwitch &Case(StringLiteral S, T Value) {
71
819k
    if (!Result && 
Str == S437k
) {
72
87.8k
      Result = std::move(Value);
73
87.8k
    }
74
819k
    return *this;
75
819k
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Case(llvm::StringLiteral, llvm::AArch64CC::CondCode)
Line
Count
Source
70
6.31k
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.31k
    if (!Result && 
Str == S2.80k
) {
72
333
      Result = std::move(Value);
73
333
    }
74
6.31k
    return *this;
75
6.31k
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
70
35.6k
  StringSwitch &Case(StringLiteral S, T Value) {
71
35.6k
    if (!Result && 
Str == S17.4k
) {
72
964
      Result = std::move(Value);
73
964
    }
74
35.6k
    return *this;
75
35.6k
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Case(llvm::StringLiteral, llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
70
33.1k
  StringSwitch &Case(StringLiteral S, T Value) {
71
33.1k
    if (!Result && 
Str == S17.3k
) {
72
2.01k
      Result = std::move(Value);
73
2.01k
    }
74
33.1k
    return *this;
75
33.1k
  }
llvm::StringSwitch<int, int>::Case(llvm::StringLiteral, int)
Line
Count
Source
70
12.6M
  StringSwitch &Case(StringLiteral S, T Value) {
71
12.6M
    if (!Result && 
Str == S5.71M
) {
72
46.3k
      Result = std::move(Value);
73
46.3k
    }
74
12.6M
    return *this;
75
12.6M
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
70
1.01k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.01k
    if (!Result && 
Str == S985
) {
72
22
      Result = std::move(Value);
73
22
    }
74
1.01k
    return *this;
75
1.01k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Case(llvm::StringLiteral, llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
70
61.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
61.3k
    if (!Result && 
Str == S60.8k
) {
72
72
      Result = std::move(Value);
73
72
    }
74
61.3k
    return *this;
75
61.3k
  }
llvm::StringSwitch<bool*, bool*>::Case(llvm::StringLiteral, bool*)
Line
Count
Source
70
104
  StringSwitch &Case(StringLiteral S, T Value) {
71
104
    if (!Result && 
Str == S63
) {
72
26
      Result = std::move(Value);
73
26
    }
74
104
    return *this;
75
104
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
70
550
  StringSwitch &Case(StringLiteral S, T Value) {
71
550
    if (!Result && 
Str == S516
) {
72
42
      Result = std::move(Value);
73
42
    }
74
550
    return *this;
75
550
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Case(llvm::StringLiteral, llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Case(llvm::StringLiteral, long long)
Line
Count
Source
70
410k
  StringSwitch &Case(StringLiteral S, T Value) {
71
410k
    if (!Result && 
Str == S353k
) {
72
65.2k
      Result = std::move(Value);
73
65.2k
    }
74
410k
    return *this;
75
410k
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Case(llvm::StringLiteral, llvm::ARM_AM::ShiftOpc)
Line
Count
Source
70
15.6k
  StringSwitch &Case(StringLiteral S, T Value) {
71
15.6k
    if (!Result && 
Str == S8.19k
) {
72
2.27k
      Result = std::move(Value);
73
2.27k
    }
74
15.6k
    return *this;
75
15.6k
  }
llvm::StringSwitch<bool, bool>::Case(llvm::StringLiteral, bool)
Line
Count
Source
70
402M
  StringSwitch &Case(StringLiteral S, T Value) {
71
402M
    if (!Result && 
Str == S130M
) {
72
2.47M
      Result = std::move(Value);
73
2.47M
    }
74
402M
    return *this;
75
402M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Case(llvm::StringLiteral, llvm::LPAC::AluCode)
Line
Count
Source
70
1.08k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.08k
    if (!Result && 
Str == S537
) {
72
108
      Result = std::move(Value);
73
108
    }
74
1.08k
    return *this;
75
1.08k
  }
llvm::StringSwitch<unsigned long long, unsigned long long>::Case(llvm::StringLiteral, unsigned long long)
Line
Count
Source
70
483k
  StringSwitch &Case(StringLiteral S, T Value) {
71
483k
    if (!Result && 
Str == S312k
) {
72
8.47k
      Result = std::move(Value);
73
8.47k
    }
74
483k
    return *this;
75
483k
  }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
70
3.03k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.03k
    if (!Result && 
Str == S1.48k
) {
72
107
      Result = std::move(Value);
73
107
    }
74
3.03k
    return *this;
75
3.03k
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Case(llvm::StringLiteral, llvm::SparcMCExpr::VariantKind)
Line
Count
Source
70
2.23k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.23k
    if (!Result && 
Str == S944
) {
72
72
      Result = std::move(Value);
73
72
    }
74
2.23k
    return *this;
75
2.23k
  }
llvm::StringSwitch<char const*, char const*>::Case(llvm::StringLiteral, char const*)
Line
Count
Source
70
1.15M
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.15M
    if (!Result && 
Str == S1.13M
) {
72
13.1k
      Result = std::move(Value);
73
13.1k
    }
74
1.15M
    return *this;
75
1.15M
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Case(llvm::StringLiteral, llvm::MachO::CPUSubTypeX86)
Line
Count
Source
70
3.90k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.90k
    if (!Result && Str == S) {
72
624
      Result = std::move(Value);
73
624
    }
74
3.90k
    return *this;
75
3.90k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Case(llvm::StringLiteral, llvm::EHPersonality)
Line
Count
Source
70
6.06M
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.06M
    if (!Result && 
Str == S847k
) {
72
403k
      Result = std::move(Value);
73
403k
    }
74
6.06M
    return *this;
75
6.06M
  }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::Case(llvm::StringLiteral, llvm::objcarc::ARCInstKind)
Line
Count
Source
70
85.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
85.3k
    if (!Result && 
Str == S32.7k
) {
72
4.42k
      Result = std::move(Value);
73
4.42k
    }
74
85.3k
    return *this;
75
85.3k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Case(llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
70
2.18k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.18k
    if (!Result && 
Str == S2.17k
) {
72
8
      Result = std::move(Value);
73
8
    }
74
2.18k
    return *this;
75
2.18k
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Case(llvm::StringLiteral, llvm::DINode::DIFlags)
Line
Count
Source
70
104k
  StringSwitch &Case(StringLiteral S, T Value) {
71
104k
    if (!Result && 
Str == S38.0k
) {
72
3.48k
      Result = std::move(Value);
73
3.48k
    }
74
104k
    return *this;
75
104k
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
70
282
  StringSwitch &Case(StringLiteral S, T Value) {
71
282
    if (!Result && 
Str == S146
) {
72
141
      Result = std::move(Value);
73
141
    }
74
282
    return *this;
75
282
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Case(llvm::StringLiteral, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
70
5.37k
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.37k
    if (!Result && 
Str == S3.60k
) {
72
1.79k
      Result = std::move(Value);
73
1.79k
    }
74
5.37k
    return *this;
75
5.37k
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
70
1.51k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.51k
    if (!Result && 
Str == S311
) {
72
301
      Result = std::move(Value);
73
301
    }
74
1.51k
    return *this;
75
1.51k
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Case(llvm::StringLiteral, llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
70
903
  StringSwitch &Case(StringLiteral S, T Value) {
71
903
    if (!Result && Str == S) {
72
299
      Result = std::move(Value);
73
299
    }
74
903
    return *this;
75
903
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Case(llvm::StringLiteral, llvm::Attribute::AttrKind)
Line
Count
Source
70
72
  StringSwitch &Case(StringLiteral S, T Value) {
71
72
    if (!Result && 
Str == S24
) {
72
2
      Result = std::move(Value);
73
2
    }
74
72
    return *this;
75
72
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Case(llvm::StringLiteral, llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
70
212k
  StringSwitch &Case(StringLiteral S, T Value) {
71
212k
    if (!Result && 
Str == S61.2k
) {
72
1.97k
      Result = std::move(Value);
73
1.97k
    }
74
212k
    return *this;
75
212k
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Case(llvm::StringLiteral, llvm::COFF::COMDATType)
Line
Count
Source
70
882
  StringSwitch &Case(StringLiteral S, T Value) {
71
882
    if (!Result && 
Str == S315
) {
72
125
      Result = std::move(Value);
73
125
    }
74
882
    return *this;
75
882
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Case(llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
70
29.6k
  StringSwitch &Case(StringLiteral S, T Value) {
71
29.6k
    if (!Result && 
Str == S6.54k
) {
72
2.52k
      Result = std::move(Value);
73
2.52k
    }
74
29.6k
    return *this;
75
29.6k
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Case(llvm::StringLiteral, llvm::Triple::VendorType)
Line
Count
Source
70
29.8M
  StringSwitch &Case(StringLiteral S, T Value) {
71
29.8M
    if (!Result && 
Str == S13.6M
) {
72
1.09M
      Result = std::move(Value);
73
1.09M
    }
74
29.8M
    return *this;
75
29.8M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Case(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
70
136M
  StringSwitch &Case(StringLiteral S, T Value) {
71
136M
    if (!Result && 
Str == S48.4M
) {
72
1.72M
      Result = std::move(Value);
73
1.72M
    }
74
136M
    return *this;
75
136M
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Case(llvm::StringLiteral, clang::CudaArch)
Line
Count
Source
70
25.2k
  StringSwitch &Case(StringLiteral S, T Value) {
71
25.2k
    if (!Result && 
Str == S5.09k
) {
72
932
      Result = std::move(Value);
73
932
    }
74
25.2k
    return *this;
75
25.2k
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Case(llvm::StringLiteral, clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Case(llvm::StringLiteral, clang::OpenMPDirectiveKind)
Line
Count
Source
70
24.2M
  StringSwitch &Case(StringLiteral S, T Value) {
71
24.2M
    if (!Result && 
Str == S9.27M
) {
72
386k
      Result = std::move(Value);
73
386k
    }
74
24.2M
    return *this;
75
24.2M
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Case(llvm::StringLiteral, clang::OpenMPClauseKind)
Line
Count
Source
70
3.91M
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.91M
    if (!Result && 
Str == S1.40M
) {
72
77.8k
      Result = std::move(Value);
73
77.8k
    }
74
3.91M
    return *this;
75
3.91M
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDefaultClauseKind)
Line
Count
Source
70
1.43k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.43k
    if (!Result && 
Str == S1.03k
) {
72
590
      Result = std::move(Value);
73
590
    }
74
1.43k
    return *this;
75
1.43k
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Case(llvm::StringLiteral, clang::OpenMPProcBindClauseKind)
Line
Count
Source
70
1.55k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.55k
    if (!Result && 
Str == S1.14k
) {
72
405
      Result = std::move(Value);
73
405
    }
74
1.55k
    return *this;
75
1.55k
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDependClauseKind)
Line
Count
Source
70
13.3k
  StringSwitch &Case(StringLiteral S, T Value) {
71
13.3k
    if (!Result && 
Str == S5.77k
) {
72
2.55k
      Result = std::move(Value);
73
2.55k
    }
74
13.3k
    return *this;
75
13.3k
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Case(llvm::StringLiteral, clang::OpenMPLinearClauseKind)
Line
Count
Source
70
546
  StringSwitch &Case(StringLiteral S, T Value) {
71
546
    if (!Result && 
Str == S390
) {
72
164
      Result = std::move(Value);
73
164
    }
74
546
    return *this;
75
546
  }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::Case(llvm::StringLiteral, clang::OpenMPMapClauseKind)
Line
Count
Source
70
42.1k
  StringSwitch &Case(StringLiteral S, T Value) {
71
42.1k
    if (!Result && 
Str == S30.1k
) {
72
3.21k
      Result = std::move(Value);
73
3.21k
    }
74
42.1k
    return *this;
75
42.1k
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Case(llvm::StringLiteral, clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
70
1.29k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.29k
    if (!Result && Str == S) {
72
1.15k
      Result = std::move(Value);
73
1.15k
    }
74
1.29k
    return *this;
75
1.29k
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
70
1
  StringSwitch &Case(StringLiteral S, T Value) {
71
1
    if (!Result && Str == S) {
72
0
      Result = std::move(Value);
73
0
    }
74
1
    return *this;
75
1
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Case(llvm::StringLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
70
3.47k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.47k
    if (!Result && 
Str == S1.74k
) {
72
502
      Result = std::move(Value);
73
502
    }
74
3.47k
    return *this;
75
3.47k
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::Case(llvm::StringLiteral, llvm::X86::ProcessorFeatures)
Line
Count
Source
70
899
  StringSwitch &Case(StringLiteral S, T Value) {
71
899
    if (!Result && 
Str == S279
) {
72
29
      Result = std::move(Value);
73
29
    }
74
899
    return *this;
75
899
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
70
1.47M
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.47M
    if (!Result && 
Str == S1.37M
) {
72
75.4k
      Result = std::move(Value);
73
75.4k
    }
74
1.47M
    return *this;
75
1.47M
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
70
492k
  StringSwitch &Case(StringLiteral S, T Value) {
71
492k
    if (!Result && 
Str == S492k
) {
72
25.3k
      Result = std::move(Value);
73
25.3k
    }
74
492k
    return *this;
75
492k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
70
492k
  StringSwitch &Case(StringLiteral S, T Value) {
71
492k
    if (!Result && 
Str == S492k
) {
72
81
      Result = std::move(Value);
73
81
    }
74
492k
    return *this;
75
492k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Case(llvm::StringLiteral, clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
70
6.24M
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.24M
    if (!Result && 
Str == S4.89M
) {
72
26.2k
      Result = std::move(Value);
73
26.2k
    }
74
6.24M
    return *this;
75
6.24M
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::Case(llvm::StringLiteral, llvm::ThreadModel::Model)
Line
Count
Source
70
41.0k
  StringSwitch &Case(StringLiteral S, T Value) {
71
41.0k
    if (!Result && 
Str == S20.5k
) {
72
20.5k
      Result = std::move(Value);
73
20.5k
    }
74
41.0k
    return *this;
75
41.0k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Case(llvm::StringLiteral, llvm::FloatABI::ABIType)
Line
Count
Source
70
61.5k
  StringSwitch &Case(StringLiteral S, T Value) {
71
61.5k
    if (!Result && 
Str == S58.8k
) {
72
2.20k
      Result = std::move(Value);
73
2.20k
    }
74
61.5k
    return *this;
75
61.5k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Case(llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
70
2.41k
  StringSwitch &Case(StringLiteral S, T Value) {
71
2.41k
    if (!Result && 
Str == S1.45k
) {
72
71
      Result = std::move(Value);
73
71
    }
74
2.41k
    return *this;
75
2.41k
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::Case(llvm::StringLiteral, llvm::GlobalValue::ThreadLocalMode)
Line
Count
Source
70
60
  StringSwitch &Case(StringLiteral S, T Value) {
71
60
    if (!Result && 
Str == S43
) {
72
15
      Result = std::move(Value);
73
15
    }
74
60
    return *this;
75
60
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Case(llvm::StringLiteral, clang::driver::Distro::DistroType)
Line
Count
Source
70
48
  StringSwitch &Case(StringLiteral S, T Value) {
71
48
    if (!Result && 
Str == S35
) {
72
3
      Result = std::move(Value);
73
3
    }
74
48
    return *this;
75
48
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Case(llvm::StringLiteral, llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
70
61.5k
  StringSwitch &Case(StringLiteral S, T Value) {
71
61.5k
    if (!Result && 
Str == S31.6k
) {
72
15.3k
      Result = std::move(Value);
73
15.3k
    }
74
61.5k
    return *this;
75
61.5k
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Case(llvm::StringLiteral, clang::driver::LTOKind)
Line
Count
Source
70
206
  StringSwitch &Case(StringLiteral S, T Value) {
71
206
    if (!Result && 
Str == S125
) {
72
101
      Result = std::move(Value);
73
101
    }
74
206
    return *this;
75
206
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Case(llvm::StringLiteral, clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
70
1.37k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.37k
    if (!Result && 
Str == S529
) {
72
454
      Result = std::move(Value);
73
454
    }
74
1.37k
    return *this;
75
1.37k
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Case(llvm::StringLiteral, clang::driver::Driver::SaveTempsMode)
Line
Count
Source
70
92
  StringSwitch &Case(StringLiteral S, T Value) {
71
92
    if (!Result && 
Str == S50
) {
72
46
      Result = std::move(Value);
73
46
    }
74
92
    return *this;
75
92
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Case(llvm::StringLiteral, clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
70
4
  StringSwitch &Case(StringLiteral S, T Value) {
71
4
    if (!Result && 
Str == S3
) {
72
2
      Result = std::move(Value);
73
2
    }
74
4
    return *this;
75
4
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::arm::FloatABI)
Line
Count
Source
70
8.42k
  StringSwitch &Case(StringLiteral S, T Value) {
71
8.42k
    if (!Result && 
Str == S4.78k
) {
72
2.80k
      Result = std::move(Value);
73
2.80k
    }
74
8.42k
    return *this;
75
8.42k
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::mips::FloatABI)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S16
) {
72
12
      Result = std::move(Value);
73
12
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::ppc::FloatABI)
Line
Count
Source
70
20
  StringSwitch &Case(StringLiteral S, T Value) {
71
20
    if (!Result && 
Str == S14
) {
72
8
      Result = std::move(Value);
73
8
    }
74
20
    return *this;
75
20
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Case(llvm::StringLiteral, clang::driver::tools::sparc::FloatABI)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S20
) {
72
8
      Result = std::move(Value);
73
8
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Case(llvm::StringLiteral, clang::driver::types::ID)
Line
Count
Source
70
1.82M
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.82M
    if (!Result && 
Str == S374k
) {
72
31.1k
      Result = std::move(Value);
73
31.1k
    }
74
1.82M
    return *this;
75
1.82M
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Case(llvm::StringLiteral, clang::DiagnosticLevelMask)
Line
Count
Source
70
76
  StringSwitch &Case(StringLiteral S, T Value) {
71
76
    if (!Result && 
Str == S37
) {
72
18
      Result = std::move(Value);
73
18
    }
74
76
    return *this;
75
76
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Case(llvm::StringLiteral, clang::AnalysisStores)
Line
Count
Source
70
169
  StringSwitch &Case(StringLiteral S, T Value) {
71
169
    if (!Result && Str == S) {
72
169
      Result = std::move(Value);
73
169
    }
74
169
    return *this;
75
169
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Case(llvm::StringLiteral, clang::AnalysisConstraints)
Line
Count
Source
70
1.42k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.42k
    if (!Result && 
Str == S711
) {
72
711
      Result = std::move(Value);
73
711
    }
74
1.42k
    return *this;
75
1.42k
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Case(llvm::StringLiteral, clang::AnalysisDiagClients)
Line
Count
Source
70
792
  StringSwitch &Case(StringLiteral S, T Value) {
71
792
    if (!Result && 
Str == S586
) {
72
132
      Result = std::move(Value);
73
132
    }
74
792
    return *this;
75
792
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Case(llvm::StringLiteral, clang::AnalysisPurgeMode)
Line
Count
Source
70
3
  StringSwitch &Case(StringLiteral S, T Value) {
71
3
    if (!Result && Str == S) {
72
1
      Result = std::move(Value);
73
1
    }
74
3
    return *this;
75
3
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Case(llvm::StringLiteral, clang::AnalysisInliningMode)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Case(llvm::StringLiteral, clang::InputKind)
Line
Count
Source
70
681k
  StringSwitch &Case(StringLiteral S, T Value) {
71
681k
    if (!Result && 
Str == S354k
) {
72
42.0k
      Result = std::move(Value);
73
42.0k
    }
74
681k
    return *this;
75
681k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Case(llvm::StringLiteral, llvm::EABI)
Line
Count
Source
70
116
  StringSwitch &Case(StringLiteral S, T Value) {
71
116
    if (!Result && 
Str == S112
) {
72
28
      Result = std::move(Value);
73
28
    }
74
116
    return *this;
75
116
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Case(llvm::StringLiteral, llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
70
116k
  StringSwitch &Case(StringLiteral S, T Value) {
71
116k
    if (!Result && 
Str == S35.1k
) {
72
19.4k
      Result = std::move(Value);
73
19.4k
    }
74
116k
    return *this;
75
116k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Case(llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
70
721k
  StringSwitch &Case(StringLiteral S, T Value) {
71
721k
    if (!Result && 
Str == S358k
) {
72
14.3k
      Result = std::move(Value);
73
14.3k
    }
74
721k
    return *this;
75
721k
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Case(llvm::StringLiteral, clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
70
3
  StringSwitch &Case(StringLiteral S, T Value) {
71
3
    if (!Result && Str == S) {
72
1
      Result = std::move(Value);
73
1
    }
74
3
    return *this;
75
3
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Case(llvm::StringLiteral, clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
70
25
  StringSwitch &Case(StringLiteral S, T Value) {
71
25
    if (!Result && 
Str == S15
) {
72
5
      Result = std::move(Value);
73
5
    }
74
25
    return *this;
75
25
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Case(llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
70
8.78k
  StringSwitch &Case(StringLiteral S, T Value) {
71
8.78k
    if (!Result && 
Str == S5.72k
) {
72
264
      Result = std::move(Value);
73
264
    }
74
8.78k
    return *this;
75
8.78k
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
70
104k
  StringSwitch &Case(StringLiteral S, T Value) {
71
104k
    if (!Result && 
Str == S60.9k
) {
72
6.87k
      Result = std::move(Value);
73
6.87k
    }
74
104k
    return *this;
75
104k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Case(llvm::StringLiteral, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
70
7.22k
  StringSwitch &Case(StringLiteral S, T Value) {
71
7.22k
    if (!Result && 
Str == S6.77k
) {
72
80
      Result = std::move(Value);
73
80
    }
74
7.22k
    return *this;
75
7.22k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Case(llvm::StringLiteral, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
70
12.7k
  StringSwitch &Case(StringLiteral S, T Value) {
71
12.7k
    if (!Result && 
Str == S12.5k
) {
72
25
      Result = std::move(Value);
73
25
    }
74
12.7k
    return *this;
75
12.7k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
70
666
  StringSwitch &Case(StringLiteral S, T Value) {
71
666
    if (!Result && 
Str == S568
) {
72
54
      Result = std::move(Value);
73
54
    }
74
666
    return *this;
75
666
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Case(llvm::StringLiteral, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
70
1.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.49k
    if (!Result && 
Str == S1.30k
) {
72
63
      Result = std::move(Value);
73
63
    }
74
1.49k
    return *this;
75
1.49k
  }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::Case(llvm::StringLiteral, clang::AnalyzerOptions::UserModeKind)
Line
Count
Source
70
1.44k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.44k
    if (!Result && 
Str == S1.44k
) {
72
721
      Result = std::move(Value);
73
721
    }
74
1.44k
    return *this;
75
1.44k
  }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::Case(llvm::StringLiteral, clang::AnalyzerOptions::ExplorationStrategyKind)
Line
Count
Source
70
3.10k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.10k
    if (!Result && 
Str == S2.47k
) {
72
621
      Result = std::move(Value);
73
621
    }
74
3.10k
    return *this;
75
3.10k
  }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::Case(llvm::StringLiteral, clang::IPAKind)
Line
Count
Source
70
3.60k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.60k
    if (!Result && 
Str == S3.58k
) {
72
721
      Result = std::move(Value);
73
721
    }
74
3.60k
    return *this;
75
3.60k
  }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::Case(llvm::StringLiteral, clang::CXXInlineableMemberKind)
Line
Count
Source
70
720
  StringSwitch &Case(StringLiteral S, T Value) {
71
720
    if (!Result && 
Str == S347
) {
72
180
      Result = std::move(Value);
73
180
    }
74
720
    return *this;
75
720
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
70
1.34k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.34k
    if (!Result && 
Str == S1.30k
) {
72
82
      Result = std::move(Value);
73
82
    }
74
1.34k
    return *this;
75
1.34k
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Case(llvm::StringLiteral, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
70
96
  StringSwitch &Case(StringLiteral S, T Value) {
71
96
    if (!Result && 
Str == S78
) {
72
46
      Result = std::move(Value);
73
46
    }
74
96
    return *this;
75
96
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Case(llvm::StringLiteral, clang::PragmaMSCommentKind)
Line
Count
Source
70
380
  StringSwitch &Case(StringLiteral S, T Value) {
71
380
    if (!Result && 
Str == S167
) {
72
73
      Result = std::move(Value);
73
73
    }
74
380
    return *this;
75
380
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::Case(llvm::StringLiteral, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>)
Line
Count
Source
70
22
  StringSwitch &Case(StringLiteral S, T Value) {
71
22
    if (!Result && Str == S) {
72
21
      Result = std::move(Value);
73
21
    }
74
22
    return *this;
75
22
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Case(llvm::StringLiteral, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
70
57
  StringSwitch &Case(StringLiteral S, T Value) {
71
57
    if (!Result && 
Str == S43
) {
72
18
      Result = std::move(Value);
73
18
    }
74
57
    return *this;
75
57
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Case(llvm::StringLiteral, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
70
4.68k
  StringSwitch &Case(StringLiteral S, T Value) {
71
4.68k
    if (!Result && 
Str == S2.93k
) {
72
308
      Result = std::move(Value);
73
308
    }
74
4.68k
    return *this;
75
4.68k
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Case(llvm::StringLiteral, llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
70
159
  StringSwitch &Case(StringLiteral S, T Value) {
71
159
    if (!Result && 
Str == S132
) {
72
85
      Result = std::move(Value);
73
85
    }
74
159
    return *this;
75
159
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::Case(llvm::StringLiteral, bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation))
Line
Count
Source
70
720
  StringSwitch &Case(StringLiteral S, T Value) {
71
720
    if (!Result && 
Str == S507
) {
72
120
      Result = std::move(Value);
73
120
    }
74
720
    return *this;
75
720
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Case(llvm::StringLiteral, clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
70
312
  StringSwitch &Case(StringLiteral S, T Value) {
71
312
    if (!Result && 
Str == S69
) {
72
38
      Result = std::move(Value);
73
38
    }
74
312
    return *this;
75
312
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Case(llvm::StringLiteral, llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
70
4.74M
  StringSwitch &Case(StringLiteral S, T Value) {
71
4.74M
    if (!Result && 
Str == S2.04M
) {
72
1.18M
      Result = std::move(Value);
73
1.18M
    }
74
4.74M
    return *this;
75
4.74M
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::Case(llvm::StringLiteral, clang::Sema::PragmaStack<clang::StringLiteral*>*)
Line
Count
Source
70
140
  StringSwitch &Case(StringLiteral S, T Value) {
71
140
    if (!Result && 
Str == S70
) {
72
35
      Result = std::move(Value);
73
35
    }
74
140
    return *this;
75
140
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Case(llvm::StringLiteral, clang::QualType)
Line
Count
Source
70
1.92k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.92k
    if (!Result && 
Str == S1.45k
) {
72
185
      Result = std::move(Value);
73
185
    }
74
1.92k
    return *this;
75
1.92k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Case(llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
70
597k
  StringSwitch &Case(StringLiteral S, T Value) {
71
597k
    if (!Result && 
Str == S86.6k
) {
72
42.6k
      Result = std::move(Value);
73
42.6k
    }
74
597k
    return *this;
75
597k
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Case(llvm::StringLiteral, clang::ObjCInterfaceDecl*)
Line
Count
Source
70
24
  StringSwitch &Case(StringLiteral S, T Value) {
71
24
    if (!Result && 
Str == S22
) {
72
2
      Result = std::move(Value);
73
2
    }
74
24
    return *this;
75
24
  }
llvm::StringSwitch<unsigned char, unsigned char>::Case(llvm::StringLiteral, unsigned char)
Line
Count
Source
70
714
  StringSwitch &Case(StringLiteral S, T Value) {
71
714
    if (!Result && 
Str == S453
) {
72
238
      Result = std::move(Value);
73
238
    }
74
714
    return *this;
75
714
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
70
210
  StringSwitch &Case(StringLiteral S, T Value) {
71
210
    if (!Result && 
Str == S129
) {
72
20
      Result = std::move(Value);
73
20
    }
74
210
    return *this;
75
210
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Case(llvm::StringLiteral, llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
70
468
  StringSwitch &Case(StringLiteral S, T Value) {
71
468
    if (!Result && 
Str == S263
) {
72
73
      Result = std::move(Value);
73
73
    }
74
468
    return *this;
75
468
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Case(llvm::StringLiteral, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
70
9.85k
  StringSwitch &Case(StringLiteral S, T Value) {
71
9.85k
    if (!Result && 
Str == S9.77k
) {
72
4.92k
      Result = std::move(Value);
73
4.92k
    }
74
9.85k
    return *this;
75
9.85k
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Case(llvm::StringLiteral, llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
70
5.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
5.49k
    if (!Result && 
Str == S5.48k
) {
72
2.74k
      Result = std::move(Value);
73
2.74k
    }
74
5.49k
    return *this;
75
5.49k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Case(llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
70
896k
  StringSwitch &Case(StringLiteral S, T Value) {
71
896k
    if (!Result && 
Str == S229k
) {
72
49.8k
      Result = std::move(Value);
73
49.8k
    }
74
896k
    return *this;
75
896k
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Case(llvm::StringLiteral, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
70
66
  StringSwitch &Case(StringLiteral S, T Value) {
71
66
    if (!Result && 
Str == S48
) {
72
11
      Result = std::move(Value);
73
11
    }
74
66
    return *this;
75
66
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Case(llvm::StringLiteral, llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
70
501
  StringSwitch &Case(StringLiteral S, T Value) {
71
501
    if (!Result && Str == S) {
72
501
      Result = std::move(Value);
73
501
    }
74
501
    return *this;
75
501
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
70
18
  StringSwitch &Case(StringLiteral S, T Value) {
71
18
    if (!Result && 
Str == S14
) {
72
6
      Result = std::move(Value);
73
6
    }
74
18
    return *this;
75
18
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
70
57
  StringSwitch &Case(StringLiteral S, T Value) {
71
57
    if (!Result && 
Str == S41
) {
72
18
      Result = std::move(Value);
73
18
    }
74
57
    return *this;
75
57
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
70
21
  StringSwitch &Case(StringLiteral S, T Value) {
71
21
    if (!Result && 
Str == S19
) {
72
7
      Result = std::move(Value);
73
7
    }
74
21
    return *this;
75
21
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
70
33
  StringSwitch &Case(StringLiteral S, T Value) {
71
33
    if (!Result && 
Str == S26
) {
72
10
      Result = std::move(Value);
73
10
    }
74
33
    return *this;
75
33
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
70
27
  StringSwitch &Case(StringLiteral S, T Value) {
71
27
    if (!Result && 
Str == S19
) {
72
9
      Result = std::move(Value);
73
9
    }
74
27
    return *this;
75
27
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Case(llvm::StringLiteral, llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
70
10
  StringSwitch &Case(StringLiteral S, T Value) {
71
10
    if (!Result && 
Str == S8
) {
72
5
      Result = std::move(Value);
73
5
    }
74
10
    return *this;
75
10
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Case(llvm::StringLiteral, clang::LoopHintAttr::OptionType)
Line
Count
Source
70
1.09k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.09k
    if (!Result && 
Str == S558
) {
72
156
      Result = std::move(Value);
73
156
    }
74
1.09k
    return *this;
75
1.09k
  }
llvm::StringSwitch<clang::AttributedType::Kind, clang::AttributedType::Kind>::Case(llvm::StringLiteral, clang::AttributedType::Kind)
Line
Count
Source
70
160
  StringSwitch &Case(StringLiteral S, T Value) {
71
160
    if (!Result && 
Str == S85
) {
72
80
      Result = std::move(Value);
73
80
    }
74
160
    return *this;
75
160
  }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::Case(llvm::StringLiteral, clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*))
Line
Count
Source
70
22.8k
  StringSwitch &Case(StringLiteral S, T Value) {
71
22.8k
    if (!Result && 
Str == S22.8k
) {
72
14
      Result = std::move(Value);
73
14
    }
74
22.8k
    return *this;
75
22.8k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Case(llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
70
168
  StringSwitch &Case(StringLiteral S, T Value) {
71
168
    if (!Result && 
Str == S92
) {
72
28
      Result = std::move(Value);
73
28
    }
74
168
    return *this;
75
168
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Case(llvm::StringLiteral, (anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
70
17.8k
  StringSwitch &Case(StringLiteral S, T Value) {
71
17.8k
    if (!Result && 
Str == S4.45k
) {
72
894
      Result = std::move(Value);
73
894
    }
74
17.8k
    return *this;
75
17.8k
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Case(llvm::StringLiteral, clang::MMToken::TokenKind)
Line
Count
Source
70
6.37M
  StringSwitch &Case(StringLiteral S, T Value) {
71
6.37M
    if (!Result && 
Str == S4.55M
) {
72
269k
      Result = std::move(Value);
73
269k
    }
74
6.37M
    return *this;
75
6.37M
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Case(llvm::StringLiteral, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
70
156
  StringSwitch &Case(StringLiteral S, T Value) {
71
156
    if (!Result && 
Str == S115
) {
72
77
      Result = std::move(Value);
73
77
    }
74
156
    return *this;
75
156
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Case(llvm::StringLiteral, (anonymous namespace)::AttributeKind)
Line
Count
Source
70
10.4k
  StringSwitch &Case(StringLiteral S, T Value) {
71
10.4k
    if (!Result && 
Str == S5.37k
) {
72
2.61k
      Result = std::move(Value);
73
2.61k
    }
74
10.4k
    return *this;
75
10.4k
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Case(llvm::StringLiteral, clang::diag::Severity)
Line
Count
Source
70
1.37k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.37k
    if (!Result && 
Str == S462
) {
72
340
      Result = std::move(Value);
73
340
    }
74
1.37k
    return *this;
75
1.37k
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::Case(llvm::StringLiteral, llvm::PassBuilder::OptimizationLevel)
Line
Count
Source
70
264
  StringSwitch &Case(StringLiteral S, T Value) {
71
264
    if (!Result && 
Str == S159
) {
72
44
      Result = std::move(Value);
73
44
    }
74
264
    return *this;
75
264
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Case(llvm::StringLiteral, llvm::MIToken::TokenKind)
Line
Count
Source
70
10.3M
  StringSwitch &Case(StringLiteral S, T Value) {
71
10.3M
    if (!Result && 
Str == S7.67M
) {
72
55.9k
      Result = std::move(Value);
73
55.9k
    }
74
10.3M
    return *this;
75
10.3M
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Case(llvm::StringLiteral, llvm::CmpInst::Predicate)
Line
Count
Source
70
3.33k
  StringSwitch &Case(StringLiteral S, T Value) {
71
3.33k
    if (!Result && 
Str == S1.67k
) {
72
244
      Result = std::move(Value);
73
244
    }
74
3.33k
    return *this;
75
3.33k
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Case(llvm::StringLiteral, llvm::AtomicOrdering)
Line
Count
Source
70
810
  StringSwitch &Case(StringLiteral S, T Value) {
71
810
    if (!Result && 
Str == S457
) {
72
134
      Result = std::move(Value);
73
134
    }
74
810
    return *this;
75
810
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Case(llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
70
162
  StringSwitch &Case(StringLiteral S, T Value) {
71
162
    if (!Result && 
Str == S54
) {
72
30
      Result = std::move(Value);
73
30
    }
74
162
    return *this;
75
162
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Case(llvm::StringLiteral, llvm::COFF::WindowsSubsystem)
Line
Count
Source
70
1.19k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.19k
    if (!Result && 
Str == S287
) {
72
133
      Result = std::move(Value);
73
133
    }
74
1.19k
    return *this;
75
1.19k
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Case(llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
70
627
  StringSwitch &Case(StringLiteral S, T Value) {
71
627
    if (!Result && 
Str == S455
) {
72
31
      Result = std::move(Value);
73
31
    }
74
627
    return *this;
75
627
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Case(llvm::StringLiteral, lld::elf::LLDDWARFSection*)
Line
Count
Source
70
1.11k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.11k
    if (!Result && 
Str == S1.04k
) {
72
55
      Result = std::move(Value);
73
55
    }
74
1.11k
    return *this;
75
1.11k
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Case(llvm::StringLiteral, llvm::StringRef*)
Line
Count
Source
70
164k
  StringSwitch &Case(StringLiteral S, T Value) {
71
164k
    if (!Result && 
Str == S116k
) {
72
4.19k
      Result = std::move(Value);
73
4.19k
    }
74
164k
    return *this;
75
164k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Case(llvm::StringLiteral, (anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
70
310k
  StringSwitch &Case(StringLiteral S, T Value) {
71
310k
    if (!Result && 
Str == S247k
) {
72
6.24k
      Result = std::move(Value);
73
6.24k
    }
74
310k
    return *this;
75
310k
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Case(llvm::StringLiteral, llvm::object::Kind)
Line
Count
Source
70
1.60k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.60k
    if (!Result && 
Str == S1.30k
) {
72
51
      Result = std::move(Value);
73
51
    }
74
1.60k
    return *this;
75
1.60k
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Case(llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
70
1.49k
  StringSwitch &Case(StringLiteral S, T Value) {
71
1.49k
    if (!Result && 
Str == S620
) {
72
149
      Result = std::move(Value);
73
149
    }
74
1.49k
    return *this;
75
1.49k
  }
76
77
  LLVM_ATTRIBUTE_ALWAYS_INLINE
78
2.70M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
2.70M
    if (!Result && 
Str.endswith(S)2.67M
) {
80
23.6k
      Result = std::move(Value);
81
23.6k
    }
82
2.70M
    return *this;
83
2.70M
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::EndsWith(llvm::StringLiteral, llvm::LPCC::CondCode)
Line
Count
Source
78
6.60k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
6.60k
    if (!Result && 
Str.endswith(S)5.84k
) {
80
90
      Result = std::move(Value);
81
90
    }
82
6.60k
    return *this;
83
6.60k
  }
llvm::StringSwitch<int, int>::EndsWith(llvm::StringLiteral, int)
Line
Count
Source
78
74
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
74
    if (!Result && 
Str.endswith(S)61
) {
80
26
      Result = std::move(Value);
81
26
    }
82
74
    return *this;
83
74
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::EndsWith(llvm::StringLiteral, llvm::Triple::SubArchType)
Line
Count
Source
78
239k
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
239k
    if (!Result && Str.endswith(S)) {
80
0
      Result = std::move(Value);
81
0
    }
82
239k
    return *this;
83
239k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::EndsWith(llvm::StringLiteral, llvm::Triple::ObjectFormatType)
Line
Count
Source
78
2.45M
  StringSwitch& EndsWith(StringLiteral S, T Value) {
79
2.45M
    if (!Result && 
Str.endswith(S)2.42M
) {
80
23.5k
      Result = std::move(Value);
81
23.5k
    }
82
2.45M
    return *this;
83
2.45M
  }
84
85
  LLVM_ATTRIBUTE_ALWAYS_INLINE
86
79.2M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
79.2M
    if (!Result && 
Str.startswith(S)32.3M
) {
88
2.18M
      Result = std::move(Value);
89
2.18M
    }
90
79.2M
    return *this;
91
79.2M
  }
llvm::StringSwitch<bool, bool>::StartsWith(llvm::StringLiteral, bool)
Line
Count
Source
86
152
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
152
    if (!Result && 
Str.startswith(S)82
) {
88
19
      Result = std::move(Value);
89
19
    }
90
152
    return *this;
91
152
  }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::StartsWith(llvm::StringLiteral, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>)
Line
Count
Source
86
295k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
295k
    if (!Result && 
Str.startswith(S)28.8k
) {
88
12.2k
      Result = std::move(Value);
89
12.2k
    }
90
295k
    return *this;
91
295k
  }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::StartsWith(llvm::StringLiteral, llvm::ARM::ISAKind)
Line
Count
Source
86
471k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
471k
    if (!Result && 
Str.startswith(S)383k
) {
88
117k
      Result = std::move(Value);
89
117k
    }
90
471k
    return *this;
91
471k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::StartsWith(llvm::StringLiteral, llvm::Triple::OSType)
Line
Count
Source
86
58.8M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
58.8M
    if (!Result && 
Str.startswith(S)19.7M
) {
88
1.53M
      Result = std::move(Value);
89
1.53M
    }
90
58.8M
    return *this;
91
58.8M
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::StartsWith(llvm::StringLiteral, llvm::Triple::EnvironmentType)
Line
Count
Source
86
11.8M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
11.8M
    if (!Result && 
Str.startswith(S)6.00M
) {
88
513k
      Result = std::move(Value);
89
513k
    }
90
11.8M
    return *this;
91
11.8M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::StartsWith(llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
86
1.94M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
1.94M
    if (!Result && 
Str.startswith(S)300k
) {
88
93
      Result = std::move(Value);
89
93
    }
90
1.94M
    return *this;
91
1.94M
  }
llvm::StringSwitch<char const*, char const*>::StartsWith(llvm::StringLiteral, char const*)
Line
Count
Source
86
5.26M
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
5.26M
    if (!Result && 
Str.startswith(S)5.26M
) {
88
1
      Result = std::move(Value);
89
1
    }
90
5.26M
    return *this;
91
5.26M
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::StartsWith(llvm::StringLiteral, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
86
23.2k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
23.2k
    if (!Result && 
Str.startswith(S)12.9k
) {
88
336
      Result = std::move(Value);
89
336
    }
90
23.2k
    return *this;
91
23.2k
  }
llvm::StringSwitch<unsigned long, unsigned long>::StartsWith(llvm::StringLiteral, unsigned long)
Line
Count
Source
86
608k
  StringSwitch& StartsWith(StringLiteral S, T Value) {
87
608k
    if (!Result && Str.startswith(S)) {
88
26
      Result = std::move(Value);
89
26
    }
90
608k
    return *this;
91
608k
  }
92
93
  LLVM_ATTRIBUTE_ALWAYS_INLINE
94
30.5M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
30.5M
    return Case(S0, Value).Case(S1, Value);
96
30.5M
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
94
452k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
452k
    return Case(S0, Value).Case(S1, Value);
96
452k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
94
634k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
634k
    return Case(S0, Value).Case(S1, Value);
96
634k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Intrinsic::ID)
Line
Count
Source
94
547
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
547
    return Case(S0, Value).Case(S1, Value);
96
547
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::MCSymbolAttr)
Line
Count
Source
94
12.7k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
12.7k
    return Case(S0, Value).Case(S1, Value);
96
12.7k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
94
7.14M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
7.14M
    return Case(S0, Value).Case(S1, Value);
96
7.14M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
94
21.8M
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
21.8M
    return Case(S0, Value).Case(S1, Value);
96
21.8M
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
94
6.25k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
6.25k
    return Case(S0, Value).Case(S1, Value);
96
6.25k
  }
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> > >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
94
940
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
940
    return Case(S0, Value).Case(S1, Value);
96
940
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
94
284
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
284
    return Case(S0, Value).Case(S1, Value);
96
284
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
94
1.59k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
1.59k
    return Case(S0, Value).Case(S1, Value);
96
1.59k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
94
104k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
104k
    return Case(S0, Value).Case(S1, Value);
96
104k
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::LangStandard::Kind)
Line
Count
Source
94
888
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
888
    return Case(S0, Value).Case(S1, Value);
96
888
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
94
732
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
732
    return Case(S0, Value).Case(S1, Value);
96
732
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
94
222
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
222
    return Case(S0, Value).Case(S1, Value);
96
222
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
94
87
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
87
    return Case(S0, Value).Case(S1, Value);
96
87
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
94
128k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
128k
    return Case(S0, Value).Case(S1, Value);
96
128k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
94
149k
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
149k
    return Case(S0, Value).Case(S1, Value);
96
149k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
94
56
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
56
    return Case(S0, Value).Case(S1, Value);
96
56
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::COFF::MachineTypes)
Line
Count
Source
94
42
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
42
    return Case(S0, Value).Case(S1, Value);
96
42
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Cases(llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
94
165
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
165
    return Case(S0, Value).Case(S1, Value);
96
165
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
94
298
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
95
298
    return Case(S0, Value).Case(S1, Value);
96
298
  }
97
98
  LLVM_ATTRIBUTE_ALWAYS_INLINE
99
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
100
17.9M
                      T Value) {
101
17.9M
    return Case(S0, Value).Cases(S1, S2, Value);
102
17.9M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
100
350k
                      T Value) {
101
350k
    return Case(S0, Value).Cases(S1, S2, Value);
102
350k
  }
llvm::StringSwitch<unsigned int, unsigned int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, unsigned int)
Line
Count
Source
100
209
                      T Value) {
101
209
    return Case(S0, Value).Cases(S1, S2, Value);
102
209
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
100
5.35M
                      T Value) {
101
5.35M
    return Case(S0, Value).Cases(S1, S2, Value);
102
5.35M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
100
12.0M
                      T Value) {
101
12.0M
    return Case(S0, Value).Cases(S1, S2, Value);
102
12.0M
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
100
2.77k
                      T Value) {
101
2.77k
    return Case(S0, Value).Cases(S1, S2, Value);
102
2.77k
  }
llvm::StringSwitch<char const*, char const*>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, char const*)
Line
Count
Source
100
141
                      T Value) {
101
141
    return Case(S0, Value).Cases(S1, S2, Value);
102
141
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
100
33.2k
                      T Value) {
101
33.2k
    return Case(S0, Value).Cases(S1, S2, Value);
102
33.2k
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
100
222
                      T Value) {
101
222
    return Case(S0, Value).Cases(S1, S2, Value);
102
222
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
100
42.6k
                      T Value) {
101
42.6k
    return Case(S0, Value).Cases(S1, S2, Value);
102
42.6k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
100
149k
                      T Value) {
101
149k
    return Case(S0, Value).Cases(S1, S2, Value);
102
149k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
100
28
                      T Value) {
101
28
    return Case(S0, Value).Cases(S1, S2, Value);
102
28
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
100
33
                      T Value) {
101
33
    return Case(S0, Value).Cases(S1, S2, Value);
102
33
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int (*)(int, char const**))
Line
Count
Source
100
149
                      T Value) {
101
149
    return Case(S0, Value).Cases(S1, S2, Value);
102
149
  }
103
104
  LLVM_ATTRIBUTE_ALWAYS_INLINE
105
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
106
6.30M
                      StringLiteral S3, T Value) {
107
6.30M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
6.30M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
106
206k
                      StringLiteral S3, T Value) {
107
206k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
206k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
106
3.57M
                      StringLiteral S3, T Value) {
107
3.57M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
3.57M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
106
2.36M
                      StringLiteral S3, T Value) {
107
2.36M
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
2.36M
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
106
16.6k
                      StringLiteral S3, T Value) {
107
16.6k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
16.6k
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::Sema::FormatStringType)
Line
Count
Source
106
42.6k
                      StringLiteral S3, T Value) {
107
42.6k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
42.6k
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, FormatAttrKind)
Line
Count
Source
106
99.6k
                      StringLiteral S3, T Value) {
107
99.6k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
99.6k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
106
1.34k
                      StringLiteral S3, T Value) {
107
1.34k
    return Case(S0, Value).Cases(S1, S2, S3, Value);
108
1.34k
  }
109
110
  LLVM_ATTRIBUTE_ALWAYS_INLINE
111
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
112
2.28M
                      StringLiteral S3, StringLiteral S4, T Value) {
113
2.28M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
2.28M
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
112
200k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
200k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
200k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringRef)
Line
Count
Source
112
1.78M
                      StringLiteral S3, StringLiteral S4, T Value) {
113
1.78M
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
1.78M
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::Triple::ArchType)
Line
Count
Source
112
283k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
283k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
283k
  }
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, clang::InputKind)
Line
Count
Source
112
16.6k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
16.6k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
16.6k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
112
1.34k
                      StringLiteral S3, StringLiteral S4, T Value) {
113
1.34k
    return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
114
1.34k
  }
115
116
  LLVM_ATTRIBUTE_ALWAYS_INLINE
117
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
118
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
119
140k
                      T Value) {
120
140k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
140k
  }
llvm::StringSwitch<bool, bool>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, bool)
Line
Count
Source
119
139k
                      T Value) {
120
139k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
139k
  }
llvm::StringSwitch<int, int>::Cases(llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, llvm::StringLiteral, int)
Line
Count
Source
119
1.34k
                      T Value) {
120
1.34k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
121
1.34k
  }
122
123
  LLVM_ATTRIBUTE_ALWAYS_INLINE
124
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
125
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
126
135k
                      StringLiteral S6, T Value) {
127
135k
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
128
135k
  }
129
130
  LLVM_ATTRIBUTE_ALWAYS_INLINE
131
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
132
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
133
                      StringLiteral S6, StringLiteral S7, T Value) {
134
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
135
  }
136
137
  LLVM_ATTRIBUTE_ALWAYS_INLINE
138
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
139
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
140
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
141
                      T Value) {
142
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
143
  }
144
145
  LLVM_ATTRIBUTE_ALWAYS_INLINE
146
  StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
147
                      StringLiteral S3, StringLiteral S4, StringLiteral S5,
148
                      StringLiteral S6, StringLiteral S7, StringLiteral S8,
149
                      StringLiteral S9, T Value) {
150
    return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
151
  }
152
153
  // Case-insensitive case matchers.
154
  LLVM_ATTRIBUTE_ALWAYS_INLINE
155
31.9k
  StringSwitch &CaseLower(StringLiteral S, T Value) {
156
31.9k
    if (!Result && 
Str.equals_lower(S)13.0k
)
157
3.11k
      Result = std::move(Value);
158
31.9k
159
31.9k
    return *this;
160
31.9k
  }
161
162
  LLVM_ATTRIBUTE_ALWAYS_INLINE
163
  StringSwitch &EndsWithLower(StringLiteral S, T Value) {
164
    if (!Result && Str.endswith_lower(S))
165
      Result = Value;
166
167
    return *this;
168
  }
169
170
  LLVM_ATTRIBUTE_ALWAYS_INLINE
171
  StringSwitch &StartsWithLower(StringLiteral S, T Value) {
172
    if (!Result && Str.startswith_lower(S))
173
      Result = std::move(Value);
174
175
    return *this;
176
  }
177
178
  LLVM_ATTRIBUTE_ALWAYS_INLINE
179
10.6k
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, T Value) {
180
10.6k
    return CaseLower(S0, Value).CaseLower(S1, Value);
181
10.6k
  }
182
183
  LLVM_ATTRIBUTE_ALWAYS_INLINE
184
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
185
7.09k
                           T Value) {
186
7.09k
    return CaseLower(S0, Value).CasesLower(S1, S2, Value);
187
7.09k
  }
188
189
  LLVM_ATTRIBUTE_ALWAYS_INLINE
190
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
191
                           StringLiteral S3, T Value) {
192
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value);
193
  }
194
195
  LLVM_ATTRIBUTE_ALWAYS_INLINE
196
  StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, StringLiteral S2,
197
                           StringLiteral S3, StringLiteral S4, T Value) {
198
    return CaseLower(S0, Value).CasesLower(S1, S2, S3, S4, Value);
199
  }
200
201
  LLVM_NODISCARD
202
  LLVM_ATTRIBUTE_ALWAYS_INLINE
203
27.1M
  R Default(T Value) {
204
27.1M
    if (Result)
205
12.9M
      return std::move(*Result);
206
14.1M
    return Value;
207
14.1M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::DebugCompressionType, llvm::DebugCompressionType>::Default(llvm::DebugCompressionType)
llvm::StringSwitch<unsigned int, unsigned int>::Default(unsigned int)
Line
Count
Source
203
1.56M
  R Default(T Value) {
204
1.56M
    if (Result)
205
292k
      return std::move(*Result);
206
1.27M
    return Value;
207
1.27M
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AArch64Layout::VectorLayout, llvm::AArch64Layout::VectorLayout>::Default(llvm::AArch64Layout::VectorLayout)
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::Default(llvm::StringRef)
Line
Count
Source
203
3.72M
  R Default(T Value) {
204
3.72M
    if (Result)
205
2.17M
      return std::move(*Result);
206
1.54M
    return Value;
207
1.54M
  }
llvm::StringSwitch<std::__1::pair<int, int>, std::__1::pair<int, int> >::Default(std::__1::pair<int, int>)
Line
Count
Source
203
87.9k
  R Default(T Value) {
204
87.9k
    if (Result)
205
87.8k
      return std::move(*Result);
206
111
    return Value;
207
111
  }
llvm::StringSwitch<llvm::AArch64CC::CondCode, llvm::AArch64CC::CondCode>::Default(llvm::AArch64CC::CondCode)
Line
Count
Source
203
355
  R Default(T Value) {
204
355
    if (Result)
205
333
      return std::move(*Result);
206
22
    return Value;
207
22
  }
llvm::StringSwitch<llvm::AArch64MCExpr::VariantKind, llvm::AArch64MCExpr::VariantKind>::Default(llvm::AArch64MCExpr::VariantKind)
Line
Count
Source
203
964
  R Default(T Value) {
204
964
    if (Result)
205
964
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AArch64_AM::ShiftExtendType, llvm::AArch64_AM::ShiftExtendType>::Default(llvm::AArch64_AM::ShiftExtendType)
Line
Count
Source
203
2.55k
  R Default(T Value) {
204
2.55k
    if (Result)
205
2.01k
      return std::move(*Result);
206
539
    return Value;
207
539
  }
llvm::StringSwitch<int, int>::Default(int)
Line
Count
Source
203
49.8k
  R Default(T Value) {
204
49.8k
    if (Result)
205
46.3k
      return std::move(*Result);
206
3.49k
    return Value;
207
3.49k
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::AccessQualifier, llvm::AMDGPU::HSAMD::AccessQualifier>::Default(llvm::AMDGPU::HSAMD::AccessQualifier)
Line
Count
Source
203
337
  R Default(T Value) {
204
337
    if (Result)
205
22
      return std::move(*Result);
206
315
    return Value;
207
315
  }
llvm::StringSwitch<llvm::AMDGPU::HSAMD::ValueKind, llvm::AMDGPU::HSAMD::ValueKind>::Default(llvm::AMDGPU::HSAMD::ValueKind)
Line
Count
Source
203
4.38k
  R Default(T Value) {
204
4.38k
    if (Result)
205
72
      return std::move(*Result);
206
4.30k
    return Value;
207
4.30k
  }
llvm::StringSwitch<bool*, bool*>::Default(bool*)
Line
Count
Source
203
26
  R Default(T Value) {
204
26
    if (Result)
205
26
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AMDGPULibFuncBase::ENamePrefix, llvm::AMDGPULibFuncBase::ENamePrefix>::Default(llvm::AMDGPULibFuncBase::ENamePrefix)
Line
Count
Source
203
275
  R Default(T Value) {
204
275
    if (Result)
205
42
      return std::move(*Result);
206
233
    return Value;
207
233
  }
Unexecuted instantiation: llvm::StringSwitch<llvm::AMDGPULibFuncBase::EType, llvm::AMDGPULibFuncBase::EType>::Default(llvm::AMDGPULibFuncBase::EType)
llvm::StringSwitch<long long, long long>::Default(long long)
Line
Count
Source
203
65.2k
  R Default(T Value) {
204
65.2k
    if (Result)
205
65.2k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::ARM_AM::ShiftOpc, llvm::ARM_AM::ShiftOpc>::Default(llvm::ARM_AM::ShiftOpc)
Line
Count
Source
203
2.60k
  R Default(T Value) {
204
2.60k
    if (Result)
205
2.27k
      return std::move(*Result);
206
326
    return Value;
207
326
  }
llvm::StringSwitch<bool, bool>::Default(bool)
Line
Count
Source
203
9.48M
  R Default(T Value) {
204
9.48M
    if (Result)
205
2.47M
      return std::move(*Result);
206
7.00M
    return Value;
207
7.00M
  }
llvm::StringSwitch<llvm::LPAC::AluCode, llvm::LPAC::AluCode>::Default(llvm::LPAC::AluCode)
Line
Count
Source
203
108
  R Default(T Value) {
204
108
    if (Result)
205
108
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::LPCC::CondCode, llvm::LPCC::CondCode>::Default(llvm::LPCC::CondCode)
Line
Count
Source
203
330
  R Default(T Value) {
204
330
    if (Result)
205
90
      return std::move(*Result);
206
240
    return Value;
207
240
  }
llvm::StringSwitch<unsigned long long, unsigned long long>::Default(unsigned long long)
Line
Count
Source
203
8.47k
  R Default(T Value) {
204
8.47k
    if (Result)
205
8.47k
      return std::move(*Result);
206
6
    return Value;
207
6
  }
llvm::StringSwitch<llvm::Optional<llvm::MCFixupKind>, llvm::Optional<llvm::MCFixupKind> >::Default(llvm::Optional<llvm::MCFixupKind>)
Line
Count
Source
203
107
  R Default(T Value) {
204
107
    if (Result)
205
107
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::SparcMCExpr::VariantKind, llvm::SparcMCExpr::VariantKind>::Default(llvm::SparcMCExpr::VariantKind)
Line
Count
Source
203
72
  R Default(T Value) {
204
72
    if (Result)
205
72
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<char const*, char const*>::Default(char const*)
Line
Count
Source
203
674k
  R Default(T Value) {
204
674k
    if (Result)
205
13.1k
      return std::move(*Result);
206
661k
    return Value;
207
661k
  }
llvm::StringSwitch<llvm::MachO::CPUSubTypeX86, llvm::MachO::CPUSubTypeX86>::Default(llvm::MachO::CPUSubTypeX86)
Line
Count
Source
203
3.90k
  R Default(T Value) {
204
3.90k
    if (Result)
205
624
      return std::move(*Result);
206
3.28k
    return Value;
207
3.28k
  }
llvm::StringSwitch<llvm::EHPersonality, llvm::EHPersonality>::Default(llvm::EHPersonality)
Line
Count
Source
203
404k
  R Default(T Value) {
204
404k
    if (Result)
205
403k
      return std::move(*Result);
206
559
    return Value;
207
559
  }
llvm::StringSwitch<llvm::objcarc::ARCInstKind, llvm::objcarc::ARCInstKind>::Default(llvm::objcarc::ARCInstKind)
Line
Count
Source
203
6.96k
  R Default(T Value) {
204
6.96k
    if (Result)
205
4.42k
      return std::move(*Result);
206
2.53k
    return Value;
207
2.53k
  }
llvm::StringSwitch<llvm::Intrinsic::ID, llvm::Intrinsic::ID>::Default(llvm::Intrinsic::ID)
Line
Count
Source
203
547
  R Default(T Value) {
204
547
    if (Result)
205
8
      return std::move(*Result);
206
539
    return Value;
207
539
  }
llvm::StringSwitch<llvm::DINode::DIFlags, llvm::DINode::DIFlags>::Default(llvm::DINode::DIFlags)
Line
Count
Source
203
3.48k
  R Default(T Value) {
204
3.48k
    if (Result)
205
3.48k
      return std::move(*Result);
206
5
    return Value;
207
5
  }
llvm::StringSwitch<llvm::Optional<llvm::DIFile::ChecksumKind>, llvm::Optional<llvm::DIFile::ChecksumKind> >::Default(llvm::Optional<llvm::DIFile::ChecksumKind>)
Line
Count
Source
203
141
  R Default(T Value) {
204
141
    if (Result)
205
141
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>, llvm::Optional<llvm::DICompileUnit::DebugEmissionKind> >::Default(llvm::Optional<llvm::DICompileUnit::DebugEmissionKind>)
Line
Count
Source
203
1.79k
  R Default(T Value) {
204
1.79k
    if (Result)
205
1.79k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::RoundingMode, llvm::ConstrainedFPIntrinsic::RoundingMode>::Default(llvm::ConstrainedFPIntrinsic::RoundingMode)
Line
Count
Source
203
303
  R Default(T Value) {
204
303
    if (Result)
205
301
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::ConstrainedFPIntrinsic::ExceptionBehavior, llvm::ConstrainedFPIntrinsic::ExceptionBehavior>::Default(llvm::ConstrainedFPIntrinsic::ExceptionBehavior)
Line
Count
Source
203
301
  R Default(T Value) {
204
301
    if (Result)
205
299
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::Attribute::AttrKind, llvm::Attribute::AttrKind>::Default(llvm::Attribute::AttrKind)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::MCSymbolRefExpr::VariantKind, llvm::MCSymbolRefExpr::VariantKind>::Default(llvm::MCSymbolRefExpr::VariantKind)
Line
Count
Source
203
1.98k
  R Default(T Value) {
204
1.98k
    if (Result)
205
1.97k
      return std::move(*Result);
206
10
    return Value;
207
10
  }
llvm::StringSwitch<std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>, std::__1::pair<llvm::AsmToken::TokenKind, unsigned int> >::Default(std::__1::pair<llvm::AsmToken::TokenKind, unsigned int>)
Line
Count
Source
203
12.3k
  R Default(T Value) {
204
12.3k
    if (Result)
205
12.2k
      return std::move(*Result);
206
37
    return Value;
207
37
  }
llvm::StringSwitch<llvm::COFF::COMDATType, llvm::COFF::COMDATType>::Default(llvm::COFF::COMDATType)
Line
Count
Source
203
126
  R Default(T Value) {
204
126
    if (Result)
205
125
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::MCSymbolAttr, llvm::MCSymbolAttr>::Default(llvm::MCSymbolAttr)
Line
Count
Source
203
2.52k
  R Default(T Value) {
204
2.52k
    if (Result)
205
2.52k
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<llvm::ARM::ISAKind, llvm::ARM::ISAKind>::Default(llvm::ARM::ISAKind)
Line
Count
Source
203
117k
  R Default(T Value) {
204
117k
    if (Result)
205
117k
      return std::move(*Result);
206
9
    return Value;
207
9
  }
llvm::StringSwitch<llvm::Triple::SubArchType, llvm::Triple::SubArchType>::Default(llvm::Triple::SubArchType)
Line
Count
Source
203
79.9k
  R Default(T Value) {
204
79.9k
    if (Result)
205
0
      return std::move(*Result);
206
79.9k
    return Value;
207
79.9k
  }
llvm::StringSwitch<llvm::Triple::VendorType, llvm::Triple::VendorType>::Default(llvm::Triple::VendorType)
Line
Count
Source
203
1.86M
  R Default(T Value) {
204
1.86M
    if (Result)
205
1.09M
      return std::move(*Result);
206
769k
    return Value;
207
769k
  }
llvm::StringSwitch<llvm::Triple::OSType, llvm::Triple::OSType>::Default(llvm::Triple::OSType)
Line
Count
Source
203
1.83M
  R Default(T Value) {
204
1.83M
    if (Result)
205
1.53M
      return std::move(*Result);
206
302k
    return Value;
207
302k
  }
llvm::StringSwitch<llvm::Triple::EnvironmentType, llvm::Triple::EnvironmentType>::Default(llvm::Triple::EnvironmentType)
Line
Count
Source
203
656k
  R Default(T Value) {
204
656k
    if (Result)
205
513k
      return std::move(*Result);
206
143k
    return Value;
207
143k
  }
llvm::StringSwitch<llvm::Triple::ObjectFormatType, llvm::Triple::ObjectFormatType>::Default(llvm::Triple::ObjectFormatType)
Line
Count
Source
203
613k
  R Default(T Value) {
204
613k
    if (Result)
205
23.5k
      return std::move(*Result);
206
589k
    return Value;
207
589k
  }
llvm::StringSwitch<llvm::Triple::ArchType, llvm::Triple::ArchType>::Default(llvm::Triple::ArchType)
Line
Count
Source
203
2.01M
  R Default(T Value) {
204
2.01M
    if (Result)
205
1.72M
      return std::move(*Result);
206
293k
    return Value;
207
293k
  }
llvm::StringSwitch<clang::CudaArch, clang::CudaArch>::Default(clang::CudaArch)
Line
Count
Source
203
937
  R Default(T Value) {
204
937
    if (Result)
205
932
      return std::move(*Result);
206
5
    return Value;
207
5
  }
Unexecuted instantiation: llvm::StringSwitch<clang::CudaVirtualArch, clang::CudaVirtualArch>::Default(clang::CudaVirtualArch)
llvm::StringSwitch<clang::OpenMPDirectiveKind, clang::OpenMPDirectiveKind>::Default(clang::OpenMPDirectiveKind)
Line
Count
Source
203
466k
  R Default(T Value) {
204
466k
    if (Result)
205
386k
      return std::move(*Result);
206
80.5k
    return Value;
207
80.5k
  }
llvm::StringSwitch<clang::OpenMPClauseKind, clang::OpenMPClauseKind>::Default(clang::OpenMPClauseKind)
Line
Count
Source
203
79.9k
  R Default(T Value) {
204
79.9k
    if (Result)
205
77.8k
      return std::move(*Result);
206
2.05k
    return Value;
207
2.05k
  }
llvm::StringSwitch<clang::OpenMPDefaultClauseKind, clang::OpenMPDefaultClauseKind>::Default(clang::OpenMPDefaultClauseKind)
Line
Count
Source
203
716
  R Default(T Value) {
204
716
    if (Result)
205
590
      return std::move(*Result);
206
126
    return Value;
207
126
  }
llvm::StringSwitch<clang::OpenMPProcBindClauseKind, clang::OpenMPProcBindClauseKind>::Default(clang::OpenMPProcBindClauseKind)
Line
Count
Source
203
519
  R Default(T Value) {
204
519
    if (Result)
205
405
      return std::move(*Result);
206
114
    return Value;
207
114
  }
llvm::StringSwitch<clang::OpenMPDependClauseKind, clang::OpenMPDependClauseKind>::Default(clang::OpenMPDependClauseKind)
Line
Count
Source
203
2.66k
  R Default(T Value) {
204
2.66k
    if (Result)
205
2.55k
      return std::move(*Result);
206
114
    return Value;
207
114
  }
llvm::StringSwitch<clang::OpenMPLinearClauseKind, clang::OpenMPLinearClauseKind>::Default(clang::OpenMPLinearClauseKind)
Line
Count
Source
203
182
  R Default(T Value) {
204
182
    if (Result)
205
164
      return std::move(*Result);
206
18
    return Value;
207
18
  }
llvm::StringSwitch<clang::OpenMPMapClauseKind, clang::OpenMPMapClauseKind>::Default(clang::OpenMPMapClauseKind)
Line
Count
Source
203
6.02k
  R Default(T Value) {
204
6.02k
    if (Result)
205
3.21k
      return std::move(*Result);
206
2.81k
    return Value;
207
2.81k
  }
llvm::StringSwitch<clang::OpenMPDistScheduleClauseKind, clang::OpenMPDistScheduleClauseKind>::Default(clang::OpenMPDistScheduleClauseKind)
Line
Count
Source
203
1.29k
  R Default(T Value) {
204
1.29k
    if (Result)
205
1.15k
      return std::move(*Result);
206
144
    return Value;
207
144
  }
llvm::StringSwitch<clang::targets::LanaiTargetInfo::CPUKind, clang::targets::LanaiTargetInfo::CPUKind>::Default(clang::targets::LanaiTargetInfo::CPUKind)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
0
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Default(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)
Line
Count
Source
203
388
  R Default(T Value) {
204
388
    if (Result)
205
304
      return std::move(*Result);
206
84
    return Value;
207
84
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::X86SSEEnum, clang::targets::X86TargetInfo::X86SSEEnum>::Default(clang::targets::X86TargetInfo::X86SSEEnum)
Line
Count
Source
203
164k
  R Default(T Value) {
204
164k
    if (Result)
205
75.4k
      return std::move(*Result);
206
88.8k
    return Value;
207
88.8k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::MMX3DNowEnum, clang::targets::X86TargetInfo::MMX3DNowEnum>::Default(clang::targets::X86TargetInfo::MMX3DNowEnum)
Line
Count
Source
203
164k
  R Default(T Value) {
204
164k
    if (Result)
205
25.3k
      return std::move(*Result);
206
138k
    return Value;
207
138k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::XOPEnum, clang::targets::X86TargetInfo::XOPEnum>::Default(clang::targets::X86TargetInfo::XOPEnum)
Line
Count
Source
203
164k
  R Default(T Value) {
204
164k
    if (Result)
205
81
      return std::move(*Result);
206
164k
    return Value;
207
164k
  }
llvm::StringSwitch<clang::targets::X86TargetInfo::CPUKind, clang::targets::X86TargetInfo::CPUKind>::Default(clang::targets::X86TargetInfo::CPUKind)
Line
Count
Source
203
84.3k
  R Default(T Value) {
204
84.3k
    if (Result)
205
26.2k
      return std::move(*Result);
206
58.0k
    return Value;
207
58.0k
  }
llvm::StringSwitch<llvm::FloatABI::ABIType, llvm::FloatABI::ABIType>::Default(llvm::FloatABI::ABIType)
Line
Count
Source
203
20.5k
  R Default(T Value) {
204
20.5k
    if (Result)
205
2.20k
      return std::move(*Result);
206
18.3k
    return Value;
207
18.3k
  }
llvm::StringSwitch<std::__1::pair<unsigned int, unsigned int>, std::__1::pair<unsigned int, unsigned int> >::Default(std::__1::pair<unsigned int, unsigned int>)
Line
Count
Source
203
71
  R Default(T Value) {
204
71
    if (Result)
205
71
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::Distro::DistroType, clang::driver::Distro::DistroType>::Default(clang::driver::Distro::DistroType)
Line
Count
Source
203
3
  R Default(T Value) {
204
3
    if (Result)
205
3
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::driver::Driver::DriverMode>, llvm::Optional<clang::driver::Driver::DriverMode> >::Default(llvm::Optional<clang::driver::Driver::DriverMode>)
Line
Count
Source
203
15.3k
  R Default(T Value) {
204
15.3k
    if (Result)
205
15.3k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::LTOKind, clang::driver::LTOKind>::Default(clang::driver::LTOKind)
Line
Count
Source
203
103
  R Default(T Value) {
204
103
    if (Result)
205
101
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::driver::Driver::OpenMPRuntimeKind, clang::driver::Driver::OpenMPRuntimeKind>::Default(clang::driver::Driver::OpenMPRuntimeKind)
Line
Count
Source
203
458
  R Default(T Value) {
204
458
    if (Result)
205
454
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::driver::Driver::SaveTempsMode, clang::driver::Driver::SaveTempsMode>::Default(clang::driver::Driver::SaveTempsMode)
Line
Count
Source
203
46
  R Default(T Value) {
204
46
    if (Result)
205
46
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::arm::ReadTPMode, clang::driver::tools::arm::ReadTPMode>::Default(clang::driver::tools::arm::ReadTPMode)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::arm::FloatABI, clang::driver::tools::arm::FloatABI>::Default(clang::driver::tools::arm::FloatABI)
Line
Count
Source
203
2.80k
  R Default(T Value) {
204
2.80k
    if (Result)
205
2.80k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::mips::FloatABI, clang::driver::tools::mips::FloatABI>::Default(clang::driver::tools::mips::FloatABI)
Line
Count
Source
203
12
  R Default(T Value) {
204
12
    if (Result)
205
12
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::driver::tools::ppc::FloatABI, clang::driver::tools::ppc::FloatABI>::Default(clang::driver::tools::ppc::FloatABI)
Line
Count
Source
203
10
  R Default(T Value) {
204
10
    if (Result)
205
8
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::driver::tools::sparc::FloatABI, clang::driver::tools::sparc::FloatABI>::Default(clang::driver::tools::sparc::FloatABI)
Line
Count
Source
203
12
  R Default(T Value) {
204
12
    if (Result)
205
8
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::driver::types::ID, clang::driver::types::ID>::Default(clang::driver::types::ID)
Line
Count
Source
203
32.5k
  R Default(T Value) {
204
32.5k
    if (Result)
205
31.1k
      return std::move(*Result);
206
1.42k
    return Value;
207
1.42k
  }
llvm::StringSwitch<clang::DiagnosticLevelMask, clang::DiagnosticLevelMask>::Default(clang::DiagnosticLevelMask)
Line
Count
Source
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<clang::AnalysisStores, clang::AnalysisStores>::Default(clang::AnalysisStores)
Line
Count
Source
203
169
  R Default(T Value) {
204
169
    if (Result)
205
169
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisConstraints, clang::AnalysisConstraints>::Default(clang::AnalysisConstraints)
Line
Count
Source
203
711
  R Default(T Value) {
204
711
    if (Result)
205
711
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisDiagClients, clang::AnalysisDiagClients>::Default(clang::AnalysisDiagClients)
Line
Count
Source
203
132
  R Default(T Value) {
204
132
    if (Result)
205
132
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalysisPurgeMode, clang::AnalysisPurgeMode>::Default(clang::AnalysisPurgeMode)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
1
      return std::move(*Result);
206
0
    return Value;
207
0
  }
Unexecuted instantiation: llvm::StringSwitch<clang::AnalysisInliningMode, clang::AnalysisInliningMode>::Default(clang::AnalysisInliningMode)
llvm::StringSwitch<clang::InputKind, clang::InputKind>::Default(clang::InputKind)
Line
Count
Source
203
47.5k
  R Default(T Value) {
204
47.5k
    if (Result)
205
42.0k
      return std::move(*Result);
206
5.51k
    return Value;
207
5.51k
  }
llvm::StringSwitch<llvm::EABI, llvm::EABI>::Default(llvm::EABI)
Line
Count
Source
203
29
  R Default(T Value) {
204
29
    if (Result)
205
28
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::Reloc::Model> >::Default(llvm::Optional<llvm::Reloc::Model>)
Line
Count
Source
203
19.4k
  R Default(T Value) {
204
19.4k
    if (Result)
205
19.4k
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<clang::LangStandard::Kind, clang::LangStandard::Kind>::Default(clang::LangStandard::Kind)
Line
Count
Source
203
14.3k
  R Default(T Value) {
204
14.3k
    if (Result)
205
14.3k
      return std::move(*Result);
206
11
    return Value;
207
11
  }
llvm::StringSwitch<clang::LangOptions::PragmaMSPointersToMembersKind, clang::LangOptions::PragmaMSPointersToMembersKind>::Default(clang::LangOptions::PragmaMSPointersToMembersKind)
Line
Count
Source
203
1
  R Default(T Value) {
204
1
    if (Result)
205
1
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::LangOptions::DefaultCallingConvention, clang::LangOptions::DefaultCallingConvention>::Default(clang::LangOptions::DefaultCallingConvention)
Line
Count
Source
203
5
  R Default(T Value) {
204
5
    if (Result)
205
5
      return std::move(*Result);
206
0
    return Value;
207
0
  }
CheckSecuritySyntaxOnly.cpp:llvm::StringSwitch<void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*), void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*)>::Default(void ((anonymous namespace)::WalkAST::*)(clang::CallExpr const*, clang::FunctionDecl const*))
Line
Count
Source
203
366
  R Default(T Value) {
204
366
    if (Result)
205
264
      return std::move(*Result);
206
102
    return Value;
207
102
  }
ExprInspectionChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Default(void ((anonymous namespace)::ExprInspectionChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
203
11.6k
  R Default(T Value) {
204
11.6k
    if (Result)
205
7.21k
      return std::move(*Result);
206
4.39k
    return Value;
207
4.39k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const>::Default(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const> ((anonymous namespace)::GenericTaintChecker::*)(clang::CallExpr const*, clang::ento::CheckerContext&) const)
Line
Count
Source
203
1.26k
  R Default(T Value) {
204
1.26k
    if (Result)
205
80
      return std::move(*Result);
206
1.18k
    return Value;
207
1.18k
  }
GenericTaintChecker.cpp:llvm::StringSwitch<(anonymous namespace)::GenericTaintChecker::TaintPropagationRule, (anonymous namespace)::GenericTaintChecker::TaintPropagationRule>::Default((anonymous namespace)::GenericTaintChecker::TaintPropagationRule)
Line
Count
Source
203
707
  R Default(T Value) {
204
707
    if (Result)
205
25
      return std::move(*Result);
206
682
    return Value;
207
682
  }
MacOSXAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const, void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const>::Default(void ((anonymous namespace)::MacOSXAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const)
Line
Count
Source
203
222
  R Default(T Value) {
204
222
    if (Result)
205
54
      return std::move(*Result);
206
168
    return Value;
207
168
  }
UnixAPIChecker.cpp:llvm::StringSwitch<void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const, void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const>::Default(void ((anonymous namespace)::UnixAPIChecker::*)(clang::ento::CheckerContext&, clang::CallExpr const*) const)
Line
Count
Source
203
353
  R Default(T Value) {
204
353
    if (Result)
205
63
      return std::move(*Result);
206
290
    return Value;
207
290
  }
llvm::StringSwitch<clang::AnalyzerOptions::UserModeKind, clang::AnalyzerOptions::UserModeKind>::Default(clang::AnalyzerOptions::UserModeKind)
Line
Count
Source
203
721
  R Default(T Value) {
204
721
    if (Result)
205
721
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::AnalyzerOptions::ExplorationStrategyKind, clang::AnalyzerOptions::ExplorationStrategyKind>::Default(clang::AnalyzerOptions::ExplorationStrategyKind)
Line
Count
Source
203
621
  R Default(T Value) {
204
621
    if (Result)
205
621
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::IPAKind, clang::IPAKind>::Default(clang::IPAKind)
Line
Count
Source
203
721
  R Default(T Value) {
204
721
    if (Result)
205
721
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::CXXInlineableMemberKind, clang::CXXInlineableMemberKind>::Default(clang::CXXInlineableMemberKind)
Line
Count
Source
203
180
  R Default(T Value) {
204
180
    if (Result)
205
180
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>, llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy> >::Default(llvm::Optional<clang::OMPDeclareSimdDeclAttr::BranchStateTy>)
Line
Count
Source
203
448
  R Default(T Value) {
204
448
    if (Result)
205
82
      return std::move(*Result);
206
366
    return Value;
207
366
  }
llvm::StringSwitch<llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>, llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy> >::Default(llvm::Optional<clang::OMPDeclareTargetDeclAttr::MapTypeTy>)
Line
Count
Source
203
48
  R Default(T Value) {
204
48
    if (Result)
205
46
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<clang::PragmaMSCommentKind, clang::PragmaMSCommentKind>::Default(clang::PragmaMSCommentKind)
Line
Count
Source
203
76
  R Default(T Value) {
204
76
    if (Result)
205
73
      return std::move(*Result);
206
3
    return Value;
207
3
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagKinds>)
Line
Count
Source
203
22
  R Default(T Value) {
204
22
    if (Result)
205
21
      return std::move(*Result);
206
1
    return Value;
207
1
  }
ParsePragma.cpp:llvm::StringSwitch<llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>, llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues> >::Default(llvm::Optional<(anonymous namespace)::TokFPAnnotValue::FlagValues>)
Line
Count
Source
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> >::Default(llvm::Optional<clang::attr::SubjectMatchRule>)
Line
Count
Source
203
89
  R Default(T Value) {
204
89
    if (Result)
205
85
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>, std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)> >::Default(std::__1::pair<llvm::Optional<clang::attr::SubjectMatchRule>, llvm::Optional<clang::attr::SubjectMatchRule> (*)(llvm::StringRef, bool)>)
Line
Count
Source
203
312
  R Default(T Value) {
204
312
    if (Result)
205
308
      return std::move(*Result);
206
4
    return Value;
207
4
  }
llvm::StringSwitch<clang::ASTContext::PragmaSectionFlag, clang::ASTContext::PragmaSectionFlag>::Default(clang::ASTContext::PragmaSectionFlag)
Line
Count
Source
203
39
  R Default(T Value) {
204
39
    if (Result)
205
38
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::VisibilityAttr::VisibilityType>, llvm::Optional<clang::VisibilityAttr::VisibilityType> >::Default(llvm::Optional<clang::VisibilityAttr::VisibilityType>)
Line
Count
Source
203
1.18M
  R Default(T Value) {
204
1.18M
    if (Result)
205
1.18M
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::QualType, clang::QualType>::Default(clang::QualType)
Line
Count
Source
203
384
  R Default(T Value) {
204
384
    if (Result)
205
185
      return std::move(*Result);
206
199
    return Value;
207
199
  }
llvm::StringSwitch<clang::Sema::FormatStringType, clang::Sema::FormatStringType>::Default(clang::Sema::FormatStringType)
Line
Count
Source
203
42.6k
  R Default(T Value) {
204
42.6k
    if (Result)
205
42.6k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::ObjCInterfaceDecl*, clang::ObjCInterfaceDecl*>::Default(clang::ObjCInterfaceDecl*)
Line
Count
Source
203
2
  R Default(T Value) {
204
2
    if (Result)
205
2
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::MipsInterruptAttr::InterruptType>, llvm::Optional<clang::MipsInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::MipsInterruptAttr::InterruptType>)
Line
Count
Source
203
21
  R Default(T Value) {
204
21
    if (Result)
205
20
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::ARMInterruptAttr::InterruptType>, llvm::Optional<clang::ARMInterruptAttr::InterruptType> >::Default(llvm::Optional<clang::ARMInterruptAttr::InterruptType>)
Line
Count
Source
203
78
  R Default(T Value) {
204
78
    if (Result)
205
73
      return std::move(*Result);
206
5
    return Value;
207
5
  }
llvm::StringSwitch<llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>, llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType> >::Default(llvm::Optional<clang::DiagnoseIfAttr::DiagnosticType>)
Line
Count
Source
203
4.92k
  R Default(T Value) {
204
4.92k
    if (Result)
205
4.92k
      return std::move(*Result);
206
3
    return Value;
207
3
  }
llvm::StringSwitch<llvm::Optional<clang::EnumExtensibilityAttr::Kind>, llvm::Optional<clang::EnumExtensibilityAttr::Kind> >::Default(llvm::Optional<clang::EnumExtensibilityAttr::Kind>)
Line
Count
Source
203
2.74k
  R Default(T Value) {
204
2.74k
    if (Result)
205
2.74k
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<FormatAttrKind, FormatAttrKind>::Default(FormatAttrKind)
Line
Count
Source
203
49.8k
  R Default(T Value) {
204
49.8k
    if (Result)
205
49.8k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>, llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind> >::Default(llvm::Optional<clang::ObjCMethodFamilyAttr::FamilyKind>)
Line
Count
Source
203
11
  R Default(T Value) {
204
11
    if (Result)
205
11
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::BlocksAttr::BlockType>, llvm::Optional<clang::BlocksAttr::BlockType> >::Default(llvm::Optional<clang::BlocksAttr::BlockType>)
Line
Count
Source
203
501
  R Default(T Value) {
204
501
    if (Result)
205
501
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ConsumableAttr::ConsumedState>, llvm::Optional<clang::ConsumableAttr::ConsumedState> >::Default(llvm::Optional<clang::ConsumableAttr::ConsumedState>)
Line
Count
Source
203
6
  R Default(T Value) {
204
6
    if (Result)
205
6
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::CallableWhenAttr::ConsumedState>, llvm::Optional<clang::CallableWhenAttr::ConsumedState> >::Default(llvm::Optional<clang::CallableWhenAttr::ConsumedState>)
Line
Count
Source
203
19
  R Default(T Value) {
204
19
    if (Result)
205
18
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::ParamTypestateAttr::ConsumedState>, llvm::Optional<clang::ParamTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ParamTypestateAttr::ConsumedState>)
Line
Count
Source
203
7
  R Default(T Value) {
204
7
    if (Result)
205
7
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>, llvm::Optional<clang::ReturnTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::ReturnTypestateAttr::ConsumedState>)
Line
Count
Source
203
11
  R Default(T Value) {
204
11
    if (Result)
205
10
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<llvm::Optional<clang::SetTypestateAttr::ConsumedState>, llvm::Optional<clang::SetTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::SetTypestateAttr::ConsumedState>)
Line
Count
Source
203
9
  R Default(T Value) {
204
9
    if (Result)
205
9
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::Optional<clang::TestTypestateAttr::ConsumedState>, llvm::Optional<clang::TestTypestateAttr::ConsumedState> >::Default(llvm::Optional<clang::TestTypestateAttr::ConsumedState>)
Line
Count
Source
203
5
  R Default(T Value) {
204
5
    if (Result)
205
5
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::LoopHintAttr::OptionType, clang::LoopHintAttr::OptionType>::Default(clang::LoopHintAttr::OptionType)
Line
Count
Source
203
156
  R Default(T Value) {
204
156
    if (Result)
205
156
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*), clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*)>::Default(clang::Stmt* (*)(clang::ASTContext&, clang::FunctionDecl const*))
Line
Count
Source
203
11.4k
  R Default(T Value) {
204
11.4k
    if (Result)
205
14
      return std::move(*Result);
206
11.3k
    return Value;
207
11.3k
  }
llvm::StringSwitch<clang::comments::InlineCommandComment::RenderKind, clang::comments::InlineCommandComment::RenderKind>::Default(clang::comments::InlineCommandComment::RenderKind)
Line
Count
Source
203
28
  R Default(T Value) {
204
28
    if (Result)
205
28
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<unsigned long, unsigned long>::Default(unsigned long)
Line
Count
Source
203
608k
  R Default(T Value) {
204
608k
    if (Result)
205
26
      return std::move(*Result);
206
608k
    return Value;
207
608k
  }
Lexer.cpp:llvm::StringSwitch<(anonymous namespace)::PreambleDirectiveKind, (anonymous namespace)::PreambleDirectiveKind>::Default((anonymous namespace)::PreambleDirectiveKind)
Line
Count
Source
203
894
  R Default(T Value) {
204
894
    if (Result)
205
894
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::MMToken::TokenKind, clang::MMToken::TokenKind>::Default(clang::MMToken::TokenKind)
Line
Count
Source
203
398k
  R Default(T Value) {
204
398k
    if (Result)
205
269k
      return std::move(*Result);
206
128k
    return Value;
207
128k
  }
ModuleMap.cpp:llvm::StringSwitch<clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute, clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute>::Default(clang::ModuleMapParser::parseHeaderDecl(clang::MMToken::TokenKind, clang::SourceLocation)::Attribute)
Line
Count
Source
203
78
  R Default(T Value) {
204
78
    if (Result)
205
77
      return std::move(*Result);
206
1
    return Value;
207
1
  }
ModuleMap.cpp:llvm::StringSwitch<(anonymous namespace)::AttributeKind, (anonymous namespace)::AttributeKind>::Default((anonymous namespace)::AttributeKind)
Line
Count
Source
203
2.61k
  R Default(T Value) {
204
2.61k
    if (Result)
205
2.61k
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<clang::diag::Severity, clang::diag::Severity>::Default(clang::diag::Severity)
Line
Count
Source
203
343
  R Default(T Value) {
204
343
    if (Result)
205
340
      return std::move(*Result);
206
3
    return Value;
207
3
  }
llvm::StringSwitch<llvm::MIToken::TokenKind, llvm::MIToken::TokenKind>::Default(llvm::MIToken::TokenKind)
Line
Count
Source
203
161k
  R Default(T Value) {
204
161k
    if (Result)
205
55.9k
      return std::move(*Result);
206
105k
    return Value;
207
105k
  }
llvm::StringSwitch<llvm::CmpInst::Predicate, llvm::CmpInst::Predicate>::Default(llvm::CmpInst::Predicate)
Line
Count
Source
203
244
  R Default(T Value) {
204
244
    if (Result)
205
244
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::AtomicOrdering, llvm::AtomicOrdering>::Default(llvm::AtomicOrdering)
Line
Count
Source
203
135
  R Default(T Value) {
204
135
    if (Result)
205
134
      return std::move(*Result);
206
1
    return Value;
207
1
  }
llvm::StringSwitch<Flavor, Flavor>::Default(Flavor)
Line
Count
Source
203
3.54k
  R Default(T Value) {
204
3.54k
    if (Result)
205
3.11k
      return std::move(*Result);
206
431
    return Value;
207
431
  }
llvm::StringSwitch<llvm::COFF::MachineTypes, llvm::COFF::MachineTypes>::Default(llvm::COFF::MachineTypes)
Line
Count
Source
203
30
  R Default(T Value) {
204
30
    if (Result)
205
30
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<llvm::COFF::WindowsSubsystem, llvm::COFF::WindowsSubsystem>::Default(llvm::COFF::WindowsSubsystem)
Line
Count
Source
203
133
  R Default(T Value) {
204
133
    if (Result)
205
133
      return std::move(*Result);
206
0
    return Value;
207
0
  }
llvm::StringSwitch<std::__1::pair<lld::elf::ELFKind, unsigned short>, std::__1::pair<lld::elf::ELFKind, unsigned short> >::Default(std::__1::pair<lld::elf::ELFKind, unsigned short>)
Line
Count
Source
203
33
  R Default(T Value) {
204
33
    if (Result)
205
31
      return std::move(*Result);
206
2
    return Value;
207
2
  }
llvm::StringSwitch<lld::elf::LLDDWARFSection*, lld::elf::LLDDWARFSection*>::Default(lld::elf::LLDDWARFSection*)
Line
Count
Source
203
375
  R Default(T Value) {
204
375
    if (Result)
205
55
      return std::move(*Result);
206
320
    return Value;
207
320
  }
llvm::StringSwitch<llvm::StringRef*, llvm::StringRef*>::Default(llvm::StringRef*)
Line
Count
Source
203
10.2k
  R Default(T Value) {
204
10.2k
    if (Result)
205
4.19k
      return std::move(*Result);
206
6.08k
    return Value;
207
6.08k
  }
DWARFContext.cpp:llvm::StringSwitch<(anonymous namespace)::DWARFSectionMap*, (anonymous namespace)::DWARFSectionMap*>::Default((anonymous namespace)::DWARFSectionMap*)
Line
Count
Source
203
17.2k
  R Default(T Value) {
204
17.2k
    if (Result)
205
6.24k
      return std::move(*Result);
206
11.0k
    return Value;
207
11.0k
  }
llvm::StringSwitch<llvm::object::Kind, llvm::object::Kind>::Default(llvm::object::Kind)
Line
Count
Source
203
146
  R Default(T Value) {
204
146
    if (Result)
205
51
      return std::move(*Result);
206
95
    return Value;
207
95
  }
llvm::StringSwitch<int (*)(int, char const**), int (*)(int, char const**)>::Default(int (*)(int, char const**))
Line
Count
Source
203
149
  R Default(T Value) {
204
149
    if (Result)
205
149
      return std::move(*Result);
206
0
    return Value;
207
0
  }
208
209
  LLVM_NODISCARD
210
  LLVM_ATTRIBUTE_ALWAYS_INLINE
211
21.7k
  operator R() {
212
21.7k
    assert(Result && "Fell off the end of a string-switch");
213
21.7k
    return std::move(*Result);
214
21.7k
  }
llvm::StringSwitch<llvm::StringRef, llvm::StringRef>::operator llvm::StringRef()
Line
Count
Source
211
107
  operator R() {
212
107
    assert(Result && "Fell off the end of a string-switch");
213
107
    return std::move(*Result);
214
107
  }
llvm::StringSwitch<char const*, char const*>::operator char const*()
Line
Count
Source
211
8
  operator R() {
212
8
    assert(Result && "Fell off the end of a string-switch");
213
8
    return std::move(*Result);
214
8
  }
llvm::StringSwitch<llvm::X86::ProcessorFeatures, llvm::X86::ProcessorFeatures>::operator llvm::X86::ProcessorFeatures()
Line
Count
Source
211
29
  operator R() {
212
29
    assert(Result && "Fell off the end of a string-switch");
213
29
    return std::move(*Result);
214
29
  }
llvm::StringSwitch<llvm::ThreadModel::Model, llvm::ThreadModel::Model>::operator llvm::ThreadModel::Model()
Line
Count
Source
211
20.5k
  operator R() {
212
20.5k
    assert(Result && "Fell off the end of a string-switch");
213
20.5k
    return std::move(*Result);
214
20.5k
  }
llvm::StringSwitch<unsigned int, unsigned int>::operator unsigned int()
Line
Count
Source
211
318
  operator R() {
212
318
    assert(Result && "Fell off the end of a string-switch");
213
318
    return std::move(*Result);
214
318
  }
llvm::StringSwitch<llvm::GlobalValue::ThreadLocalMode, llvm::GlobalValue::ThreadLocalMode>::operator llvm::GlobalValue::ThreadLocalMode()
Line
Count
Source
211
15
  operator R() {
212
15
    assert(Result && "Fell off the end of a string-switch");
213
15
    return std::move(*Result);
214
15
  }
llvm::StringSwitch<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >()
Line
Count
Source
211
202
  operator R() {
212
202
    assert(Result && "Fell off the end of a string-switch");
213
202
    return std::move(*Result);
214
202
  }
llvm::StringSwitch<bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation), bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)>::operator bool (clang::Parser::*)(llvm::StringRef, clang::SourceLocation)()
Line
Count
Source
211
120
  operator R() {
212
120
    assert(Result && "Fell off the end of a string-switch");
213
120
    return std::move(*Result);
214
120
  }
llvm::StringSwitch<clang::Sema::PragmaStack<clang::StringLiteral*>*, clang::Sema::PragmaStack<clang::StringLiteral*>*>::operator clang::Sema::PragmaStack<clang::StringLiteral*>*()
Line
Count
Source
211
35
  operator R() {
212
35
    assert(Result && "Fell off the end of a string-switch");
213
35
    return std::move(*Result);
214
35
  }
llvm::StringSwitch<unsigned char, unsigned char>::operator unsigned char()
Line
Count
Source
211
238
  operator R() {
212
238
    assert(Result && "Fell off the end of a string-switch");
213
238
    return std::move(*Result);
214
238
  }
llvm::StringSwitch<clang::AttributedType::Kind, clang::AttributedType::Kind>::operator clang::AttributedType::Kind()
Line
Count
Source
211
80
  operator R() {
212
80
    assert(Result && "Fell off the end of a string-switch");
213
80
    return std::move(*Result);
214
80
  }
llvm::StringSwitch<llvm::PassBuilder::OptimizationLevel, llvm::PassBuilder::OptimizationLevel>::operator llvm::PassBuilder::OptimizationLevel()
Line
Count
Source
211
44
  operator R() {
212
44
    assert(Result && "Fell off the end of a string-switch");
213
44
    return std::move(*Result);
214
44
  }
215
};
216
217
} // end namespace llvm
218
219
#endif // LLVM_ADT_STRINGSWITCH_H