OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringSwitch
(Results
1 - 25
of
66
) sorted by null
1
2
3
/frameworks/compile/mclinker/lib/Target/Hexagon/
HexagonGNUInfo.cpp
12
#include <llvm/ADT/
StringSwitch
.h>
26
return llvm::
StringSwitch
<uint64_t>(m_Options.getTargetCPU())
/external/llvm/include/llvm/ADT/
StringSwitch.h
1
//===---
StringSwitch
.h - Switch-on-literal-string Construct --------------===/
9
// This file implements the
StringSwitch
template, which mimics a switch()
24
/// The
StringSwitch
class is a simple form of a switch() statement that
31
/// Color color =
StringSwitch
<Color>(argv[i])
42
class
StringSwitch
{
51
explicit
StringSwitch
(StringRef S)
55
StringSwitch
& Case(const char (&S)[N], const T& Value) {
65
StringSwitch
& EndsWith(const char (&S)[N], const T &Value) {
75
StringSwitch
& StartsWith(const char (&S)[N], const T &Value) {
85
StringSwitch
& Cases(const char (&S0)[N0], const char (&S1)[N1]
[
all
...]
/external/clang/test/SemaTemplate/
instantiate-non-type-template-parameter.cpp
6
class
StringSwitch
{
14
(void)
StringSwitch
<int>();
/external/clang/lib/Frontend/
FrontendOptions.cpp
11
#include "llvm/ADT/
StringSwitch
.h"
15
return llvm::
StringSwitch
<InputKind>(Extension)
LangStandards.cpp
11
#include "llvm/ADT/
StringSwitch
.h"
32
Kind K = llvm::
StringSwitch
<Kind>(Name)
CompilerInvocation.cpp
25
#include "llvm/ADT/
StringSwitch
.h"
137
AnalysisStores Value = llvm::
StringSwitch
<AnalysisStores>(Name)
153
AnalysisConstraints Value = llvm::
StringSwitch
<AnalysisConstraints>(Name)
169
AnalysisDiagClients Value = llvm::
StringSwitch
<AnalysisDiagClients>(Name)
185
AnalysisPurgeMode Value = llvm::
StringSwitch
<AnalysisPurgeMode>(Name)
201
AnalysisInliningMode Value = llvm::
StringSwitch
<AnalysisInliningMode>(Name)
454
unsigned Method = llvm::
StringSwitch
<unsigned>(Name)
470
unsigned Model = llvm::
StringSwitch
<unsigned>(Name)
801
DashX = llvm::
StringSwitch
<InputKind>(A->getValue())
[
all
...]
/external/clang/lib/Basic/
OpenMPKinds.cpp
17
#include "llvm/ADT/
StringSwitch
.h"
24
return llvm::
StringSwitch
<OpenMPDirectiveKind>(Str)
46
return llvm::
StringSwitch
<OpenMPClauseKind>(Str)
73
return llvm::
StringSwitch
<OpenMPDefaultClauseKind>(Str)
Targets.cpp
26
#include "llvm/ADT/
StringSwitch
.h"
664
bool CPUKnown = llvm::
StringSwitch
<bool>(Name)
898
ArchDefineTypes defs = (ArchDefineTypes)llvm::
StringSwitch
<int>(CPU)
[
all
...]
/external/clang/lib/StaticAnalyzer/Core/
AnalyzerOptions.cpp
17
#include "llvm/ADT/
StringSwitch
.h"
27
UserMode = llvm::
StringSwitch
<UserModeKind>(ModeStr)
52
IPAKind IPAConfig = llvm::
StringSwitch
<IPAKind>(ModeStr)
82
MutableMode = llvm::
StringSwitch
<CXXInlineableMemberKind>(ModeStr)
106
return llvm::
StringSwitch
<bool>(V)
/external/llvm/lib/Transforms/ObjCARC/
ObjCARCUtil.cpp
88
return
StringSwitch
<InstructionClass>(F->getName())
101
return
StringSwitch
<InstructionClass>(F->getName())
122
return
StringSwitch
<InstructionClass>(F->getName())
139
return
StringSwitch
<InstructionClass>(F->getName())
147
return
StringSwitch
<InstructionClass>(F->getName())
/external/clang/test/Index/
recursive-cxx-member-calls.cpp
83
template < typename T, typename R = T > class
StringSwitch
{
87
explicit
StringSwitch
(StringRef Str) : Str(Str), Result(0) {}
88
template < unsigned N >
StringSwitch
& Case(const char (&S)[N],
105
return llvm::
StringSwitch
< AttributeList::Kind > (AttrName)
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
NoReturnFunctionChecker.cpp
21
#include "llvm/ADT/
StringSwitch
.h"
56
= llvm::
StringSwitch
<bool>(StringRef(II->getName()))
ExprInspectionChecker.cpp
14
#include "llvm/ADT/
StringSwitch
.h"
39
FnCheck Handler = llvm::
StringSwitch
<FnCheck>(C.getCalleeName(CE))
GenericTaintChecker.cpp
207
TaintPropagationRule Rule = llvm::
StringSwitch
<TaintPropagationRule>(Name)
316
FnCheck evalFunction = llvm::
StringSwitch
<FnCheck>(Name)
380
FnCheck evalFunction = llvm::
StringSwitch
<FnCheck>(Name)
677
unsigned ArgNum = llvm::
StringSwitch
<unsigned>(Name)
/external/llvm/lib/Target/ARM/MCTargetDesc/
ARMELFObjectWriter.cpp
13
#include "llvm/ADT/
StringSwitch
.h"
96
StringSwitch
<bool>(Section.getSectionName())
108
StringSwitch
<bool>(Section.getSectionName())
120
StringSwitch
<bool>(Section.getSectionName())
/external/llvm/lib/Support/
Triple.cpp
13
#include "llvm/ADT/
StringSwitch
.h"
162
return
StringSwitch
<Triple::ArchType>(Name)
198
return
StringSwitch
<const char*>(getArchName())
220
return
StringSwitch
<Triple::ArchType>(ArchName)
257
return
StringSwitch
<Triple::VendorType>(VendorName)
270
return
StringSwitch
<Triple::OSType>(OSName)
299
return
StringSwitch
<Triple::EnvironmentType>(EnvironmentName)
Host.cpp
17
#include "llvm/ADT/
StringSwitch
.h"
476
return
StringSwitch
<const char *>(StringRef(CPUStart, CPULen))
533
return
StringSwitch
<const char *>(Lines[I].substr(8).ltrim("\t :"))
585
StringRef LLVMFeatureStr =
StringSwitch
<StringRef>(CPUFeatures[I])
/external/clang/lib/Driver/
Compilation.cpp
17
#include "llvm/ADT/
StringSwitch
.h"
113
bool Res = llvm::
StringSwitch
<bool>(Flag)
132
Res = llvm::
StringSwitch
<bool>(Flag)
149
return llvm::
StringSwitch
<bool>(flag)
ToolChain.cpp
17
#include "llvm/ADT/
StringSwitch
.h"
179
return llvm::
StringSwitch
<const char *>(MArch)
215
return llvm::
StringSwitch
<const char *>(CPU)
SanitizerArgs.h
15
#include "llvm/ADT/
StringSwitch
.h"
110
unsigned ParsedKind = llvm::
StringSwitch
<SanitizeKind>(Value)
Types.cpp
12
#include "llvm/ADT/
StringSwitch
.h"
127
return llvm::
StringSwitch
<types::ID>(Ext)
/external/clang/lib/AST/
CommentLexer.cpp
6
#include "llvm/ADT/
StringSwitch
.h"
51
return llvm::
StringSwitch
<StringRef>(Name)
/external/llvm/lib/TableGen/
TGLexer.cpp
15
#include "llvm/ADT/
StringSwitch
.h"
266
tgtok::TokKind Kind =
StringSwitch
<tgtok::TokKind>(Str)
467
StringSwitch
<tgtok::TokKind>(StringRef(Start, CurPtr - Start))
/external/clang/lib/Lex/
PPLexerChange.cpp
21
#include "llvm/ADT/
StringSwitch
.h"
403
using llvm::
StringSwitch
;
407
if (!
StringSwitch
<bool>(llvm::sys::path::extension(Entry->path()))
/frameworks/compile/mclinker/lib/Support/
CommandLine.cpp
13
#include <llvm/ADT/
StringSwitch
.h>
Completed in 1174 milliseconds
1
2
3