OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SwitchStmt
(Results
1 - 25
of
45
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
VarBypassDetector.cpp
70
if (const Stmt *Init = cast<
SwitchStmt
>(S)->getInit()) {
75
if (const VarDecl *Var = cast<
SwitchStmt
>(S)->getConditionVariable()) {
143
} else if (const
SwitchStmt
*SS = dyn_cast<
SwitchStmt
>(St)) {
CodeGenPGO.cpp
98
SwitchStmt
,
288
return PGOHash::
SwitchStmt
;
619
void VisitSwitchStmt(const
SwitchStmt
*S) {
CGStmt.cpp
154
case Stmt::SwitchStmtClass: EmitSwitchStmt(cast<
SwitchStmt
>(*S)); break;
1688
static bool FindCaseStatementsForValue(const
SwitchStmt
&S,
1797
void CodeGenFunction::EmitSwitchStmt(const
SwitchStmt
&S) {
CodeGenFunction.cpp
1420
if (isa<
SwitchStmt
>(S))
1440
if (isa<
SwitchStmt
>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) ||
1462
if (isa<IfStmt>(S) || isa<
SwitchStmt
>(S) || isa<WhileStmt>(S) ||
/src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
SourceExtraction.cpp
43
if(const auto *Switch = dyn_cast<
SwitchStmt
>(S))
/src/external/apache2/llvm/dist/clang/lib/AST/
Stmt.cpp
1038
SwitchStmt
::
SwitchStmt
(const ASTContext &Ctx, Stmt *Init, VarDecl *Var,
1059
SwitchStmt
::
SwitchStmt
(EmptyShell Empty, bool HasInit, bool HasVar)
1066
SwitchStmt
*
SwitchStmt
::Create(const ASTContext &Ctx, Stmt *Init, VarDecl *Var,
1073
alignof(
SwitchStmt
));
1074
return new (Mem)
SwitchStmt
(Ctx, Init, Var, Cond, LParenLoc, RParenLoc);
1077
SwitchStmt
*
SwitchStmt
::CreateEmpty(const ASTContext &Ctx, bool HasInit
[
all
...]
ParentMap.cpp
207
return DirectChild == cast<
SwitchStmt
>(P)->getCond();
JSONNodeDumper.cpp
1443
void JSONNodeDumper::VisitSwitchStmt(const
SwitchStmt
*SS) {
/src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransProtectedScope.cpp
63
bool VisitSwitchStmt(
SwitchStmt
*S) {
/src/external/apache2/llvm/dist/clang/lib/Analysis/
ProgramPoint.cpp
151
if (isa<
SwitchStmt
>(T)) {
152
Out << "
SwitchStmt
\", \"case\": ";
ReachableCode.cpp
297
if (isa<
SwitchStmt
>(Term))
CFG.cpp
605
CFGBlock *VisitSwitchStmt(
SwitchStmt
*S);
2325
return VisitSwitchStmt(cast<
SwitchStmt
>(S));
4044
CFGBlock *CFGBuilder::VisitSwitchStmt(
SwitchStmt
*Terminator) {
4135
// If the
SwitchStmt
contains a condition variable, add both the
4136
//
SwitchStmt
and the condition variable initialization to the CFG.
4146
// Finally, if the
SwitchStmt
contains a C++17 init-stmt, add it to the CFG.
5099
if (const
SwitchStmt
*S =
5100
dyn_cast_or_null<
SwitchStmt
>(From->getTerminatorStmt())) {
5167
cast<
SwitchStmt
>(stmt)->getConditionVariable();
5278
void VisitSwitchStmt(
SwitchStmt
*Terminator)
[
all
...]
CalledOnceCheck.cpp
528
llvm::Optional<Clarification> VisitSwitchStmt(const
SwitchStmt
*Switch) {
UninitializedValues.cpp
651
if (isa<
SwitchStmt
>(Term)) {
/src/external/apache2/llvm/dist/clang/lib/Sema/
JumpDiagnostics.cpp
349
if (Stmt *Init = cast<
SwitchStmt
>(S)->getInit()) {
353
if (VarDecl *Var = cast<
SwitchStmt
>(S)->getConditionVariable()) {
674
SwitchStmt
*SS = cast<
SwitchStmt
>(Jump);
AnalysisBasedWarnings.cpp
1106
if (Term && isa<
SwitchStmt
>(Term))
1175
bool VisitSwitchStmt(
SwitchStmt
*S) {
SemaStmt.cpp
1078
auto *SS =
SwitchStmt
::Create(Context, InitStmt, Cond.get().first, CondExpr,
1179
SwitchStmt
*SS = cast<
SwitchStmt
>(Switch);
1973
void VisitSwitchStmt(const
SwitchStmt
* S) {
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
ScopeInfo.h
59
class
SwitchStmt
;
189
/// A
SwitchStmt
, along with a flag indicating if its list of case statements
191
using SwitchInfo = llvm::PointerIntPair<
SwitchStmt
*, 1, bool>;
/src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CoreEngine.h
560
const
SwitchStmt
*getSwitch() const {
561
return cast<
SwitchStmt
>(Src->getTerminator());
/src/external/apache2/llvm/dist/clang/include/clang/AST/
JSONNodeDumper.h
310
void VisitSwitchStmt(const
SwitchStmt
*SS);
TextNodeDumper.h
241
void VisitSwitchStmt(const
SwitchStmt
*Node);
Stmt.h
180
friend class
SwitchStmt
;
184
/// True if the
SwitchStmt
has storage for an init statement.
187
/// True if the
SwitchStmt
has storage for a condition variable.
190
/// If the
SwitchStmt
is a switch on an enum value, records whether all
1530
/// used by
SwitchStmt
.
2120
///
SwitchStmt
- This represents a 'switch' stmt.
2121
class
SwitchStmt
final : public Stmt,
2122
private llvm::TrailingObjects<
SwitchStmt
, Stmt *> {
2128
//
SwitchStmt
is followed by several trailing objects,
2162
SwitchStmt
(const ASTContext &Ctx, Stmt *Init, VarDecl *Var, Expr *Cond
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
CoreEngine.cpp
389
SwitchNodeBuilder builder(Pred, B, cast<
SwitchStmt
>(Term)->getCond(),
/src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchers.h
2237
///
switchStmt
()
2239
extern const internal::VariadicDynCastAllOfMatcher<Stmt,
SwitchStmt
>
switchStmt
;
5118
///
switchStmt
(hasInitStatement(anything()))
5123
AST_POLYMORPHIC_SUPPORTED_TYPES(IfStmt,
SwitchStmt
,
5140
SwitchStmt
, AbstractConditionalOperator),
7156
///
switchStmt
(forEachSwitchCase(caseStmt().bind("c"))).bind("s")
7160
AST_MATCHER_P(
SwitchStmt
, forEachSwitchCase, internal::Matcher<SwitchCase>,
/src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp
892
const internal::VariadicDynCastAllOfMatcher<Stmt,
SwitchStmt
>
switchStmt
;
Completed in 116 milliseconds
1
2
Indexes created Tue Jun 09 00:24:00 UTC 2026