Coverage Report

Created: 2021-01-26 06:56

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/AST/Stmt.cpp
Line
Count
Source (jump to first uncovered line)
1
//===- Stmt.cpp - Statement AST Node Implementation -----------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file implements the Stmt class and statement subclasses.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "clang/AST/Stmt.h"
14
#include "clang/AST/ASTContext.h"
15
#include "clang/AST/ASTDiagnostic.h"
16
#include "clang/AST/Attr.h"
17
#include "clang/AST/Decl.h"
18
#include "clang/AST/DeclGroup.h"
19
#include "clang/AST/Expr.h"
20
#include "clang/AST/ExprCXX.h"
21
#include "clang/AST/ExprConcepts.h"
22
#include "clang/AST/ExprObjC.h"
23
#include "clang/AST/ExprOpenMP.h"
24
#include "clang/AST/StmtCXX.h"
25
#include "clang/AST/StmtObjC.h"
26
#include "clang/AST/StmtOpenMP.h"
27
#include "clang/AST/Type.h"
28
#include "clang/Basic/CharInfo.h"
29
#include "clang/Basic/LLVM.h"
30
#include "clang/Basic/SourceLocation.h"
31
#include "clang/Basic/TargetInfo.h"
32
#include "clang/Lex/Token.h"
33
#include "llvm/ADT/SmallVector.h"
34
#include "llvm/ADT/StringExtras.h"
35
#include "llvm/ADT/StringRef.h"
36
#include "llvm/Support/Casting.h"
37
#include "llvm/Support/Compiler.h"
38
#include "llvm/Support/ErrorHandling.h"
39
#include "llvm/Support/MathExtras.h"
40
#include "llvm/Support/raw_ostream.h"
41
#include <algorithm>
42
#include <cassert>
43
#include <cstring>
44
#include <string>
45
#include <type_traits>
46
#include <utility>
47
48
using namespace clang;
49
50
static struct StmtClassNameTable {
51
  const char *Name;
52
  unsigned Counter;
53
  unsigned Size;
54
} StmtClassInfo[Stmt::lastStmtConstant+1];
55
56
31.0k
static StmtClassNameTable &getStmtInfoTableEntry(Stmt::StmtClass E) {
57
31.0k
  static bool Initialized = false;
58
31.0k
  if (Initialized)
59
30.3k
    return StmtClassInfo[E];
60
61
  // Initialize the table on the first use.
62
662
  Initialized = true;
63
662
#define ABSTRACT_STMT(STMT)
64
662
#define STMT(CLASS, PARENT) \
65
141k
  StmtClassInfo[(unsigned)Stmt::CLASS##Class].Name = #CLASS;    \
66
141k
  StmtClassInfo[(unsigned)Stmt::CLASS##Class].Size = sizeof(CLASS);
67
662
#include "clang/AST/StmtNodes.inc"
68
69
662
  return StmtClassInfo[E];
70
662
}
71
72
void *Stmt::operator new(size_t bytes, const ASTContext& C,
73
21.4M
                         unsigned alignment) {
74
21.4M
  return ::operator new(bytes, C, alignment);
75
21.4M
}
76
77
30.9k
const char *Stmt::getStmtClassName() const {
78
30.9k
  return getStmtInfoTableEntry((StmtClass) StmtBits.sClass).Name;
79
30.9k
}
80
81
// Check that no statement / expression class is polymorphic. LLVM style RTTI
82
// should be used instead. If absolutely needed an exception can still be added
83
// here by defining the appropriate macro (but please don't do this).
84
#define STMT(CLASS, PARENT) \
85
  static_assert(!std::is_polymorphic<CLASS>::value, \
86
                #CLASS " should not be polymorphic!");
87
#include "clang/AST/StmtNodes.inc"
88
89
// Check that no statement / expression class has a non-trival destructor.
90
// Statements and expressions are allocated with the BumpPtrAllocator from
91
// ASTContext and therefore their destructor is not executed.
92
#define STMT(CLASS, PARENT)                                                    \
93
  static_assert(std::is_trivially_destructible<CLASS>::value,                  \
94
                #CLASS " should be trivially destructible!");
95
// FIXME: InitListExpr is not trivially destructible due to its ASTVector.
96
#define INITLISTEXPR(CLASS, PARENT)
97
#include "clang/AST/StmtNodes.inc"
98
99
3
void Stmt::PrintStats() {
100
  // Ensure the table is primed.
101
3
  getStmtInfoTableEntry(Stmt::NullStmtClass);
102
103
3
  unsigned sum = 0;
104
3
  llvm::errs() << "\n*** Stmt/Expr Stats:\n";
105
645
  for (int i = 0; i != Stmt::lastStmtConstant+1; 
i++642
) {
106
642
    if (StmtClassInfo[i].Name == nullptr) 
continue3
;
107
639
    sum += StmtClassInfo[i].Counter;
108
639
  }
109
3
  llvm::errs() << "  " << sum << " stmts/exprs total.\n";
110
3
  sum = 0;
111
645
  for (int i = 0; i != Stmt::lastStmtConstant+1; 
i++642
) {
112
642
    if (StmtClassInfo[i].Name == nullptr) 
continue3
;
113
639
    if (StmtClassInfo[i].Counter == 0) 
continue626
;
114
13
    llvm::errs() << "    " << StmtClassInfo[i].Counter << " "
115
13
                 << StmtClassInfo[i].Name << ", " << StmtClassInfo[i].Size
116
13
                 << " each (" << StmtClassInfo[i].Counter*StmtClassInfo[i].Size
117
13
                 << " bytes)\n";
118
13
    sum += StmtClassInfo[i].Counter*StmtClassInfo[i].Size;
119
13
  }
120
121
3
  llvm::errs() << "Total bytes = " << sum << "\n";
122
3
}
123
124
13
void Stmt::addStmtClass(StmtClass s) {
125
13
  ++getStmtInfoTableEntry(s).Counter;
126
13
}
127
128
bool Stmt::StatisticsEnabled = false;
129
3
void Stmt::EnableStatistics() {
130
3
  StatisticsEnabled = true;
131
3
}
132
133
static std::pair<Stmt::Likelihood, const Attr *>
134
298
getLikelihood(ArrayRef<const Attr *> Attrs) {
135
133
  for (const auto *A : Attrs) {
136
133
    if (isa<LikelyAttr>(A))
137
48
      return std::make_pair(Stmt::LH_Likely, A);
138
139
85
    if (isa<UnlikelyAttr>(A))
140
83
      return std::make_pair(Stmt::LH_Unlikely, A);
141
85
  }
142
143
167
  return std::make_pair(Stmt::LH_None, nullptr);
144
298
}
145
146
920k
static std::pair<Stmt::Likelihood, const Attr *> getLikelihood(const Stmt *S) {
147
920k
  if (const auto *AS = dyn_cast_or_null<AttributedStmt>(S))
148
112
    return getLikelihood(AS->getAttrs());
149
150
920k
  return std::make_pair(Stmt::LH_None, nullptr);
151
920k
}
152
153
186
Stmt::Likelihood Stmt::getLikelihood(ArrayRef<const Attr *> Attrs) {
154
186
  return ::getLikelihood(Attrs).first;
155
186
}
156
157
209
Stmt::Likelihood Stmt::getLikelihood(const Stmt *S) {
158
209
  return ::getLikelihood(S).first;
159
209
}
160
161
584
const Attr *Stmt::getLikelihoodAttr(const Stmt *S) {
162
584
  return ::getLikelihood(S).second;
163
584
}
164
165
3.53k
Stmt::Likelihood Stmt::getLikelihood(const Stmt *Then, const Stmt *Else) {
166
3.53k
  Likelihood LHT = ::getLikelihood(Then).first;
167
3.53k
  Likelihood LHE = ::getLikelihood(Else).first;
168
3.53k
  if (LHE == LH_None)
169
3.53k
    return LHT;
170
171
  // If the same attribute is used on both branches there's a conflict.
172
0
  if (LHT == LHE)
173
0
    return LH_None;
174
175
0
  if (LHT != LH_None)
176
0
    return LHT;
177
178
  // Invert the value of Else to get the value for Then.
179
0
  return LHE == LH_Likely ? LH_Unlikely : LH_Likely;
180
0
}
181
182
std::tuple<bool, const Attr *, const Attr *>
183
456k
Stmt::determineLikelihoodConflict(const Stmt *Then, const Stmt *Else) {
184
456k
  std::pair<Likelihood, const Attr *> LHT = ::getLikelihood(Then);
185
456k
  std::pair<Likelihood, const Attr *> LHE = ::getLikelihood(Else);
186
  // If the same attribute is used on both branches there's a conflict.
187
456k
  if (LHT.first != LH_None && 
LHT.first == LHE.first47
)
188
2
    return std::make_tuple(true, LHT.second, LHE.second);
189
190
456k
  return std::make_tuple(false, nullptr, nullptr);
191
456k
}
192
193
/// Skip no-op (attributed, compound) container stmts and skip captured
194
/// stmt at the top, if \a IgnoreCaptured is true.
195
441k
Stmt *Stmt::IgnoreContainers(bool IgnoreCaptured) {
196
441k
  Stmt *S = this;
197
441k
  if (IgnoreCaptured)
198
195k
    if (auto CapS = dyn_cast_or_null<CapturedStmt>(S))
199
182k
      S = CapS->getCapturedStmt();
200
462k
  while (true) {
201
462k
    if (auto AS = dyn_cast_or_null<AttributedStmt>(S))
202
3
      S = AS->getSubStmt();
203
462k
    else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) {
204
46.5k
      if (CS->size() != 1)
205
25.0k
        break;
206
21.4k
      S = CS->body_back();
207
21.4k
    } else
208
416k
      break;
209
462k
  }
210
441k
  return S;
211
441k
}
212
213
/// Strip off all label-like statements.
214
///
215
/// This will strip off label statements, case statements, attributed
216
/// statements and default statements recursively.
217
601k
const Stmt *Stmt::stripLabelLikeStatements() const {
218
601k
  const Stmt *S = this;
219
605k
  while (true) {
220
605k
    if (const auto *LS = dyn_cast<LabelStmt>(S))
221
554
      S = LS->getSubStmt();
222
604k
    else if (const auto *SC = dyn_cast<SwitchCase>(S))
223
2.51k
      S = SC->getSubStmt();
224
602k
    else if (const auto *AS = dyn_cast<AttributedStmt>(S))
225
75
      S = AS->getSubStmt();
226
601k
    else
227
601k
      return S;
228
605k
  }
229
601k
}
230
231
namespace {
232
233
  struct good {};
234
  struct bad {};
235
236
  // These silly little functions have to be static inline to suppress
237
  // unused warnings, and they have to be defined to suppress other
238
  // warnings.
239
0
  static good is_good(good) { return good(); }
240
241
  typedef Stmt::child_range children_t();
242
0
  template <class T> good implements_children(children_t T::*) {
243
0
    return good();
244
0
  }
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::AsmStmt>(llvm::iterator_range<clang::StmtIterator> (clang::AsmStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MSAsmStmt>(llvm::iterator_range<clang::StmtIterator> (clang::MSAsmStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::BreakStmt>(llvm::iterator_range<clang::StmtIterator> (clang::BreakStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXCatchStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CXXCatchStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXForRangeStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CXXForRangeStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXTryStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CXXTryStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CapturedStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CapturedStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CompoundStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CompoundStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ContinueStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ContinueStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CoreturnStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CoreturnStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CoroutineBodyStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CoroutineBodyStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DeclStmt>(llvm::iterator_range<clang::StmtIterator> (clang::DeclStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DoStmt>(llvm::iterator_range<clang::StmtIterator> (clang::DoStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ForStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ForStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::GotoStmt>(llvm::iterator_range<clang::StmtIterator> (clang::GotoStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::IfStmt>(llvm::iterator_range<clang::StmtIterator> (clang::IfStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::IndirectGotoStmt>(llvm::iterator_range<clang::StmtIterator> (clang::IndirectGotoStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MSDependentExistsStmt>(llvm::iterator_range<clang::StmtIterator> (clang::MSDependentExistsStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::NullStmt>(llvm::iterator_range<clang::StmtIterator> (clang::NullStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OMPExecutableDirective>(llvm::iterator_range<clang::StmtIterator> (clang::OMPExecutableDirective::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAtCatchStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAtCatchStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAtFinallyStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAtFinallyStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAtSynchronizedStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAtSynchronizedStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAtThrowStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAtThrowStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAtTryStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAtTryStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAutoreleasePoolStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAutoreleasePoolStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCForCollectionStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCForCollectionStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ReturnStmt>(llvm::iterator_range<clang::StmtIterator> (clang::ReturnStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SEHExceptStmt>(llvm::iterator_range<clang::StmtIterator> (clang::SEHExceptStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SEHFinallyStmt>(llvm::iterator_range<clang::StmtIterator> (clang::SEHFinallyStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SEHLeaveStmt>(llvm::iterator_range<clang::StmtIterator> (clang::SEHLeaveStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SEHTryStmt>(llvm::iterator_range<clang::StmtIterator> (clang::SEHTryStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CaseStmt>(llvm::iterator_range<clang::StmtIterator> (clang::CaseStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DefaultStmt>(llvm::iterator_range<clang::StmtIterator> (clang::DefaultStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SwitchStmt>(llvm::iterator_range<clang::StmtIterator> (clang::SwitchStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::AttributedStmt>(llvm::iterator_range<clang::StmtIterator> (clang::AttributedStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::BinaryConditionalOperator>(llvm::iterator_range<clang::StmtIterator> (clang::BinaryConditionalOperator::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ConditionalOperator>(llvm::iterator_range<clang::StmtIterator> (clang::ConditionalOperator::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::AddrLabelExpr>(llvm::iterator_range<clang::StmtIterator> (clang::AddrLabelExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ArrayInitIndexExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ArrayInitIndexExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ArrayInitLoopExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ArrayInitLoopExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ArraySubscriptExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ArraySubscriptExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ArrayTypeTraitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ArrayTypeTraitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::AsTypeExpr>(llvm::iterator_range<clang::StmtIterator> (clang::AsTypeExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::AtomicExpr>(llvm::iterator_range<clang::StmtIterator> (clang::AtomicExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::BinaryOperator>(llvm::iterator_range<clang::StmtIterator> (clang::BinaryOperator::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::BlockExpr>(llvm::iterator_range<clang::StmtIterator> (clang::BlockExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXBindTemporaryExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXBindTemporaryExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXBoolLiteralExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXBoolLiteralExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXConstructExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXConstructExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXDefaultArgExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXDefaultArgExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXDefaultInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXDefaultInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXDeleteExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXDeleteExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXDependentScopeMemberExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXDependentScopeMemberExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXFoldExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXFoldExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXInheritedCtorInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXInheritedCtorInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXNewExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXNewExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXNoexceptExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXNoexceptExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXNullPtrLiteralExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXNullPtrLiteralExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXPseudoDestructorExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXPseudoDestructorExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXRewrittenBinaryOperator>(llvm::iterator_range<clang::StmtIterator> (clang::CXXRewrittenBinaryOperator::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXScalarValueInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXScalarValueInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXStdInitializerListExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXStdInitializerListExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXThisExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXThisExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXThrowExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXThrowExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXTypeidExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXTypeidExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXUnresolvedConstructExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXUnresolvedConstructExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CXXUuidofExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CXXUuidofExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CallExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CallExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CastExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CastExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CharacterLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::CharacterLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ChooseExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ChooseExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CompoundLiteralExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CompoundLiteralExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ConceptSpecializationExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ConceptSpecializationExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ConvertVectorExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ConvertVectorExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::CoroutineSuspendExpr>(llvm::iterator_range<clang::StmtIterator> (clang::CoroutineSuspendExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DeclRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::DeclRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DependentCoawaitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::DependentCoawaitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DependentScopeDeclRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::DependentScopeDeclRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DesignatedInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::DesignatedInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::DesignatedInitUpdateExpr>(llvm::iterator_range<clang::StmtIterator> (clang::DesignatedInitUpdateExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ExpressionTraitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ExpressionTraitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ExtVectorElementExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ExtVectorElementExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::FixedPointLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::FixedPointLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::FloatingLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::FloatingLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ConstantExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ConstantExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ExprWithCleanups>(llvm::iterator_range<clang::StmtIterator> (clang::ExprWithCleanups::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::FunctionParmPackExpr>(llvm::iterator_range<clang::StmtIterator> (clang::FunctionParmPackExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::GNUNullExpr>(llvm::iterator_range<clang::StmtIterator> (clang::GNUNullExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::GenericSelectionExpr>(llvm::iterator_range<clang::StmtIterator> (clang::GenericSelectionExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ImaginaryLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::ImaginaryLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ImplicitValueInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ImplicitValueInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::InitListExpr>(llvm::iterator_range<clang::StmtIterator> (clang::InitListExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::IntegerLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::IntegerLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::LambdaExpr>(llvm::iterator_range<clang::StmtIterator> (clang::LambdaExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MSPropertyRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::MSPropertyRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MSPropertySubscriptExpr>(llvm::iterator_range<clang::StmtIterator> (clang::MSPropertySubscriptExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MaterializeTemporaryExpr>(llvm::iterator_range<clang::StmtIterator> (clang::MaterializeTemporaryExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MatrixSubscriptExpr>(llvm::iterator_range<clang::StmtIterator> (clang::MatrixSubscriptExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::MemberExpr>(llvm::iterator_range<clang::StmtIterator> (clang::MemberExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::NoInitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::NoInitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OMPArraySectionExpr>(llvm::iterator_range<clang::StmtIterator> (clang::OMPArraySectionExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OMPArrayShapingExpr>(llvm::iterator_range<clang::StmtIterator> (clang::OMPArrayShapingExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OMPIteratorExpr>(llvm::iterator_range<clang::StmtIterator> (clang::OMPIteratorExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCArrayLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCArrayLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCAvailabilityCheckExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCAvailabilityCheckExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCBoolLiteralExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCBoolLiteralExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCBoxedExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCBoxedExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCDictionaryLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCDictionaryLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCEncodeExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCEncodeExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCIndirectCopyRestoreExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCIndirectCopyRestoreExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCIsaExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCIsaExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCIvarRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCIvarRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCMessageExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCMessageExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCPropertyRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCPropertyRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCProtocolExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCProtocolExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCSelectorExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCSelectorExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCStringLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCStringLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ObjCSubscriptRefExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ObjCSubscriptRefExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OffsetOfExpr>(llvm::iterator_range<clang::StmtIterator> (clang::OffsetOfExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::OpaqueValueExpr>(llvm::iterator_range<clang::StmtIterator> (clang::OpaqueValueExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::UnresolvedLookupExpr>(llvm::iterator_range<clang::StmtIterator> (clang::UnresolvedLookupExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::UnresolvedMemberExpr>(llvm::iterator_range<clang::StmtIterator> (clang::UnresolvedMemberExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::PackExpansionExpr>(llvm::iterator_range<clang::StmtIterator> (clang::PackExpansionExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ParenExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ParenExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ParenListExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ParenListExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::PredefinedExpr>(llvm::iterator_range<clang::StmtIterator> (clang::PredefinedExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::PseudoObjectExpr>(llvm::iterator_range<clang::StmtIterator> (clang::PseudoObjectExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::RecoveryExpr>(llvm::iterator_range<clang::StmtIterator> (clang::RecoveryExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::RequiresExpr>(llvm::iterator_range<clang::StmtIterator> (clang::RequiresExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::ShuffleVectorExpr>(llvm::iterator_range<clang::StmtIterator> (clang::ShuffleVectorExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SizeOfPackExpr>(llvm::iterator_range<clang::StmtIterator> (clang::SizeOfPackExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SourceLocExpr>(llvm::iterator_range<clang::StmtIterator> (clang::SourceLocExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::StmtExpr>(llvm::iterator_range<clang::StmtIterator> (clang::StmtExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::StringLiteral>(llvm::iterator_range<clang::StmtIterator> (clang::StringLiteral::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SubstNonTypeTemplateParmExpr>(llvm::iterator_range<clang::StmtIterator> (clang::SubstNonTypeTemplateParmExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::SubstNonTypeTemplateParmPackExpr>(llvm::iterator_range<clang::StmtIterator> (clang::SubstNonTypeTemplateParmPackExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::TypeTraitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::TypeTraitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::TypoExpr>(llvm::iterator_range<clang::StmtIterator> (clang::TypoExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::UnaryExprOrTypeTraitExpr>(llvm::iterator_range<clang::StmtIterator> (clang::UnaryExprOrTypeTraitExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::UnaryOperator>(llvm::iterator_range<clang::StmtIterator> (clang::UnaryOperator::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::VAArgExpr>(llvm::iterator_range<clang::StmtIterator> (clang::VAArgExpr::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::LabelStmt>(llvm::iterator_range<clang::StmtIterator> (clang::LabelStmt::*)())
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_children<clang::WhileStmt>(llvm::iterator_range<clang::StmtIterator> (clang::WhileStmt::*)())
245
  LLVM_ATTRIBUTE_UNUSED
246
0
  static bad implements_children(children_t Stmt::*) {
247
0
    return bad();
248
0
  }
249
250
  typedef SourceLocation getBeginLoc_t() const;
251
0
  template <class T> good implements_getBeginLoc(getBeginLoc_t T::*) {
252
0
    return good();
253
0
  }
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::GCCAsmStmt>(clang::SourceLocation (clang::GCCAsmStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MSAsmStmt>(clang::SourceLocation (clang::MSAsmStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::BreakStmt>(clang::SourceLocation (clang::BreakStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXCatchStmt>(clang::SourceLocation (clang::CXXCatchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXForRangeStmt>(clang::SourceLocation (clang::CXXForRangeStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXTryStmt>(clang::SourceLocation (clang::CXXTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CapturedStmt>(clang::SourceLocation (clang::CapturedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CompoundStmt>(clang::SourceLocation (clang::CompoundStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ContinueStmt>(clang::SourceLocation (clang::ContinueStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CoreturnStmt>(clang::SourceLocation (clang::CoreturnStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CoroutineBodyStmt>(clang::SourceLocation (clang::CoroutineBodyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DeclStmt>(clang::SourceLocation (clang::DeclStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DoStmt>(clang::SourceLocation (clang::DoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ForStmt>(clang::SourceLocation (clang::ForStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::GotoStmt>(clang::SourceLocation (clang::GotoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::IfStmt>(clang::SourceLocation (clang::IfStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::IndirectGotoStmt>(clang::SourceLocation (clang::IndirectGotoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MSDependentExistsStmt>(clang::SourceLocation (clang::MSDependentExistsStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::NullStmt>(clang::SourceLocation (clang::NullStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OMPExecutableDirective>(clang::SourceLocation (clang::OMPExecutableDirective::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAtCatchStmt>(clang::SourceLocation (clang::ObjCAtCatchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAtFinallyStmt>(clang::SourceLocation (clang::ObjCAtFinallyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAtSynchronizedStmt>(clang::SourceLocation (clang::ObjCAtSynchronizedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAtThrowStmt>(clang::SourceLocation (clang::ObjCAtThrowStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAtTryStmt>(clang::SourceLocation (clang::ObjCAtTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAutoreleasePoolStmt>(clang::SourceLocation (clang::ObjCAutoreleasePoolStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCForCollectionStmt>(clang::SourceLocation (clang::ObjCForCollectionStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ReturnStmt>(clang::SourceLocation (clang::ReturnStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SEHExceptStmt>(clang::SourceLocation (clang::SEHExceptStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SEHFinallyStmt>(clang::SourceLocation (clang::SEHFinallyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SEHLeaveStmt>(clang::SourceLocation (clang::SEHLeaveStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SEHTryStmt>(clang::SourceLocation (clang::SEHTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CaseStmt>(clang::SourceLocation (clang::CaseStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DefaultStmt>(clang::SourceLocation (clang::DefaultStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SwitchStmt>(clang::SourceLocation (clang::SwitchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::AttributedStmt>(clang::SourceLocation (clang::AttributedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::BinaryConditionalOperator>(clang::SourceLocation (clang::BinaryConditionalOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ConditionalOperator>(clang::SourceLocation (clang::ConditionalOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::AddrLabelExpr>(clang::SourceLocation (clang::AddrLabelExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ArrayInitIndexExpr>(clang::SourceLocation (clang::ArrayInitIndexExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ArrayInitLoopExpr>(clang::SourceLocation (clang::ArrayInitLoopExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ArraySubscriptExpr>(clang::SourceLocation (clang::ArraySubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ArrayTypeTraitExpr>(clang::SourceLocation (clang::ArrayTypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::AsTypeExpr>(clang::SourceLocation (clang::AsTypeExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::AtomicExpr>(clang::SourceLocation (clang::AtomicExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::BinaryOperator>(clang::SourceLocation (clang::BinaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::BlockExpr>(clang::SourceLocation (clang::BlockExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXBindTemporaryExpr>(clang::SourceLocation (clang::CXXBindTemporaryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXBoolLiteralExpr>(clang::SourceLocation (clang::CXXBoolLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXConstructExpr>(clang::SourceLocation (clang::CXXConstructExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXTemporaryObjectExpr>(clang::SourceLocation (clang::CXXTemporaryObjectExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXDefaultArgExpr>(clang::SourceLocation (clang::CXXDefaultArgExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXDefaultInitExpr>(clang::SourceLocation (clang::CXXDefaultInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXDeleteExpr>(clang::SourceLocation (clang::CXXDeleteExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXDependentScopeMemberExpr>(clang::SourceLocation (clang::CXXDependentScopeMemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXFoldExpr>(clang::SourceLocation (clang::CXXFoldExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXInheritedCtorInitExpr>(clang::SourceLocation (clang::CXXInheritedCtorInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXNewExpr>(clang::SourceLocation (clang::CXXNewExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXNoexceptExpr>(clang::SourceLocation (clang::CXXNoexceptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXNullPtrLiteralExpr>(clang::SourceLocation (clang::CXXNullPtrLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXPseudoDestructorExpr>(clang::SourceLocation (clang::CXXPseudoDestructorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXRewrittenBinaryOperator>(clang::SourceLocation (clang::CXXRewrittenBinaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXScalarValueInitExpr>(clang::SourceLocation (clang::CXXScalarValueInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXStdInitializerListExpr>(clang::SourceLocation (clang::CXXStdInitializerListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXThisExpr>(clang::SourceLocation (clang::CXXThisExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXThrowExpr>(clang::SourceLocation (clang::CXXThrowExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXTypeidExpr>(clang::SourceLocation (clang::CXXTypeidExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXUnresolvedConstructExpr>(clang::SourceLocation (clang::CXXUnresolvedConstructExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXUuidofExpr>(clang::SourceLocation (clang::CXXUuidofExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CallExpr>(clang::SourceLocation (clang::CallExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXOperatorCallExpr>(clang::SourceLocation (clang::CXXOperatorCallExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::UserDefinedLiteral>(clang::SourceLocation (clang::UserDefinedLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::BuiltinBitCastExpr>(clang::SourceLocation (clang::BuiltinBitCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CStyleCastExpr>(clang::SourceLocation (clang::CStyleCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXFunctionalCastExpr>(clang::SourceLocation (clang::CXXFunctionalCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CXXNamedCastExpr>(clang::SourceLocation (clang::CXXNamedCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCBridgedCastExpr>(clang::SourceLocation (clang::ObjCBridgedCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ImplicitCastExpr>(clang::SourceLocation (clang::ImplicitCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CharacterLiteral>(clang::SourceLocation (clang::CharacterLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ChooseExpr>(clang::SourceLocation (clang::ChooseExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CompoundLiteralExpr>(clang::SourceLocation (clang::CompoundLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ConceptSpecializationExpr>(clang::SourceLocation (clang::ConceptSpecializationExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ConvertVectorExpr>(clang::SourceLocation (clang::ConvertVectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::CoroutineSuspendExpr>(clang::SourceLocation (clang::CoroutineSuspendExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DeclRefExpr>(clang::SourceLocation (clang::DeclRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DependentCoawaitExpr>(clang::SourceLocation (clang::DependentCoawaitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DependentScopeDeclRefExpr>(clang::SourceLocation (clang::DependentScopeDeclRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DesignatedInitExpr>(clang::SourceLocation (clang::DesignatedInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::DesignatedInitUpdateExpr>(clang::SourceLocation (clang::DesignatedInitUpdateExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ExpressionTraitExpr>(clang::SourceLocation (clang::ExpressionTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ExtVectorElementExpr>(clang::SourceLocation (clang::ExtVectorElementExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::FixedPointLiteral>(clang::SourceLocation (clang::FixedPointLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::FloatingLiteral>(clang::SourceLocation (clang::FloatingLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ConstantExpr>(clang::SourceLocation (clang::ConstantExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ExprWithCleanups>(clang::SourceLocation (clang::ExprWithCleanups::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::FunctionParmPackExpr>(clang::SourceLocation (clang::FunctionParmPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::GNUNullExpr>(clang::SourceLocation (clang::GNUNullExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::GenericSelectionExpr>(clang::SourceLocation (clang::GenericSelectionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ImaginaryLiteral>(clang::SourceLocation (clang::ImaginaryLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ImplicitValueInitExpr>(clang::SourceLocation (clang::ImplicitValueInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::InitListExpr>(clang::SourceLocation (clang::InitListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::IntegerLiteral>(clang::SourceLocation (clang::IntegerLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::LambdaExpr>(clang::SourceLocation (clang::LambdaExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MSPropertyRefExpr>(clang::SourceLocation (clang::MSPropertyRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MSPropertySubscriptExpr>(clang::SourceLocation (clang::MSPropertySubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MaterializeTemporaryExpr>(clang::SourceLocation (clang::MaterializeTemporaryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MatrixSubscriptExpr>(clang::SourceLocation (clang::MatrixSubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::MemberExpr>(clang::SourceLocation (clang::MemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::NoInitExpr>(clang::SourceLocation (clang::NoInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OMPArraySectionExpr>(clang::SourceLocation (clang::OMPArraySectionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OMPArrayShapingExpr>(clang::SourceLocation (clang::OMPArrayShapingExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OMPIteratorExpr>(clang::SourceLocation (clang::OMPIteratorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCArrayLiteral>(clang::SourceLocation (clang::ObjCArrayLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCAvailabilityCheckExpr>(clang::SourceLocation (clang::ObjCAvailabilityCheckExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCBoolLiteralExpr>(clang::SourceLocation (clang::ObjCBoolLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCBoxedExpr>(clang::SourceLocation (clang::ObjCBoxedExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCDictionaryLiteral>(clang::SourceLocation (clang::ObjCDictionaryLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCEncodeExpr>(clang::SourceLocation (clang::ObjCEncodeExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCIndirectCopyRestoreExpr>(clang::SourceLocation (clang::ObjCIndirectCopyRestoreExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCIsaExpr>(clang::SourceLocation (clang::ObjCIsaExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCIvarRefExpr>(clang::SourceLocation (clang::ObjCIvarRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCMessageExpr>(clang::SourceLocation (clang::ObjCMessageExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCPropertyRefExpr>(clang::SourceLocation (clang::ObjCPropertyRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCProtocolExpr>(clang::SourceLocation (clang::ObjCProtocolExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCSelectorExpr>(clang::SourceLocation (clang::ObjCSelectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCStringLiteral>(clang::SourceLocation (clang::ObjCStringLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ObjCSubscriptRefExpr>(clang::SourceLocation (clang::ObjCSubscriptRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OffsetOfExpr>(clang::SourceLocation (clang::OffsetOfExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::OpaqueValueExpr>(clang::SourceLocation (clang::OpaqueValueExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::UnresolvedLookupExpr>(clang::SourceLocation (clang::UnresolvedLookupExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::UnresolvedMemberExpr>(clang::SourceLocation (clang::UnresolvedMemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::PackExpansionExpr>(clang::SourceLocation (clang::PackExpansionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ParenExpr>(clang::SourceLocation (clang::ParenExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ParenListExpr>(clang::SourceLocation (clang::ParenListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::PredefinedExpr>(clang::SourceLocation (clang::PredefinedExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::PseudoObjectExpr>(clang::SourceLocation (clang::PseudoObjectExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::RecoveryExpr>(clang::SourceLocation (clang::RecoveryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::RequiresExpr>(clang::SourceLocation (clang::RequiresExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::ShuffleVectorExpr>(clang::SourceLocation (clang::ShuffleVectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SizeOfPackExpr>(clang::SourceLocation (clang::SizeOfPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SourceLocExpr>(clang::SourceLocation (clang::SourceLocExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::StmtExpr>(clang::SourceLocation (clang::StmtExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::StringLiteral>(clang::SourceLocation (clang::StringLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SubstNonTypeTemplateParmExpr>(clang::SourceLocation (clang::SubstNonTypeTemplateParmExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::SubstNonTypeTemplateParmPackExpr>(clang::SourceLocation (clang::SubstNonTypeTemplateParmPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::TypeTraitExpr>(clang::SourceLocation (clang::TypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::TypoExpr>(clang::SourceLocation (clang::TypoExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::UnaryExprOrTypeTraitExpr>(clang::SourceLocation (clang::UnaryExprOrTypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::UnaryOperator>(clang::SourceLocation (clang::UnaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::VAArgExpr>(clang::SourceLocation (clang::VAArgExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::LabelStmt>(clang::SourceLocation (clang::LabelStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getBeginLoc<clang::WhileStmt>(clang::SourceLocation (clang::WhileStmt::*)() const)
254
  LLVM_ATTRIBUTE_UNUSED
255
0
  static bad implements_getBeginLoc(getBeginLoc_t Stmt::*) { return bad(); }
256
257
  typedef SourceLocation getLocEnd_t() const;
258
0
  template <class T> good implements_getEndLoc(getLocEnd_t T::*) {
259
0
    return good();
260
0
  }
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::GCCAsmStmt>(clang::SourceLocation (clang::GCCAsmStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MSAsmStmt>(clang::SourceLocation (clang::MSAsmStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::BreakStmt>(clang::SourceLocation (clang::BreakStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXCatchStmt>(clang::SourceLocation (clang::CXXCatchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXForRangeStmt>(clang::SourceLocation (clang::CXXForRangeStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXTryStmt>(clang::SourceLocation (clang::CXXTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CapturedStmt>(clang::SourceLocation (clang::CapturedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CompoundStmt>(clang::SourceLocation (clang::CompoundStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ContinueStmt>(clang::SourceLocation (clang::ContinueStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CoreturnStmt>(clang::SourceLocation (clang::CoreturnStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CoroutineBodyStmt>(clang::SourceLocation (clang::CoroutineBodyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DeclStmt>(clang::SourceLocation (clang::DeclStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DoStmt>(clang::SourceLocation (clang::DoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ForStmt>(clang::SourceLocation (clang::ForStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::GotoStmt>(clang::SourceLocation (clang::GotoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::IfStmt>(clang::SourceLocation (clang::IfStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::IndirectGotoStmt>(clang::SourceLocation (clang::IndirectGotoStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MSDependentExistsStmt>(clang::SourceLocation (clang::MSDependentExistsStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::NullStmt>(clang::SourceLocation (clang::NullStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OMPExecutableDirective>(clang::SourceLocation (clang::OMPExecutableDirective::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAtCatchStmt>(clang::SourceLocation (clang::ObjCAtCatchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAtFinallyStmt>(clang::SourceLocation (clang::ObjCAtFinallyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAtSynchronizedStmt>(clang::SourceLocation (clang::ObjCAtSynchronizedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAtThrowStmt>(clang::SourceLocation (clang::ObjCAtThrowStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAtTryStmt>(clang::SourceLocation (clang::ObjCAtTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAutoreleasePoolStmt>(clang::SourceLocation (clang::ObjCAutoreleasePoolStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCForCollectionStmt>(clang::SourceLocation (clang::ObjCForCollectionStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ReturnStmt>(clang::SourceLocation (clang::ReturnStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SEHExceptStmt>(clang::SourceLocation (clang::SEHExceptStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SEHFinallyStmt>(clang::SourceLocation (clang::SEHFinallyStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SEHLeaveStmt>(clang::SourceLocation (clang::SEHLeaveStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SEHTryStmt>(clang::SourceLocation (clang::SEHTryStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CaseStmt>(clang::SourceLocation (clang::CaseStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DefaultStmt>(clang::SourceLocation (clang::DefaultStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SwitchStmt>(clang::SourceLocation (clang::SwitchStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::AttributedStmt>(clang::SourceLocation (clang::AttributedStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::BinaryConditionalOperator>(clang::SourceLocation (clang::BinaryConditionalOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ConditionalOperator>(clang::SourceLocation (clang::ConditionalOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::AddrLabelExpr>(clang::SourceLocation (clang::AddrLabelExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ArrayInitIndexExpr>(clang::SourceLocation (clang::ArrayInitIndexExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ArrayInitLoopExpr>(clang::SourceLocation (clang::ArrayInitLoopExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ArraySubscriptExpr>(clang::SourceLocation (clang::ArraySubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ArrayTypeTraitExpr>(clang::SourceLocation (clang::ArrayTypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::AsTypeExpr>(clang::SourceLocation (clang::AsTypeExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::AtomicExpr>(clang::SourceLocation (clang::AtomicExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::BinaryOperator>(clang::SourceLocation (clang::BinaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::BlockExpr>(clang::SourceLocation (clang::BlockExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXBindTemporaryExpr>(clang::SourceLocation (clang::CXXBindTemporaryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXBoolLiteralExpr>(clang::SourceLocation (clang::CXXBoolLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXConstructExpr>(clang::SourceLocation (clang::CXXConstructExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXTemporaryObjectExpr>(clang::SourceLocation (clang::CXXTemporaryObjectExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXDefaultArgExpr>(clang::SourceLocation (clang::CXXDefaultArgExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXDefaultInitExpr>(clang::SourceLocation (clang::CXXDefaultInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXDeleteExpr>(clang::SourceLocation (clang::CXXDeleteExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXDependentScopeMemberExpr>(clang::SourceLocation (clang::CXXDependentScopeMemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXFoldExpr>(clang::SourceLocation (clang::CXXFoldExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXInheritedCtorInitExpr>(clang::SourceLocation (clang::CXXInheritedCtorInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXNewExpr>(clang::SourceLocation (clang::CXXNewExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXNoexceptExpr>(clang::SourceLocation (clang::CXXNoexceptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXNullPtrLiteralExpr>(clang::SourceLocation (clang::CXXNullPtrLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXPseudoDestructorExpr>(clang::SourceLocation (clang::CXXPseudoDestructorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXRewrittenBinaryOperator>(clang::SourceLocation (clang::CXXRewrittenBinaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXScalarValueInitExpr>(clang::SourceLocation (clang::CXXScalarValueInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXStdInitializerListExpr>(clang::SourceLocation (clang::CXXStdInitializerListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXThisExpr>(clang::SourceLocation (clang::CXXThisExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXThrowExpr>(clang::SourceLocation (clang::CXXThrowExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXTypeidExpr>(clang::SourceLocation (clang::CXXTypeidExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXUnresolvedConstructExpr>(clang::SourceLocation (clang::CXXUnresolvedConstructExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXUuidofExpr>(clang::SourceLocation (clang::CXXUuidofExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CallExpr>(clang::SourceLocation (clang::CallExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXOperatorCallExpr>(clang::SourceLocation (clang::CXXOperatorCallExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::UserDefinedLiteral>(clang::SourceLocation (clang::UserDefinedLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::BuiltinBitCastExpr>(clang::SourceLocation (clang::BuiltinBitCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CStyleCastExpr>(clang::SourceLocation (clang::CStyleCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXFunctionalCastExpr>(clang::SourceLocation (clang::CXXFunctionalCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CXXNamedCastExpr>(clang::SourceLocation (clang::CXXNamedCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCBridgedCastExpr>(clang::SourceLocation (clang::ObjCBridgedCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ImplicitCastExpr>(clang::SourceLocation (clang::ImplicitCastExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CharacterLiteral>(clang::SourceLocation (clang::CharacterLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ChooseExpr>(clang::SourceLocation (clang::ChooseExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CompoundLiteralExpr>(clang::SourceLocation (clang::CompoundLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ConceptSpecializationExpr>(clang::SourceLocation (clang::ConceptSpecializationExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ConvertVectorExpr>(clang::SourceLocation (clang::ConvertVectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::CoroutineSuspendExpr>(clang::SourceLocation (clang::CoroutineSuspendExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DeclRefExpr>(clang::SourceLocation (clang::DeclRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DependentCoawaitExpr>(clang::SourceLocation (clang::DependentCoawaitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DependentScopeDeclRefExpr>(clang::SourceLocation (clang::DependentScopeDeclRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DesignatedInitExpr>(clang::SourceLocation (clang::DesignatedInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::DesignatedInitUpdateExpr>(clang::SourceLocation (clang::DesignatedInitUpdateExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ExpressionTraitExpr>(clang::SourceLocation (clang::ExpressionTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ExtVectorElementExpr>(clang::SourceLocation (clang::ExtVectorElementExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::FixedPointLiteral>(clang::SourceLocation (clang::FixedPointLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::FloatingLiteral>(clang::SourceLocation (clang::FloatingLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ConstantExpr>(clang::SourceLocation (clang::ConstantExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ExprWithCleanups>(clang::SourceLocation (clang::ExprWithCleanups::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::FunctionParmPackExpr>(clang::SourceLocation (clang::FunctionParmPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::GNUNullExpr>(clang::SourceLocation (clang::GNUNullExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::GenericSelectionExpr>(clang::SourceLocation (clang::GenericSelectionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ImaginaryLiteral>(clang::SourceLocation (clang::ImaginaryLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ImplicitValueInitExpr>(clang::SourceLocation (clang::ImplicitValueInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::InitListExpr>(clang::SourceLocation (clang::InitListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::IntegerLiteral>(clang::SourceLocation (clang::IntegerLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::LambdaExpr>(clang::SourceLocation (clang::LambdaExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MSPropertyRefExpr>(clang::SourceLocation (clang::MSPropertyRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MSPropertySubscriptExpr>(clang::SourceLocation (clang::MSPropertySubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MaterializeTemporaryExpr>(clang::SourceLocation (clang::MaterializeTemporaryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MatrixSubscriptExpr>(clang::SourceLocation (clang::MatrixSubscriptExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::MemberExpr>(clang::SourceLocation (clang::MemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::NoInitExpr>(clang::SourceLocation (clang::NoInitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OMPArraySectionExpr>(clang::SourceLocation (clang::OMPArraySectionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OMPArrayShapingExpr>(clang::SourceLocation (clang::OMPArrayShapingExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OMPIteratorExpr>(clang::SourceLocation (clang::OMPIteratorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCArrayLiteral>(clang::SourceLocation (clang::ObjCArrayLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCAvailabilityCheckExpr>(clang::SourceLocation (clang::ObjCAvailabilityCheckExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCBoolLiteralExpr>(clang::SourceLocation (clang::ObjCBoolLiteralExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCBoxedExpr>(clang::SourceLocation (clang::ObjCBoxedExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCDictionaryLiteral>(clang::SourceLocation (clang::ObjCDictionaryLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCEncodeExpr>(clang::SourceLocation (clang::ObjCEncodeExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCIndirectCopyRestoreExpr>(clang::SourceLocation (clang::ObjCIndirectCopyRestoreExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCIsaExpr>(clang::SourceLocation (clang::ObjCIsaExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCIvarRefExpr>(clang::SourceLocation (clang::ObjCIvarRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCMessageExpr>(clang::SourceLocation (clang::ObjCMessageExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCPropertyRefExpr>(clang::SourceLocation (clang::ObjCPropertyRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCProtocolExpr>(clang::SourceLocation (clang::ObjCProtocolExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCSelectorExpr>(clang::SourceLocation (clang::ObjCSelectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCStringLiteral>(clang::SourceLocation (clang::ObjCStringLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ObjCSubscriptRefExpr>(clang::SourceLocation (clang::ObjCSubscriptRefExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OffsetOfExpr>(clang::SourceLocation (clang::OffsetOfExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::OpaqueValueExpr>(clang::SourceLocation (clang::OpaqueValueExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::UnresolvedLookupExpr>(clang::SourceLocation (clang::UnresolvedLookupExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::UnresolvedMemberExpr>(clang::SourceLocation (clang::UnresolvedMemberExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::PackExpansionExpr>(clang::SourceLocation (clang::PackExpansionExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ParenExpr>(clang::SourceLocation (clang::ParenExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ParenListExpr>(clang::SourceLocation (clang::ParenListExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::PredefinedExpr>(clang::SourceLocation (clang::PredefinedExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::PseudoObjectExpr>(clang::SourceLocation (clang::PseudoObjectExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::RecoveryExpr>(clang::SourceLocation (clang::RecoveryExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::RequiresExpr>(clang::SourceLocation (clang::RequiresExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::ShuffleVectorExpr>(clang::SourceLocation (clang::ShuffleVectorExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SizeOfPackExpr>(clang::SourceLocation (clang::SizeOfPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SourceLocExpr>(clang::SourceLocation (clang::SourceLocExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::StmtExpr>(clang::SourceLocation (clang::StmtExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::StringLiteral>(clang::SourceLocation (clang::StringLiteral::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SubstNonTypeTemplateParmExpr>(clang::SourceLocation (clang::SubstNonTypeTemplateParmExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::SubstNonTypeTemplateParmPackExpr>(clang::SourceLocation (clang::SubstNonTypeTemplateParmPackExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::TypeTraitExpr>(clang::SourceLocation (clang::TypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::TypoExpr>(clang::SourceLocation (clang::TypoExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::UnaryExprOrTypeTraitExpr>(clang::SourceLocation (clang::UnaryExprOrTypeTraitExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::UnaryOperator>(clang::SourceLocation (clang::UnaryOperator::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::VAArgExpr>(clang::SourceLocation (clang::VAArgExpr::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::LabelStmt>(clang::SourceLocation (clang::LabelStmt::*)() const)
Unexecuted instantiation: Stmt.cpp:(anonymous namespace)::good (anonymous namespace)::implements_getEndLoc<clang::WhileStmt>(clang::SourceLocation (clang::WhileStmt::*)() const)
261
  LLVM_ATTRIBUTE_UNUSED
262
0
  static bad implements_getEndLoc(getLocEnd_t Stmt::*) { return bad(); }
263
264
#define ASSERT_IMPLEMENTS_children(type) \
265
  (void) is_good(implements_children(&type::children))
266
#define ASSERT_IMPLEMENTS_getBeginLoc(type)                                    \
267
  (void)is_good(implements_getBeginLoc(&type::getBeginLoc))
268
#define ASSERT_IMPLEMENTS_getEndLoc(type)                                      \
269
  (void)is_good(implements_getEndLoc(&type::getEndLoc))
270
271
} // namespace
272
273
/// Check whether the various Stmt classes implement their member
274
/// functions.
275
LLVM_ATTRIBUTE_UNUSED
276
0
static inline void check_implementations() {
277
0
#define ABSTRACT_STMT(type)
278
0
#define STMT(type, base)                                                       \
279
0
  ASSERT_IMPLEMENTS_children(type);                                            \
280
0
  ASSERT_IMPLEMENTS_getBeginLoc(type);                                         \
281
0
  ASSERT_IMPLEMENTS_getEndLoc(type);
282
0
#include "clang/AST/StmtNodes.inc"
283
0
}
284
285
96.8M
Stmt::child_range Stmt::children() {
286
96.8M
  switch (getStmtClass()) {
287
0
  case Stmt::NoStmtClass: llvm_unreachable("statement without class");
288
0
#define ABSTRACT_STMT(type)
289
0
#define STMT(type, base) \
290
96.8M
  case Stmt::type##Class: \
291
96.8M
    return static_cast<type*>(this)->children();
292
0
#include "clang/AST/StmtNodes.inc"
293
96.8M
  }
294
96.8M
  
llvm_unreachable0
("unknown statement kind!");
295
96.8M
}
296
297
// Amusing macro metaprogramming hack: check whether a class provides
298
// a more specific implementation of getSourceRange.
299
//
300
// See also Expr.cpp:getExprLoc().
301
namespace {
302
303
  /// This implementation is used when a class provides a custom
304
  /// implementation of getSourceRange.
305
  template <class S, class T>
306
  SourceRange getSourceRangeImpl(const Stmt *stmt,
307
60.0k
                                 SourceRange (T::*v)() const) {
308
60.0k
    return static_cast<const S*>(stmt)->getSourceRange();
309
60.0k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CapturedStmt, clang::CapturedStmt>(clang::Stmt const*, clang::SourceRange (clang::CapturedStmt::*)() const)
Line
Count
Source
307
10.3k
                                 SourceRange (T::*v)() const) {
308
10.3k
    return static_cast<const S*>(stmt)->getSourceRange();
309
10.3k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXNewExpr, clang::CXXNewExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXNewExpr::*)() const)
Line
Count
Source
307
8.37k
                                 SourceRange (T::*v)() const) {
308
8.37k
    return static_cast<const S*>(stmt)->getSourceRange();
309
8.37k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXNoexceptExpr, clang::CXXNoexceptExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXNoexceptExpr::*)() const)
Line
Count
Source
307
11
                                 SourceRange (T::*v)() const) {
308
11
    return static_cast<const S*>(stmt)->getSourceRange();
309
11
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXRewrittenBinaryOperator, clang::CXXRewrittenBinaryOperator>(clang::Stmt const*, clang::SourceRange (clang::CXXRewrittenBinaryOperator::*)() const)
Line
Count
Source
307
21
                                 SourceRange (T::*v)() const) {
308
21
    return static_cast<const S*>(stmt)->getSourceRange();
309
21
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXStdInitializerListExpr, clang::CXXStdInitializerListExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXStdInitializerListExpr::*)() const)
Line
Count
Source
307
56
                                 SourceRange (T::*v)() const) {
308
56
    return static_cast<const S*>(stmt)->getSourceRange();
309
56
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXTypeidExpr, clang::CXXTypeidExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXTypeidExpr::*)() const)
Line
Count
Source
307
73
                                 SourceRange (T::*v)() const) {
308
73
    return static_cast<const S*>(stmt)->getSourceRange();
309
73
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXUuidofExpr, clang::CXXUuidofExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXUuidofExpr::*)() const)
Line
Count
Source
307
43
                                 SourceRange (T::*v)() const) {
308
43
    return static_cast<const S*>(stmt)->getSourceRange();
309
43
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXOperatorCallExpr, clang::CXXOperatorCallExpr>(clang::Stmt const*, clang::SourceRange (clang::CXXOperatorCallExpr::*)() const)
Line
Count
Source
307
39.8k
                                 SourceRange (T::*v)() const) {
308
39.8k
    return static_cast<const S*>(stmt)->getSourceRange();
309
39.8k
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MSPropertyRefExpr, clang::MSPropertyRefExpr>(clang::Stmt const*, clang::SourceRange (clang::MSPropertyRefExpr::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCArrayLiteral, clang::ObjCArrayLiteral>(clang::Stmt const*, clang::SourceRange (clang::ObjCArrayLiteral::*)() const)
Line
Count
Source
307
431
                                 SourceRange (T::*v)() const) {
308
431
    return static_cast<const S*>(stmt)->getSourceRange();
309
431
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAvailabilityCheckExpr, clang::ObjCAvailabilityCheckExpr>(clang::Stmt const*, clang::SourceRange (clang::ObjCAvailabilityCheckExpr::*)() const)
Line
Count
Source
307
17
                                 SourceRange (T::*v)() const) {
308
17
    return static_cast<const S*>(stmt)->getSourceRange();
309
17
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCBoxedExpr, clang::ObjCBoxedExpr>(clang::Stmt const*, clang::SourceRange (clang::ObjCBoxedExpr::*)() const)
Line
Count
Source
307
701
                                 SourceRange (T::*v)() const) {
308
701
    return static_cast<const S*>(stmt)->getSourceRange();
309
701
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCDictionaryLiteral, clang::ObjCDictionaryLiteral>(clang::Stmt const*, clang::SourceRange (clang::ObjCDictionaryLiteral::*)() const)
Line
Count
Source
307
162
                                 SourceRange (T::*v)() const) {
308
162
    return static_cast<const S*>(stmt)->getSourceRange();
309
162
  }
310
311
  /// This implementation is used when a class doesn't provide a custom
312
  /// implementation of getSourceRange.  Overload resolution should pick it over
313
  /// the implementation above because it's more specialized according to
314
  /// function template partial ordering.
315
  template <class S>
316
  SourceRange getSourceRangeImpl(const Stmt *stmt,
317
10.9M
                                 SourceRange (Stmt::*v)() const) {
318
10.9M
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
10.9M
                       static_cast<const S *>(stmt)->getEndLoc());
320
10.9M
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::GCCAsmStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
12
                                 SourceRange (Stmt::*v)() const) {
318
12
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
12
                       static_cast<const S *>(stmt)->getEndLoc());
320
12
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MSAsmStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::BreakStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
199
                                 SourceRange (Stmt::*v)() const) {
318
199
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
199
                       static_cast<const S *>(stmt)->getEndLoc());
320
199
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXCatchStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
150
                                 SourceRange (Stmt::*v)() const) {
318
150
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
150
                       static_cast<const S *>(stmt)->getEndLoc());
320
150
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXForRangeStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
615
                                 SourceRange (Stmt::*v)() const) {
318
615
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
615
                       static_cast<const S *>(stmt)->getEndLoc());
320
615
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXTryStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
173
                                 SourceRange (Stmt::*v)() const) {
318
173
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
173
                       static_cast<const S *>(stmt)->getEndLoc());
320
173
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CompoundStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
487k
                                 SourceRange (Stmt::*v)() const) {
318
487k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
487k
                       static_cast<const S *>(stmt)->getEndLoc());
320
487k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ContinueStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
31
                                 SourceRange (Stmt::*v)() const) {
318
31
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
31
                       static_cast<const S *>(stmt)->getEndLoc());
320
31
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CoreturnStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
13
                                 SourceRange (Stmt::*v)() const) {
318
13
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
13
                       static_cast<const S *>(stmt)->getEndLoc());
320
13
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CoroutineBodyStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
61
                                 SourceRange (Stmt::*v)() const) {
318
61
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
61
                       static_cast<const S *>(stmt)->getEndLoc());
320
61
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DeclStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
394k
                                 SourceRange (Stmt::*v)() const) {
318
394k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
394k
                       static_cast<const S *>(stmt)->getEndLoc());
320
394k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DoStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
766
                                 SourceRange (Stmt::*v)() const) {
318
766
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
766
                       static_cast<const S *>(stmt)->getEndLoc());
320
766
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ForStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
45.1k
                                 SourceRange (Stmt::*v)() const) {
318
45.1k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
45.1k
                       static_cast<const S *>(stmt)->getEndLoc());
320
45.1k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::GotoStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
36
                                 SourceRange (Stmt::*v)() const) {
318
36
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
36
                       static_cast<const S *>(stmt)->getEndLoc());
320
36
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::IfStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
7.70k
                                 SourceRange (Stmt::*v)() const) {
318
7.70k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
7.70k
                       static_cast<const S *>(stmt)->getEndLoc());
320
7.70k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::IndirectGotoStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
10
                                 SourceRange (Stmt::*v)() const) {
318
10
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
10
                       static_cast<const S *>(stmt)->getEndLoc());
320
10
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MSDependentExistsStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
34
                                 SourceRange (Stmt::*v)() const) {
318
34
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
34
                       static_cast<const S *>(stmt)->getEndLoc());
320
34
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::NullStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.10k
                                 SourceRange (Stmt::*v)() const) {
318
1.10k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.10k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.10k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPAtomicDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
457
                                 SourceRange (Stmt::*v)() const) {
318
457
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
457
                       static_cast<const S *>(stmt)->getEndLoc());
320
457
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPBarrierDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPCancelDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPCancellationPointDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPCriticalDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
60
                                 SourceRange (Stmt::*v)() const) {
318
60
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
60
                       static_cast<const S *>(stmt)->getEndLoc());
320
60
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPDepobjDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPFlushDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPDistributeDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
473
                                 SourceRange (Stmt::*v)() const) {
318
473
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
473
                       static_cast<const S *>(stmt)->getEndLoc());
320
473
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPDistributeParallelForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.52k
                                 SourceRange (Stmt::*v)() const) {
318
2.52k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.52k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.52k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPDistributeParallelForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.15k
                                 SourceRange (Stmt::*v)() const) {
318
2.15k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.15k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.15k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPDistributeSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
815
                                 SourceRange (Stmt::*v)() const) {
318
815
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
815
                       static_cast<const S *>(stmt)->getEndLoc());
320
815
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.21k
                                 SourceRange (Stmt::*v)() const) {
318
1.21k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.21k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.21k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.09k
                                 SourceRange (Stmt::*v)() const) {
318
1.09k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.09k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.09k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPMasterTaskLoopDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
213
                                 SourceRange (Stmt::*v)() const) {
318
213
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
213
                       static_cast<const S *>(stmt)->getEndLoc());
320
213
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPMasterTaskLoopSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
287
                                 SourceRange (Stmt::*v)() const) {
318
287
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
287
                       static_cast<const S *>(stmt)->getEndLoc());
320
287
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
693
                                 SourceRange (Stmt::*v)() const) {
318
693
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
693
                       static_cast<const S *>(stmt)->getEndLoc());
320
693
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
383
                                 SourceRange (Stmt::*v)() const) {
318
383
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
383
                       static_cast<const S *>(stmt)->getEndLoc());
320
383
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelMasterTaskLoopDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
232
                                 SourceRange (Stmt::*v)() const) {
318
232
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
232
                       static_cast<const S *>(stmt)->getEndLoc());
320
232
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelMasterTaskLoopSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
317
                                 SourceRange (Stmt::*v)() const) {
318
317
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
317
                       static_cast<const S *>(stmt)->getEndLoc());
320
317
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
680
                                 SourceRange (Stmt::*v)() const) {
318
680
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
680
                       static_cast<const S *>(stmt)->getEndLoc());
320
680
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetParallelForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.31k
                                 SourceRange (Stmt::*v)() const) {
318
2.31k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.31k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.31k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.87k
                                 SourceRange (Stmt::*v)() const) {
318
1.87k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.87k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.87k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetTeamsDistributeDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.23k
                                 SourceRange (Stmt::*v)() const) {
318
2.23k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.23k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.23k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetTeamsDistributeParallelForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
3.16k
                                 SourceRange (Stmt::*v)() const) {
318
3.16k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
3.16k
                       static_cast<const S *>(stmt)->getEndLoc());
320
3.16k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetTeamsDistributeParallelForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
5.11k
                                 SourceRange (Stmt::*v)() const) {
318
5.11k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
5.11k
                       static_cast<const S *>(stmt)->getEndLoc());
320
5.11k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetTeamsDistributeSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.97k
                                 SourceRange (Stmt::*v)() const) {
318
2.97k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.97k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.97k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskLoopDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
203
                                 SourceRange (Stmt::*v)() const) {
318
203
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
203
                       static_cast<const S *>(stmt)->getEndLoc());
320
203
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskLoopSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
292
                                 SourceRange (Stmt::*v)() const) {
318
292
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
292
                       static_cast<const S *>(stmt)->getEndLoc());
320
292
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTeamsDistributeDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
484
                                 SourceRange (Stmt::*v)() const) {
318
484
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
484
                       static_cast<const S *>(stmt)->getEndLoc());
320
484
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTeamsDistributeParallelForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.06k
                                 SourceRange (Stmt::*v)() const) {
318
2.06k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.06k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.06k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTeamsDistributeParallelForSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.28k
                                 SourceRange (Stmt::*v)() const) {
318
2.28k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.28k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.28k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTeamsDistributeSimdDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
674
                                 SourceRange (Stmt::*v)() const) {
318
674
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
674
                       static_cast<const S *>(stmt)->getEndLoc());
320
674
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPMasterDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
19
                                 SourceRange (Stmt::*v)() const) {
318
19
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
19
                       static_cast<const S *>(stmt)->getEndLoc());
320
19
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPOrderedDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
38
                                 SourceRange (Stmt::*v)() const) {
318
38
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
38
                       static_cast<const S *>(stmt)->getEndLoc());
320
38
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.84k
                                 SourceRange (Stmt::*v)() const) {
318
1.84k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.84k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.84k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelMasterDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
60
                                 SourceRange (Stmt::*v)() const) {
318
60
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
60
                       static_cast<const S *>(stmt)->getEndLoc());
320
60
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPParallelSectionsDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
71
                                 SourceRange (Stmt::*v)() const) {
318
71
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
71
                       static_cast<const S *>(stmt)->getEndLoc());
320
71
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPScanDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
16
                                 SourceRange (Stmt::*v)() const) {
318
16
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
16
                       static_cast<const S *>(stmt)->getEndLoc());
320
16
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPSectionDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
55
                                 SourceRange (Stmt::*v)() const) {
318
55
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
55
                       static_cast<const S *>(stmt)->getEndLoc());
320
55
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPSectionsDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
216
                                 SourceRange (Stmt::*v)() const) {
318
216
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
216
                       static_cast<const S *>(stmt)->getEndLoc());
320
216
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPSingleDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
134
                                 SourceRange (Stmt::*v)() const) {
318
134
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
134
                       static_cast<const S *>(stmt)->getEndLoc());
320
134
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetDataDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
368
                                 SourceRange (Stmt::*v)() const) {
318
368
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
368
                       static_cast<const S *>(stmt)->getEndLoc());
320
368
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
8.18k
                                 SourceRange (Stmt::*v)() const) {
318
8.18k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
8.18k
                       static_cast<const S *>(stmt)->getEndLoc());
320
8.18k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetEnterDataDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
220
                                 SourceRange (Stmt::*v)() const) {
318
220
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
220
                       static_cast<const S *>(stmt)->getEndLoc());
320
220
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetExitDataDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
164
                                 SourceRange (Stmt::*v)() const) {
318
164
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
164
                       static_cast<const S *>(stmt)->getEndLoc());
320
164
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetParallelDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.23k
                                 SourceRange (Stmt::*v)() const) {
318
2.23k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.23k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.23k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetParallelForDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.06k
                                 SourceRange (Stmt::*v)() const) {
318
2.06k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.06k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.06k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetTeamsDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.55k
                                 SourceRange (Stmt::*v)() const) {
318
2.55k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.55k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.55k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTargetUpdateDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
472
                                 SourceRange (Stmt::*v)() const) {
318
472
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
472
                       static_cast<const S *>(stmt)->getEndLoc());
320
472
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
339
                                 SourceRange (Stmt::*v)() const) {
318
339
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
339
                       static_cast<const S *>(stmt)->getEndLoc());
320
339
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskgroupDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
80
                                 SourceRange (Stmt::*v)() const) {
318
80
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
80
                       static_cast<const S *>(stmt)->getEndLoc());
320
80
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskwaitDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTaskyieldDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPTeamsDirective>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.91k
                                 SourceRange (Stmt::*v)() const) {
318
2.91k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.91k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.91k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAtCatchStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
28
                                 SourceRange (Stmt::*v)() const) {
318
28
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
28
                       static_cast<const S *>(stmt)->getEndLoc());
320
28
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAtFinallyStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
21
                                 SourceRange (Stmt::*v)() const) {
318
21
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
21
                       static_cast<const S *>(stmt)->getEndLoc());
320
21
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAtSynchronizedStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
75
                                 SourceRange (Stmt::*v)() const) {
318
75
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
75
                       static_cast<const S *>(stmt)->getEndLoc());
320
75
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAtThrowStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
11
                                 SourceRange (Stmt::*v)() const) {
318
11
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
11
                       static_cast<const S *>(stmt)->getEndLoc());
320
11
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAtTryStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
32
                                 SourceRange (Stmt::*v)() const) {
318
32
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
32
                       static_cast<const S *>(stmt)->getEndLoc());
320
32
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCAutoreleasePoolStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
10
                                 SourceRange (Stmt::*v)() const) {
318
10
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
10
                       static_cast<const S *>(stmt)->getEndLoc());
320
10
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCForCollectionStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
582
                                 SourceRange (Stmt::*v)() const) {
318
582
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
582
                       static_cast<const S *>(stmt)->getEndLoc());
320
582
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ReturnStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
148k
                                 SourceRange (Stmt::*v)() const) {
318
148k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
148k
                       static_cast<const S *>(stmt)->getEndLoc());
320
148k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SEHExceptStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
24
                                 SourceRange (Stmt::*v)() const) {
318
24
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
24
                       static_cast<const S *>(stmt)->getEndLoc());
320
24
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SEHFinallyStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
54
                                 SourceRange (Stmt::*v)() const) {
318
54
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
54
                       static_cast<const S *>(stmt)->getEndLoc());
320
54
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SEHLeaveStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SEHTryStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
78
                                 SourceRange (Stmt::*v)() const) {
318
78
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
78
                       static_cast<const S *>(stmt)->getEndLoc());
320
78
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CaseStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
759
                                 SourceRange (Stmt::*v)() const) {
318
759
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
759
                       static_cast<const S *>(stmt)->getEndLoc());
320
759
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DefaultStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
141
                                 SourceRange (Stmt::*v)() const) {
318
141
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
141
                       static_cast<const S *>(stmt)->getEndLoc());
320
141
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SwitchStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
518
                                 SourceRange (Stmt::*v)() const) {
318
518
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
518
                       static_cast<const S *>(stmt)->getEndLoc());
320
518
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::AttributedStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
15
                                 SourceRange (Stmt::*v)() const) {
318
15
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
15
                       static_cast<const S *>(stmt)->getEndLoc());
320
15
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::BinaryConditionalOperator>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
170
                                 SourceRange (Stmt::*v)() const) {
318
170
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
170
                       static_cast<const S *>(stmt)->getEndLoc());
320
170
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ConditionalOperator>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
9.62k
                                 SourceRange (Stmt::*v)() const) {
318
9.62k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
9.62k
                       static_cast<const S *>(stmt)->getEndLoc());
320
9.62k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::AddrLabelExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
527
                                 SourceRange (Stmt::*v)() const) {
318
527
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
527
                       static_cast<const S *>(stmt)->getEndLoc());
320
527
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ArrayInitIndexExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
156
                                 SourceRange (Stmt::*v)() const) {
318
156
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
156
                       static_cast<const S *>(stmt)->getEndLoc());
320
156
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ArrayInitLoopExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
781
                                 SourceRange (Stmt::*v)() const) {
318
781
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
781
                       static_cast<const S *>(stmt)->getEndLoc());
320
781
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ArraySubscriptExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
66.4k
                                 SourceRange (Stmt::*v)() const) {
318
66.4k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
66.4k
                       static_cast<const S *>(stmt)->getEndLoc());
320
66.4k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ArrayTypeTraitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
40
                                 SourceRange (Stmt::*v)() const) {
318
40
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
40
                       static_cast<const S *>(stmt)->getEndLoc());
320
40
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::AsTypeExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::AtomicExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
47
                                 SourceRange (Stmt::*v)() const) {
318
47
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
47
                       static_cast<const S *>(stmt)->getEndLoc());
320
47
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::BinaryOperator>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
406k
                                 SourceRange (Stmt::*v)() const) {
318
406k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
406k
                       static_cast<const S *>(stmt)->getEndLoc());
320
406k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CompoundAssignOperator>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
11.3k
                                 SourceRange (Stmt::*v)() const) {
318
11.3k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
11.3k
                       static_cast<const S *>(stmt)->getEndLoc());
320
11.3k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::BlockExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.57k
                                 SourceRange (Stmt::*v)() const) {
318
2.57k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.57k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.57k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXBindTemporaryExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
9.19k
                                 SourceRange (Stmt::*v)() const) {
318
9.19k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
9.19k
                       static_cast<const S *>(stmt)->getEndLoc());
320
9.19k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXBoolLiteralExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
4.50k
                                 SourceRange (Stmt::*v)() const) {
318
4.50k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
4.50k
                       static_cast<const S *>(stmt)->getEndLoc());
320
4.50k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXConstructExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
216k
                                 SourceRange (Stmt::*v)() const) {
318
216k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
216k
                       static_cast<const S *>(stmt)->getEndLoc());
320
216k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXTemporaryObjectExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
25.2k
                                 SourceRange (Stmt::*v)() const) {
318
25.2k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
25.2k
                       static_cast<const S *>(stmt)->getEndLoc());
320
25.2k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXDefaultArgExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
5.92k
                                 SourceRange (Stmt::*v)() const) {
318
5.92k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
5.92k
                       static_cast<const S *>(stmt)->getEndLoc());
320
5.92k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXDefaultInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.67k
                                 SourceRange (Stmt::*v)() const) {
318
1.67k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.67k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.67k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXDeleteExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.79k
                                 SourceRange (Stmt::*v)() const) {
318
1.79k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.79k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.79k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXDependentScopeMemberExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
5.37k
                                 SourceRange (Stmt::*v)() const) {
318
5.37k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
5.37k
                       static_cast<const S *>(stmt)->getEndLoc());
320
5.37k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXFoldExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
118
                                 SourceRange (Stmt::*v)() const) {
318
118
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
118
                       static_cast<const S *>(stmt)->getEndLoc());
320
118
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXInheritedCtorInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
69
                                 SourceRange (Stmt::*v)() const) {
318
69
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
69
                       static_cast<const S *>(stmt)->getEndLoc());
320
69
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXNullPtrLiteralExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
6.71k
                                 SourceRange (Stmt::*v)() const) {
318
6.71k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
6.71k
                       static_cast<const S *>(stmt)->getEndLoc());
320
6.71k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXPseudoDestructorExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
380
                                 SourceRange (Stmt::*v)() const) {
318
380
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
380
                       static_cast<const S *>(stmt)->getEndLoc());
320
380
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXScalarValueInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
226
                                 SourceRange (Stmt::*v)() const) {
318
226
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
226
                       static_cast<const S *>(stmt)->getEndLoc());
320
226
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXThisExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
131k
                                 SourceRange (Stmt::*v)() const) {
318
131k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
131k
                       static_cast<const S *>(stmt)->getEndLoc());
320
131k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXThrowExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
22
                                 SourceRange (Stmt::*v)() const) {
318
22
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
22
                       static_cast<const S *>(stmt)->getEndLoc());
320
22
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXUnresolvedConstructExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
146
                                 SourceRange (Stmt::*v)() const) {
318
146
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
146
                       static_cast<const S *>(stmt)->getEndLoc());
320
146
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CallExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
556k
                                 SourceRange (Stmt::*v)() const) {
318
556k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
556k
                       static_cast<const S *>(stmt)->getEndLoc());
320
556k
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CUDAKernelCallExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXMemberCallExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
96.0k
                                 SourceRange (Stmt::*v)() const) {
318
96.0k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
96.0k
                       static_cast<const S *>(stmt)->getEndLoc());
320
96.0k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::UserDefinedLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
134
                                 SourceRange (Stmt::*v)() const) {
318
134
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
134
                       static_cast<const S *>(stmt)->getEndLoc());
320
134
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::BuiltinBitCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
25
                                 SourceRange (Stmt::*v)() const) {
318
25
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
25
                       static_cast<const S *>(stmt)->getEndLoc());
320
25
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CStyleCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
21.3k
                                 SourceRange (Stmt::*v)() const) {
318
21.3k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
21.3k
                       static_cast<const S *>(stmt)->getEndLoc());
320
21.3k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXFunctionalCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
32.4k
                                 SourceRange (Stmt::*v)() const) {
318
32.4k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
32.4k
                       static_cast<const S *>(stmt)->getEndLoc());
320
32.4k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXAddrspaceCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
6
                                 SourceRange (Stmt::*v)() const) {
318
6
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
6
                       static_cast<const S *>(stmt)->getEndLoc());
320
6
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXConstCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
643
                                 SourceRange (Stmt::*v)() const) {
318
643
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
643
                       static_cast<const S *>(stmt)->getEndLoc());
320
643
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXDynamicCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
116
                                 SourceRange (Stmt::*v)() const) {
318
116
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
116
                       static_cast<const S *>(stmt)->getEndLoc());
320
116
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXReinterpretCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
457
                                 SourceRange (Stmt::*v)() const) {
318
457
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
457
                       static_cast<const S *>(stmt)->getEndLoc());
320
457
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CXXStaticCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
16.2k
                                 SourceRange (Stmt::*v)() const) {
318
16.2k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
16.2k
                       static_cast<const S *>(stmt)->getEndLoc());
320
16.2k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCBridgedCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
76
                                 SourceRange (Stmt::*v)() const) {
318
76
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
76
                       static_cast<const S *>(stmt)->getEndLoc());
320
76
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ImplicitCastExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
3.93M
                                 SourceRange (Stmt::*v)() const) {
318
3.93M
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
3.93M
                       static_cast<const S *>(stmt)->getEndLoc());
320
3.93M
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CharacterLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
4.74k
                                 SourceRange (Stmt::*v)() const) {
318
4.74k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
4.74k
                       static_cast<const S *>(stmt)->getEndLoc());
320
4.74k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ChooseExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
6
                                 SourceRange (Stmt::*v)() const) {
318
6
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
6
                       static_cast<const S *>(stmt)->getEndLoc());
320
6
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CompoundLiteralExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.39k
                                 SourceRange (Stmt::*v)() const) {
318
1.39k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.39k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.39k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ConceptSpecializationExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
500
                                 SourceRange (Stmt::*v)() const) {
318
500
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
500
                       static_cast<const S *>(stmt)->getEndLoc());
320
500
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ConvertVectorExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.58k
                                 SourceRange (Stmt::*v)() const) {
318
1.58k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.58k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.58k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CoawaitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
20
                                 SourceRange (Stmt::*v)() const) {
318
20
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
20
                       static_cast<const S *>(stmt)->getEndLoc());
320
20
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::CoyieldExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DeclRefExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.08M
                                 SourceRange (Stmt::*v)() const) {
318
2.08M
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.08M
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.08M
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DependentCoawaitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DependentScopeDeclRefExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
27.8k
                                 SourceRange (Stmt::*v)() const) {
318
27.8k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
27.8k
                       static_cast<const S *>(stmt)->getEndLoc());
320
27.8k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DesignatedInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
271
                                 SourceRange (Stmt::*v)() const) {
318
271
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
271
                       static_cast<const S *>(stmt)->getEndLoc());
320
271
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::DesignatedInitUpdateExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
24
                                 SourceRange (Stmt::*v)() const) {
318
24
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
24
                       static_cast<const S *>(stmt)->getEndLoc());
320
24
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ExpressionTraitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
8
                                 SourceRange (Stmt::*v)() const) {
318
8
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
8
                       static_cast<const S *>(stmt)->getEndLoc());
320
8
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ExtVectorElementExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
42
                                 SourceRange (Stmt::*v)() const) {
318
42
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
42
                       static_cast<const S *>(stmt)->getEndLoc());
320
42
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::FixedPointLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
122
                                 SourceRange (Stmt::*v)() const) {
318
122
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
122
                       static_cast<const S *>(stmt)->getEndLoc());
320
122
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::FloatingLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
6.06k
                                 SourceRange (Stmt::*v)() const) {
318
6.06k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
6.06k
                       static_cast<const S *>(stmt)->getEndLoc());
320
6.06k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ConstantExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
127k
                                 SourceRange (Stmt::*v)() const) {
318
127k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
127k
                       static_cast<const S *>(stmt)->getEndLoc());
320
127k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ExprWithCleanups>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
4.71k
                                 SourceRange (Stmt::*v)() const) {
318
4.71k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
4.71k
                       static_cast<const S *>(stmt)->getEndLoc());
320
4.71k
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::FunctionParmPackExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::GNUNullExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
494
                                 SourceRange (Stmt::*v)() const) {
318
494
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
494
                       static_cast<const S *>(stmt)->getEndLoc());
320
494
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::GenericSelectionExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
33
                                 SourceRange (Stmt::*v)() const) {
318
33
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
33
                       static_cast<const S *>(stmt)->getEndLoc());
320
33
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ImaginaryLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
96
                                 SourceRange (Stmt::*v)() const) {
318
96
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
96
                       static_cast<const S *>(stmt)->getEndLoc());
320
96
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ImplicitValueInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
215
                                 SourceRange (Stmt::*v)() const) {
318
215
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
215
                       static_cast<const S *>(stmt)->getEndLoc());
320
215
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::InitListExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
180k
                                 SourceRange (Stmt::*v)() const) {
318
180k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
180k
                       static_cast<const S *>(stmt)->getEndLoc());
320
180k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::IntegerLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
229k
                                 SourceRange (Stmt::*v)() const) {
318
229k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
229k
                       static_cast<const S *>(stmt)->getEndLoc());
320
229k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::LambdaExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.50k
                                 SourceRange (Stmt::*v)() const) {
318
1.50k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.50k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.50k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MSPropertySubscriptExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
72
                                 SourceRange (Stmt::*v)() const) {
318
72
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
72
                       static_cast<const S *>(stmt)->getEndLoc());
320
72
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MaterializeTemporaryExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
45.5k
                                 SourceRange (Stmt::*v)() const) {
318
45.5k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
45.5k
                       static_cast<const S *>(stmt)->getEndLoc());
320
45.5k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MatrixSubscriptExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
11
                                 SourceRange (Stmt::*v)() const) {
318
11
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
11
                       static_cast<const S *>(stmt)->getEndLoc());
320
11
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::MemberExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
439k
                                 SourceRange (Stmt::*v)() const) {
318
439k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
439k
                       static_cast<const S *>(stmt)->getEndLoc());
320
439k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::NoInitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
213
                                 SourceRange (Stmt::*v)() const) {
318
213
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
213
                       static_cast<const S *>(stmt)->getEndLoc());
320
213
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPArraySectionExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
19.9k
                                 SourceRange (Stmt::*v)() const) {
318
19.9k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
19.9k
                       static_cast<const S *>(stmt)->getEndLoc());
320
19.9k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPArrayShapingExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
265
                                 SourceRange (Stmt::*v)() const) {
318
265
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
265
                       static_cast<const S *>(stmt)->getEndLoc());
320
265
  }
Unexecuted instantiation: Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OMPIteratorExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCBoolLiteralExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
245
                                 SourceRange (Stmt::*v)() const) {
318
245
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
245
                       static_cast<const S *>(stmt)->getEndLoc());
320
245
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCEncodeExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
50
                                 SourceRange (Stmt::*v)() const) {
318
50
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
50
                       static_cast<const S *>(stmt)->getEndLoc());
320
50
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCIndirectCopyRestoreExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
7
                                 SourceRange (Stmt::*v)() const) {
318
7
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
7
                       static_cast<const S *>(stmt)->getEndLoc());
320
7
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCIsaExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
22
                                 SourceRange (Stmt::*v)() const) {
318
22
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
22
                       static_cast<const S *>(stmt)->getEndLoc());
320
22
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCIvarRefExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.69k
                                 SourceRange (Stmt::*v)() const) {
318
2.69k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.69k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.69k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCMessageExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
40.9k
                                 SourceRange (Stmt::*v)() const) {
318
40.9k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
40.9k
                       static_cast<const S *>(stmt)->getEndLoc());
320
40.9k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCPropertyRefExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
348
                                 SourceRange (Stmt::*v)() const) {
318
348
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
348
                       static_cast<const S *>(stmt)->getEndLoc());
320
348
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCProtocolExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
29
                                 SourceRange (Stmt::*v)() const) {
318
29
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
29
                       static_cast<const S *>(stmt)->getEndLoc());
320
29
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCSelectorExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
103
                                 SourceRange (Stmt::*v)() const) {
318
103
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
103
                       static_cast<const S *>(stmt)->getEndLoc());
320
103
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCStringLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
4.44k
                                 SourceRange (Stmt::*v)() const) {
318
4.44k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
4.44k
                       static_cast<const S *>(stmt)->getEndLoc());
320
4.44k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ObjCSubscriptRefExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
352
                                 SourceRange (Stmt::*v)() const) {
318
352
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
352
                       static_cast<const S *>(stmt)->getEndLoc());
320
352
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OffsetOfExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
65
                                 SourceRange (Stmt::*v)() const) {
318
65
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
65
                       static_cast<const S *>(stmt)->getEndLoc());
320
65
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::OpaqueValueExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
6.72k
                                 SourceRange (Stmt::*v)() const) {
318
6.72k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
6.72k
                       static_cast<const S *>(stmt)->getEndLoc());
320
6.72k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::UnresolvedLookupExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
189k
                                 SourceRange (Stmt::*v)() const) {
318
189k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
189k
                       static_cast<const S *>(stmt)->getEndLoc());
320
189k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::UnresolvedMemberExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
56.0k
                                 SourceRange (Stmt::*v)() const) {
318
56.0k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
56.0k
                       static_cast<const S *>(stmt)->getEndLoc());
320
56.0k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::PackExpansionExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
8
                                 SourceRange (Stmt::*v)() const) {
318
8
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
8
                       static_cast<const S *>(stmt)->getEndLoc());
320
8
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ParenExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
143k
                                 SourceRange (Stmt::*v)() const) {
318
143k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
143k
                       static_cast<const S *>(stmt)->getEndLoc());
320
143k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ParenListExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
256k
                                 SourceRange (Stmt::*v)() const) {
318
256k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
256k
                       static_cast<const S *>(stmt)->getEndLoc());
320
256k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::PredefinedExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
451
                                 SourceRange (Stmt::*v)() const) {
318
451
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
451
                       static_cast<const S *>(stmt)->getEndLoc());
320
451
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::PseudoObjectExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1.92k
                                 SourceRange (Stmt::*v)() const) {
318
1.92k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1.92k
                       static_cast<const S *>(stmt)->getEndLoc());
320
1.92k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::RecoveryExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
248
                                 SourceRange (Stmt::*v)() const) {
318
248
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
248
                       static_cast<const S *>(stmt)->getEndLoc());
320
248
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::RequiresExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
126
                                 SourceRange (Stmt::*v)() const) {
318
126
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
126
                       static_cast<const S *>(stmt)->getEndLoc());
320
126
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::ShuffleVectorExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.50k
                                 SourceRange (Stmt::*v)() const) {
318
2.50k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.50k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.50k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SizeOfPackExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
59
                                 SourceRange (Stmt::*v)() const) {
318
59
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
59
                       static_cast<const S *>(stmt)->getEndLoc());
320
59
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SourceLocExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
17
                                 SourceRange (Stmt::*v)() const) {
318
17
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
17
                       static_cast<const S *>(stmt)->getEndLoc());
320
17
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::StmtExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
123
                                 SourceRange (Stmt::*v)() const) {
318
123
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
123
                       static_cast<const S *>(stmt)->getEndLoc());
320
123
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::StringLiteral>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
19.7k
                                 SourceRange (Stmt::*v)() const) {
318
19.7k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
19.7k
                       static_cast<const S *>(stmt)->getEndLoc());
320
19.7k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SubstNonTypeTemplateParmExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.98k
                                 SourceRange (Stmt::*v)() const) {
318
2.98k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.98k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.98k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::SubstNonTypeTemplateParmPackExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
1
                                 SourceRange (Stmt::*v)() const) {
318
1
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
1
                       static_cast<const S *>(stmt)->getEndLoc());
320
1
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::TypeTraitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
17.4k
                                 SourceRange (Stmt::*v)() const) {
318
17.4k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
17.4k
                       static_cast<const S *>(stmt)->getEndLoc());
320
17.4k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::TypoExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
27
                                 SourceRange (Stmt::*v)() const) {
318
27
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
27
                       static_cast<const S *>(stmt)->getEndLoc());
320
27
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::UnaryExprOrTypeTraitExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
30.1k
                                 SourceRange (Stmt::*v)() const) {
318
30.1k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
30.1k
                       static_cast<const S *>(stmt)->getEndLoc());
320
30.1k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::UnaryOperator>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
254k
                                 SourceRange (Stmt::*v)() const) {
318
254k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
254k
                       static_cast<const S *>(stmt)->getEndLoc());
320
254k
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::VAArgExpr>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
188
                                 SourceRange (Stmt::*v)() const) {
318
188
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
188
                       static_cast<const S *>(stmt)->getEndLoc());
320
188
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::LabelStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
304
                                 SourceRange (Stmt::*v)() const) {
318
304
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
304
                       static_cast<const S *>(stmt)->getEndLoc());
320
304
  }
Stmt.cpp:clang::SourceRange (anonymous namespace)::getSourceRangeImpl<clang::WhileStmt>(clang::Stmt const*, clang::SourceRange (clang::Stmt::*)() const)
Line
Count
Source
317
2.09k
                                 SourceRange (Stmt::*v)() const) {
318
2.09k
    return SourceRange(static_cast<const S *>(stmt)->getBeginLoc(),
319
2.09k
                       static_cast<const S *>(stmt)->getEndLoc());
320
2.09k
  }
321
322
} // namespace
323
324
10.9M
SourceRange Stmt::getSourceRange() const {
325
10.9M
  switch (getStmtClass()) {
326
0
  case Stmt::NoStmtClass: llvm_unreachable("statement without class");
327
0
#define ABSTRACT_STMT(type)
328
0
#define STMT(type, base) \
329
10.9M
  case Stmt::type##Class: \
330
10.9M
    return getSourceRangeImpl<type>(this, &type::getSourceRange);
331
0
#include "clang/AST/StmtNodes.inc"
332
10.9M
  }
333
10.9M
  
llvm_unreachable0
("unknown statement kind!");
334
10.9M
}
335
336
186M
SourceLocation Stmt::getBeginLoc() const {
337
186M
  switch (getStmtClass()) {
338
0
  case Stmt::NoStmtClass: llvm_unreachable("statement without class");
339
0
#define ABSTRACT_STMT(type)
340
0
#define STMT(type, base)                                                       \
341
186M
  case Stmt::type##Class:                                                      \
342
186M
    return static_cast<const type *>(this)->getBeginLoc();
343
0
#include "clang/AST/StmtNodes.inc"
344
186M
  }
345
186M
  
llvm_unreachable0
("unknown statement kind");
346
186M
}
347
348
16.3M
SourceLocation Stmt::getEndLoc() const {
349
16.3M
  switch (getStmtClass()) {
350
0
  case Stmt::NoStmtClass: llvm_unreachable("statement without class");
351
0
#define ABSTRACT_STMT(type)
352
0
#define STMT(type, base)                                                       \
353
16.3M
  case Stmt::type##Class:                                                      \
354
16.3M
    return static_cast<const type *>(this)->getEndLoc();
355
0
#include "clang/AST/StmtNodes.inc"
356
16.3M
  }
357
16.3M
  
llvm_unreachable0
("unknown statement kind");
358
16.3M
}
359
360
491
int64_t Stmt::getID(const ASTContext &Context) const {
361
491
  return Context.getAllocator().identifyKnownAlignedObject<Stmt>(this);
362
491
}
363
364
CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB,
365
                           SourceLocation RB)
366
4.09M
    : Stmt(CompoundStmtClass), RBraceLoc(RB) {
367
4.09M
  CompoundStmtBits.NumStmts = Stmts.size();
368
4.09M
  setStmts(Stmts);
369
4.09M
  CompoundStmtBits.LBraceLoc = LB;
370
4.09M
}
371
372
4.35M
void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) {
373
4.35M
  assert(CompoundStmtBits.NumStmts == Stmts.size() &&
374
4.35M
         "NumStmts doesn't fit in bits of CompoundStmtBits.NumStmts!");
375
376
4.35M
  std::copy(Stmts.begin(), Stmts.end(), body_begin());
377
4.35M
}
378
379
CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,
380
4.09M
                                   SourceLocation LB, SourceLocation RB) {
381
4.09M
  void *Mem =
382
4.09M
      C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt));
383
4.09M
  return new (Mem) CompoundStmt(Stmts, LB, RB);
384
4.09M
}
385
386
CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C,
387
258k
                                        unsigned NumStmts) {
388
258k
  void *Mem =
389
258k
      C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt));
390
258k
  CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell());
391
258k
  New->CompoundStmtBits.NumStmts = NumStmts;
392
258k
  return New;
393
258k
}
394
395
15.4k
const Expr *ValueStmt::getExprStmt() const {
396
15.4k
  const Stmt *S = this;
397
15.4k
  do {
398
15.4k
    if (const auto *E = dyn_cast<Expr>(S))
399
15.3k
      return E;
400
401
42
    if (const auto *LS = dyn_cast<LabelStmt>(S))
402
36
      S = LS->getSubStmt();
403
6
    else if (const auto *AS = dyn_cast<AttributedStmt>(S))
404
6
      S = AS->getSubStmt();
405
6
    else
406
0
      llvm_unreachable("unknown kind of ValueStmt");
407
42
  } while (isa<ValueStmt>(S));
408
409
2
  return nullptr;
410
15.4k
}
411
412
104
const char *LabelStmt::getName() const {
413
104
  return getDecl()->getIdentifier()->getNameStart();
414
104
}
415
416
AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc,
417
                                       ArrayRef<const Attr*> Attrs,
418
1.33k
                                       Stmt *SubStmt) {
419
1.33k
  assert(!Attrs.empty() && "Attrs should not be empty");
420
1.33k
  void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()),
421
1.33k
                         alignof(AttributedStmt));
422
1.33k
  return new (Mem) AttributedStmt(Loc, Attrs, SubStmt);
423
1.33k
}
424
425
AttributedStmt *AttributedStmt::CreateEmpty(const ASTContext &C,
426
15
                                            unsigned NumAttrs) {
427
15
  assert(NumAttrs > 0 && "NumAttrs should be greater than zero");
428
15
  void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs),
429
15
                         alignof(AttributedStmt));
430
15
  return new (Mem) AttributedStmt(EmptyShell(), NumAttrs);
431
15
}
432
433
1.60k
std::string AsmStmt::generateAsmString(const ASTContext &C) const {
434
1.60k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
435
1.45k
    return gccAsmStmt->generateAsmString(C);
436
156
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
437
156
    return msAsmStmt->generateAsmString(C);
438
0
  llvm_unreachable("unknown asm statement kind!");
439
0
}
440
441
14.3k
StringRef AsmStmt::getOutputConstraint(unsigned i) const {
442
14.3k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
443
14.3k
    return gccAsmStmt->getOutputConstraint(i);
444
42
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
445
42
    return msAsmStmt->getOutputConstraint(i);
446
0
  llvm_unreachable("unknown asm statement kind!");
447
0
}
448
449
1.33k
const Expr *AsmStmt::getOutputExpr(unsigned i) const {
450
1.33k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
451
1.31k
    return gccAsmStmt->getOutputExpr(i);
452
21
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
453
21
    return msAsmStmt->getOutputExpr(i);
454
0
  llvm_unreachable("unknown asm statement kind!");
455
0
}
456
457
3.36k
StringRef AsmStmt::getInputConstraint(unsigned i) const {
458
3.36k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
459
3.14k
    return gccAsmStmt->getInputConstraint(i);
460
216
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
461
216
    return msAsmStmt->getInputConstraint(i);
462
0
  llvm_unreachable("unknown asm statement kind!");
463
0
}
464
465
1.72k
const Expr *AsmStmt::getInputExpr(unsigned i) const {
466
1.72k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
467
1.61k
    return gccAsmStmt->getInputExpr(i);
468
108
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
469
108
    return msAsmStmt->getInputExpr(i);
470
0
  llvm_unreachable("unknown asm statement kind!");
471
0
}
472
473
1.14k
StringRef AsmStmt::getClobber(unsigned i) const {
474
1.14k
  if (const auto *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
475
960
    return gccAsmStmt->getClobber(i);
476
189
  if (const auto *msAsmStmt = dyn_cast<MSAsmStmt>(this))
477
189
    return msAsmStmt->getClobber(i);
478
0
  llvm_unreachable("unknown asm statement kind!");
479
0
}
480
481
/// getNumPlusOperands - Return the number of output operands that have a "+"
482
/// constraint.
483
12.6k
unsigned AsmStmt::getNumPlusOperands() const {
484
12.6k
  unsigned Res = 0;
485
24.7k
  for (unsigned i = 0, e = getNumOutputs(); i != e; 
++i12.0k
)
486
12.0k
    if (isOutputPlusConstraint(i))
487
861
      ++Res;
488
12.6k
  return Res;
489
12.6k
}
490
491
13.1k
char GCCAsmStmt::AsmStringPiece::getModifier() const {
492
13.1k
  assert(isOperand() && "Only Operands can have modifiers.");
493
12.6k
  return isLetter(Str[0]) ? 
Str[0]525
: '\0';
494
13.1k
}
495
496
960
StringRef GCCAsmStmt::getClobber(unsigned i) const {
497
960
  return getClobberStringLiteral(i)->getString();
498
960
}
499
500
1.64k
Expr *GCCAsmStmt::getOutputExpr(unsigned i) {
501
1.64k
  return cast<Expr>(Exprs[i]);
502
1.64k
}
503
504
/// getOutputConstraint - Return the constraint string for the specified
505
/// output operand.  All output constraints are known to be non-empty (either
506
/// '=' or '+').
507
14.3k
StringRef GCCAsmStmt::getOutputConstraint(unsigned i) const {
508
14.3k
  return getOutputConstraintLiteral(i)->getString();
509
14.3k
}
510
511
1.86k
Expr *GCCAsmStmt::getInputExpr(unsigned i) {
512
1.86k
  return cast<Expr>(Exprs[i + NumOutputs]);
513
1.86k
}
514
515
2
void GCCAsmStmt::setInputExpr(unsigned i, Expr *E) {
516
2
  Exprs[i + NumOutputs] = E;
517
2
}
518
519
55
AddrLabelExpr *GCCAsmStmt::getLabelExpr(unsigned i) const {
520
55
  return cast<AddrLabelExpr>(Exprs[i + NumOutputs + NumInputs]);
521
55
}
522
523
51
StringRef GCCAsmStmt::getLabelName(unsigned i) const {
524
51
  return getLabelExpr(i)->getLabel()->getName();
525
51
}
526
527
/// getInputConstraint - Return the specified input constraint.  Unlike output
528
/// constraints, these can be empty.
529
3.14k
StringRef GCCAsmStmt::getInputConstraint(unsigned i) const {
530
3.14k
  return getInputConstraintLiteral(i)->getString();
531
3.14k
}
532
533
void GCCAsmStmt::setOutputsAndInputsAndClobbers(const ASTContext &C,
534
                                                IdentifierInfo **Names,
535
                                                StringLiteral **Constraints,
536
                                                Stmt **Exprs,
537
                                                unsigned NumOutputs,
538
                                                unsigned NumInputs,
539
                                                unsigned NumLabels,
540
                                                StringLiteral **Clobbers,
541
10
                                                unsigned NumClobbers) {
542
10
  this->NumOutputs = NumOutputs;
543
10
  this->NumInputs = NumInputs;
544
10
  this->NumClobbers = NumClobbers;
545
10
  this->NumLabels = NumLabels;
546
547
10
  unsigned NumExprs = NumOutputs + NumInputs + NumLabels;
548
549
10
  C.Deallocate(this->Names);
550
10
  this->Names = new (C) IdentifierInfo*[NumExprs];
551
10
  std::copy(Names, Names + NumExprs, this->Names);
552
553
10
  C.Deallocate(this->Exprs);
554
10
  this->Exprs = new (C) Stmt*[NumExprs];
555
10
  std::copy(Exprs, Exprs + NumExprs, this->Exprs);
556
557
10
  unsigned NumConstraints = NumOutputs + NumInputs;
558
10
  C.Deallocate(this->Constraints);
559
10
  this->Constraints = new (C) StringLiteral*[NumConstraints];
560
10
  std::copy(Constraints, Constraints + NumConstraints, this->Constraints);
561
562
10
  C.Deallocate(this->Clobbers);
563
10
  this->Clobbers = new (C) StringLiteral*[NumClobbers];
564
10
  std::copy(Clobbers, Clobbers + NumClobbers, this->Clobbers);
565
10
}
566
567
/// getNamedOperand - Given a symbolic operand reference like %[foo],
568
/// translate this into a numeric value needed to reference the same operand.
569
/// This returns -1 if the operand name is invalid.
570
452
int GCCAsmStmt::getNamedOperand(StringRef SymbolicName) const {
571
452
  unsigned NumPlusOperands = 0;
572
573
  // Check if this is an output operand.
574
744
  for (unsigned i = 0, e = getNumOutputs(); i != e; 
++i292
) {
575
485
    if (getOutputName(i) == SymbolicName)
576
193
      return i;
577
485
  }
578
579
387
  
for (unsigned i = 0, e = getNumInputs(); 259
i != e;
++i128
)
580
356
    if (getInputName(i) == SymbolicName)
581
228
      return getNumOutputs() + NumPlusOperands + i;
582
583
40
  
for (unsigned i = 0, e = getNumLabels(); 31
i != e;
++i9
)
584
31
    if (getLabelName(i) == SymbolicName)
585
22
      return i + getNumOutputs() + getNumInputs();
586
587
  // Not found.
588
9
  return -1;
589
31
}
590
591
/// AnalyzeAsmString - Analyze the asm string of the current asm, decomposing
592
/// it into pieces.  If the asm string is erroneous, emit errors and return
593
/// true, otherwise return false.
594
unsigned GCCAsmStmt::AnalyzeAsmString(SmallVectorImpl<AsmStringPiece>&Pieces,
595
7.44k
                                const ASTContext &C, unsigned &DiagOffs) const {
596
7.44k
  StringRef Str = getAsmString()->getString();
597
7.44k
  const char *StrStart = Str.begin();
598
7.44k
  const char *StrEnd = Str.end();
599
7.44k
  const char *CurPtr = StrStart;
600
601
  // "Simple" inline asms have no constraints or operands, just convert the asm
602
  // string to escape $'s.
603
7.44k
  if (isSimple()) {
604
380
    std::string Result;
605
3.42k
    for (; CurPtr != StrEnd; 
++CurPtr3.04k
) {
606
3.04k
      switch (*CurPtr) {
607
8
      case '$':
608
8
        Result += "$$";
609
8
        break;
610
3.03k
      default:
611
3.03k
        Result += *CurPtr;
612
3.03k
        break;
613
3.04k
      }
614
3.04k
    }
615
380
    Pieces.push_back(AsmStringPiece(Result));
616
380
    return 0;
617
7.06k
  }
618
619
  // CurStringPiece - The current string that we are building up as we scan the
620
  // asm string.
621
7.06k
  std::string CurStringPiece;
622
623
7.06k
  bool HasVariants = !C.getTargetInfo().hasNoAsmVariants();
624
625
7.06k
  unsigned LastAsmStringToken = 0;
626
7.06k
  unsigned LastAsmStringOffset = 0;
627
628
115k
  while (true) {
629
    // Done with the string?
630
115k
    if (CurPtr == StrEnd) {
631
7.04k
      if (!CurStringPiece.empty())
632
4.25k
        Pieces.push_back(AsmStringPiece(CurStringPiece));
633
7.04k
      return 0;
634
7.04k
    }
635
636
108k
    char CurChar = *CurPtr++;
637
108k
    switch (CurChar) {
638
670
    case '$': CurStringPiece += "$$"; continue;
639
14
    case '{': CurStringPiece += (HasVariants ? 
"$("2
:
"{"12
); continue;
640
4
    case '|': CurStringPiece += (HasVariants ? "$|" : 
"|"0
); continue;
641
14
    case '}': CurStringPiece += (HasVariants ? 
"$)"2
:
"}"12
); continue;
642
13.7k
    case '%':
643
13.7k
      break;
644
93.7k
    default:
645
93.7k
      CurStringPiece += CurChar;
646
93.7k
      continue;
647
13.7k
    }
648
649
    // Escaped "%" character in asm string.
650
13.7k
    if (CurPtr == StrEnd) {
651
      // % at end of string is invalid (no escape).
652
1
      DiagOffs = CurPtr-StrStart-1;
653
1
      return diag::err_asm_invalid_escape;
654
1
    }
655
    // Handle escaped char and continue looping over the asm string.
656
13.7k
    char EscapedChar = *CurPtr++;
657
13.7k
    switch (EscapedChar) {
658
13.1k
    default:
659
13.1k
      break;
660
561
    case '%': // %% -> %
661
573
    case '{': // %{ -> {
662
585
    case '}': // %} -> }
663
585
      CurStringPiece += EscapedChar;
664
585
      continue;
665
2
    case '=': // %= -> Generate a unique ID.
666
2
      CurStringPiece += "${:uid}";
667
2
      continue;
668
13.1k
    }
669
670
    // Otherwise, we have an operand.  If we have accumulated a string so far,
671
    // add it to the Pieces list.
672
13.1k
    if (!CurStringPiece.empty()) {
673
13.1k
      Pieces.push_back(AsmStringPiece(CurStringPiece));
674
13.1k
      CurStringPiece.clear();
675
13.1k
    }
676
677
    // Handle operands that have asmSymbolicName (e.g., %x[foo]) and those that
678
    // don't (e.g., %x4). 'x' following the '%' is the constraint modifier.
679
680
13.1k
    const char *Begin = CurPtr - 1; // Points to the character following '%'.
681
13.1k
    const char *Percent = Begin - 1; // Points to '%'.
682
683
13.1k
    if (isLetter(EscapedChar)) {
684
500
      if (CurPtr == StrEnd) { // Premature end.
685
1
        DiagOffs = CurPtr-StrStart-1;
686
1
        return diag::err_asm_invalid_escape;
687
1
      }
688
499
      EscapedChar = *CurPtr++;
689
499
    }
690
691
13.1k
    const TargetInfo &TI = C.getTargetInfo();
692
13.1k
    const SourceManager &SM = C.getSourceManager();
693
13.1k
    const LangOptions &LO = C.getLangOpts();
694
695
    // Handle operands that don't have asmSymbolicName (e.g., %x4).
696
13.1k
    if (isDigit(EscapedChar)) {
697
      // %n - Assembler operand n
698
12.6k
      unsigned N = 0;
699
700
12.6k
      --CurPtr;
701
25.3k
      while (CurPtr != StrEnd && 
isDigit(*CurPtr)23.5k
)
702
12.6k
        N = N*10 + ((*CurPtr++)-'0');
703
704
12.6k
      unsigned NumOperands = getNumOutputs() + getNumPlusOperands() +
705
12.6k
                             getNumInputs() + getNumLabels();
706
12.6k
      if (N >= NumOperands) {
707
10
        DiagOffs = CurPtr-StrStart-1;
708
10
        return diag::err_asm_invalid_operand_number;
709
10
      }
710
711
      // Str contains "x4" (Operand without the leading %).
712
12.6k
      std::string Str(Begin, CurPtr - Begin);
713
714
      // (BeginLoc, EndLoc) represents the range of the operand we are currently
715
      // processing. Unlike Str, the range includes the leading '%'.
716
12.6k
      SourceLocation BeginLoc = getAsmString()->getLocationOfByte(
717
12.6k
          Percent - StrStart, SM, LO, TI, &LastAsmStringToken,
718
12.6k
          &LastAsmStringOffset);
719
12.6k
      SourceLocation EndLoc = getAsmString()->getLocationOfByte(
720
12.6k
          CurPtr - StrStart, SM, LO, TI, &LastAsmStringToken,
721
12.6k
          &LastAsmStringOffset);
722
723
12.6k
      Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
724
12.6k
      continue;
725
12.6k
    }
726
727
    // Handle operands that have asmSymbolicName (e.g., %x[foo]).
728
455
    if (EscapedChar == '[') {
729
454
      DiagOffs = CurPtr-StrStart-1;
730
731
      // Find the ']'.
732
454
      const char *NameEnd = (const char*)memchr(CurPtr, ']', StrEnd-CurPtr);
733
454
      if (NameEnd == nullptr)
734
1
        return diag::err_asm_unterminated_symbolic_operand_name;
735
453
      if (NameEnd == CurPtr)
736
1
        return diag::err_asm_empty_symbolic_operand_name;
737
738
452
      StringRef SymbolicName(CurPtr, NameEnd - CurPtr);
739
740
452
      int N = getNamedOperand(SymbolicName);
741
452
      if (N == -1) {
742
        // Verify that an operand with that name exists.
743
9
        DiagOffs = CurPtr-StrStart;
744
9
        return diag::err_asm_unknown_symbolic_operand_name;
745
9
      }
746
747
      // Str contains "x[foo]" (Operand without the leading %).
748
443
      std::string Str(Begin, NameEnd + 1 - Begin);
749
750
      // (BeginLoc, EndLoc) represents the range of the operand we are currently
751
      // processing. Unlike Str, the range includes the leading '%'.
752
443
      SourceLocation BeginLoc = getAsmString()->getLocationOfByte(
753
443
          Percent - StrStart, SM, LO, TI, &LastAsmStringToken,
754
443
          &LastAsmStringOffset);
755
443
      SourceLocation EndLoc = getAsmString()->getLocationOfByte(
756
443
          NameEnd + 1 - StrStart, SM, LO, TI, &LastAsmStringToken,
757
443
          &LastAsmStringOffset);
758
759
443
      Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
760
761
443
      CurPtr = NameEnd+1;
762
443
      continue;
763
443
    }
764
765
1
    DiagOffs = CurPtr-StrStart-1;
766
1
    return diag::err_asm_invalid_escape;
767
1
  }
768
7.06k
}
769
770
/// Assemble final IR asm string (GCC-style).
771
1.45k
std::string GCCAsmStmt::generateAsmString(const ASTContext &C) const {
772
  // Analyze the asm string to decompose it into its pieces.  We know that Sema
773
  // has already done this, so it is guaranteed to be successful.
774
1.45k
  SmallVector<GCCAsmStmt::AsmStringPiece, 4> Pieces;
775
1.45k
  unsigned DiagOffs;
776
1.45k
  AnalyzeAsmString(Pieces, C, DiagOffs);
777
778
1.45k
  std::string AsmString;
779
6.11k
  for (const auto &Piece : Pieces) {
780
6.11k
    if (Piece.isString())
781
3.36k
      AsmString += Piece.getString();
782
2.74k
    else if (Piece.getModifier() == '\0')
783
2.64k
      AsmString += '$' + llvm::utostr(Piece.getOperandNo());
784
99
    else
785
99
      AsmString += "${" + llvm::utostr(Piece.getOperandNo()) + ':' +
786
99
                   Piece.getModifier() + '}';
787
6.11k
  }
788
1.45k
  return AsmString;
789
1.45k
}
790
791
/// Assemble final IR asm string (MS-style).
792
156
std::string MSAsmStmt::generateAsmString(const ASTContext &C) const {
793
  // FIXME: This needs to be translated into the IR string representation.
794
156
  SmallVector<StringRef, 8> Pieces;
795
156
  AsmStr.split(Pieces, "\n\t");
796
156
  std::string MSAsmString;
797
520
  for (size_t I = 0, E = Pieces.size(); I < E; 
++I364
) {
798
364
    StringRef Instruction = Pieces[I];
799
    // For vex/vex2/vex3/evex masm style prefix, convert it to att style
800
    // since we don't support masm style prefix in backend.
801
364
    if (Instruction.startswith("vex "))
802
2
      MSAsmString += '{' + Instruction.substr(0, 3).str() + '}' +
803
2
                     Instruction.substr(3).str();
804
362
    else if (Instruction.startswith("vex2 ") ||
805
360
             Instruction.startswith("vex3 ") || 
Instruction.startswith("evex ")358
)
806
6
      MSAsmString += '{' + Instruction.substr(0, 4).str() + '}' +
807
6
                     Instruction.substr(4).str();
808
356
    else
809
356
      MSAsmString += Instruction.str();
810
    // If this is not the last instruction, adding back the '\n\t'.
811
364
    if (I < E - 1)
812
208
      MSAsmString += "\n\t";
813
364
  }
814
156
  return MSAsmString;
815
156
}
816
817
21
Expr *MSAsmStmt::getOutputExpr(unsigned i) {
818
21
  return cast<Expr>(Exprs[i]);
819
21
}
820
821
108
Expr *MSAsmStmt::getInputExpr(unsigned i) {
822
108
  return cast<Expr>(Exprs[i + NumOutputs]);
823
108
}
824
825
0
void MSAsmStmt::setInputExpr(unsigned i, Expr *E) {
826
0
  Exprs[i + NumOutputs] = E;
827
0
}
828
829
//===----------------------------------------------------------------------===//
830
// Constructors
831
//===----------------------------------------------------------------------===//
832
833
GCCAsmStmt::GCCAsmStmt(const ASTContext &C, SourceLocation asmloc,
834
                       bool issimple, bool isvolatile, unsigned numoutputs,
835
                       unsigned numinputs, IdentifierInfo **names,
836
                       StringLiteral **constraints, Expr **exprs,
837
                       StringLiteral *asmstr, unsigned numclobbers,
838
                       StringLiteral **clobbers, unsigned numlabels,
839
                       SourceLocation rparenloc)
840
    : AsmStmt(GCCAsmStmtClass, asmloc, issimple, isvolatile, numoutputs,
841
              numinputs, numclobbers),
842
6.20k
              RParenLoc(rparenloc), AsmStr(asmstr), NumLabels(numlabels) {
843
6.20k
  unsigned NumExprs = NumOutputs + NumInputs + NumLabels;
844
845
6.20k
  Names = new (C) IdentifierInfo*[NumExprs];
846
6.20k
  std::copy(names, names + NumExprs, Names);
847
848
6.20k
  Exprs = new (C) Stmt*[NumExprs];
849
6.20k
  std::copy(exprs, exprs + NumExprs, Exprs);
850
851
6.20k
  unsigned NumConstraints = NumOutputs + NumInputs;
852
6.20k
  Constraints = new (C) StringLiteral*[NumConstraints];
853
6.20k
  std::copy(constraints, constraints + NumConstraints, Constraints);
854
855
6.20k
  Clobbers = new (C) StringLiteral*[NumClobbers];
856
6.20k
  std::copy(clobbers, clobbers + NumClobbers, Clobbers);
857
6.20k
}
858
859
MSAsmStmt::MSAsmStmt(const ASTContext &C, SourceLocation asmloc,
860
                     SourceLocation lbraceloc, bool issimple, bool isvolatile,
861
                     ArrayRef<Token> asmtoks, unsigned numoutputs,
862
                     unsigned numinputs,
863
                     ArrayRef<StringRef> constraints, ArrayRef<Expr*> exprs,
864
                     StringRef asmstr, ArrayRef<StringRef> clobbers,
865
                     SourceLocation endloc)
866
    : AsmStmt(MSAsmStmtClass, asmloc, issimple, isvolatile, numoutputs,
867
              numinputs, clobbers.size()), LBraceLoc(lbraceloc),
868
218
              EndLoc(endloc), NumAsmToks(asmtoks.size()) {
869
218
  initialize(C, asmstr, asmtoks, constraints, exprs, clobbers);
870
218
}
871
872
591
static StringRef copyIntoContext(const ASTContext &C, StringRef str) {
873
591
  return str.copy(C);
874
591
}
875
876
void MSAsmStmt::initialize(const ASTContext &C, StringRef asmstr,
877
                           ArrayRef<Token> asmtoks,
878
                           ArrayRef<StringRef> constraints,
879
                           ArrayRef<Expr*> exprs,
880
218
                           ArrayRef<StringRef> clobbers) {
881
218
  assert(NumAsmToks == asmtoks.size());
882
218
  assert(NumClobbers == clobbers.size());
883
884
218
  assert(exprs.size() == NumOutputs + NumInputs);
885
218
  assert(exprs.size() == constraints.size());
886
887
218
  AsmStr = copyIntoContext(C, asmstr);
888
889
218
  Exprs = new (C) Stmt*[exprs.size()];
890
218
  std::copy(exprs.begin(), exprs.end(), Exprs);
891
892
218
  AsmToks = new (C) Token[asmtoks.size()];
893
218
  std::copy(asmtoks.begin(), asmtoks.end(), AsmToks);
894
895
218
  Constraints = new (C) StringRef[exprs.size()];
896
218
  std::transform(constraints.begin(), constraints.end(), Constraints,
897
142
                 [&](StringRef Constraint) {
898
142
                   return copyIntoContext(C, Constraint);
899
142
                 });
900
901
218
  Clobbers = new (C) StringRef[NumClobbers];
902
  // FIXME: Avoid the allocation/copy if at all possible.
903
218
  std::transform(clobbers.begin(), clobbers.end(), Clobbers,
904
231
                 [&](StringRef Clobber) {
905
231
                   return copyIntoContext(C, Clobber);
906
231
                 });
907
218
}
908
909
IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, bool IsConstexpr,
910
               Stmt *Init, VarDecl *Var, Expr *Cond, SourceLocation LPL,
911
               SourceLocation RPL, Stmt *Then, SourceLocation EL, Stmt *Else)
912
523k
    : Stmt(IfStmtClass), LParenLoc(LPL), RParenLoc(RPL) {
913
523k
  bool HasElse = Else != nullptr;
914
523k
  bool HasVar = Var != nullptr;
915
523k
  bool HasInit = Init != nullptr;
916
523k
  IfStmtBits.HasElse = HasElse;
917
523k
  IfStmtBits.HasVar = HasVar;
918
523k
  IfStmtBits.HasInit = HasInit;
919
920
523k
  setConstexpr(IsConstexpr);
921
922
523k
  setCond(Cond);
923
523k
  setThen(Then);
924
523k
  if (HasElse)
925
111k
    setElse(Else);
926
523k
  if (HasVar)
927
420
    setConditionVariable(Ctx, Var);
928
523k
  if (HasInit)
929
223
    setInit(Init);
930
931
523k
  setIfLoc(IL);
932
523k
  if (HasElse)
933
111k
    setElseLoc(EL);
934
523k
}
935
936
IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit)
937
68.6k
    : Stmt(IfStmtClass, Empty) {
938
68.6k
  IfStmtBits.HasElse = HasElse;
939
68.6k
  IfStmtBits.HasVar = HasVar;
940
68.6k
  IfStmtBits.HasInit = HasInit;
941
68.6k
}
942
943
IfStmt *IfStmt::Create(const ASTContext &Ctx, SourceLocation IL,
944
                       bool IsConstexpr, Stmt *Init, VarDecl *Var, Expr *Cond,
945
                       SourceLocation LPL, SourceLocation RPL, Stmt *Then,
946
523k
                       SourceLocation EL, Stmt *Else) {
947
523k
  bool HasElse = Else != nullptr;
948
523k
  bool HasVar = Var != nullptr;
949
523k
  bool HasInit = Init != nullptr;
950
523k
  void *Mem = Ctx.Allocate(
951
523k
      totalSizeToAlloc<Stmt *, SourceLocation>(
952
523k
          NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
953
523k
      alignof(IfStmt));
954
523k
  return new (Mem)
955
523k
      IfStmt(Ctx, IL, IsConstexpr, Init, Var, Cond, LPL, RPL, Then, EL, Else);
956
523k
}
957
958
IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
959
68.6k
                            bool HasInit) {
960
68.6k
  void *Mem = Ctx.Allocate(
961
68.6k
      totalSizeToAlloc<Stmt *, SourceLocation>(
962
68.6k
          NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
963
68.6k
      alignof(IfStmt));
964
68.6k
  return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit);
965
68.6k
}
966
967
354k
VarDecl *IfStmt::getConditionVariable() {
968
354k
  auto *DS = getConditionVariableDeclStmt();
969
354k
  if (!DS)
970
353k
    return nullptr;
971
586
  return cast<VarDecl>(DS->getSingleDecl());
972
586
}
973
974
474
void IfStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {
975
474
  assert(hasVarStorage() &&
976
474
         "This if statement has no storage for a condition variable!");
977
978
474
  if (!V) {
979
0
    getTrailingObjects<Stmt *>()[varOffset()] = nullptr;
980
0
    return;
981
0
  }
982
983
474
  SourceRange VarRange = V->getSourceRange();
984
474
  getTrailingObjects<Stmt *>()[varOffset()] = new (Ctx)
985
474
      DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd());
986
474
}
987
988
36.9k
bool IfStmt::isObjCAvailabilityCheck() const {
989
36.9k
  return isa<ObjCAvailabilityCheckExpr>(getCond());
990
36.9k
}
991
992
95
Optional<const Stmt*> IfStmt::getNondiscardedCase(const ASTContext &Ctx) const {
993
95
  if (!isConstexpr() || 
getCond()->isValueDependent()3
)
994
92
    return None;
995
3
  return !getCond()->EvaluateKnownConstInt(Ctx) ? 
getElse()2
:
getThen()1
;
996
3
}
997
998
ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar,
999
                 Expr *Inc, Stmt *Body, SourceLocation FL, SourceLocation LP,
1000
                 SourceLocation RP)
1001
  : Stmt(ForStmtClass), LParenLoc(LP), RParenLoc(RP)
1002
254k
{
1003
254k
  SubExprs[INIT] = Init;
1004
254k
  setConditionVariable(C, condVar);
1005
254k
  SubExprs[COND] = Cond;
1006
254k
  SubExprs[INC] = Inc;
1007
254k
  SubExprs[BODY] = Body;
1008
254k
  ForStmtBits.ForLoc = FL;
1009
254k
}
1010
1011
163k
VarDecl *ForStmt::getConditionVariable() const {
1012
163k
  if (!SubExprs[CONDVAR])
1013
163k
    return nullptr;
1014
1015
135
  auto *DS = cast<DeclStmt>(SubExprs[CONDVAR]);
1016
135
  return cast<VarDecl>(DS->getSingleDecl());
1017
135
}
1018
1019
272k
void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) {
1020
272k
  if (!V) {
1021
272k
    SubExprs[CONDVAR] = nullptr;
1022
272k
    return;
1023
272k
  }
1024
1025
69
  SourceRange VarRange = V->getSourceRange();
1026
69
  SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
1027
69
                                       VarRange.getEnd());
1028
69
}
1029
1030
SwitchStmt::SwitchStmt(const ASTContext &Ctx, Stmt *Init, VarDecl *Var,
1031
                       Expr *Cond, SourceLocation LParenLoc,
1032
                       SourceLocation RParenLoc)
1033
    : Stmt(SwitchStmtClass), FirstCase(nullptr), LParenLoc(LParenLoc),
1034
6.79k
      RParenLoc(RParenLoc) {
1035
6.79k
  bool HasInit = Init != nullptr;
1036
6.79k
  bool HasVar = Var != nullptr;
1037
6.79k
  SwitchStmtBits.HasInit = HasInit;
1038
6.79k
  SwitchStmtBits.HasVar = HasVar;
1039
6.79k
  SwitchStmtBits.AllEnumCasesCovered = false;
1040
1041
6.79k
  setCond(Cond);
1042
6.79k
  setBody(nullptr);
1043
6.79k
  if (HasInit)
1044
81
    setInit(Init);
1045
6.79k
  if (HasVar)
1046
56
    setConditionVariable(Ctx, Var);
1047
1048
6.79k
  setSwitchLoc(SourceLocation{});
1049
6.79k
}
1050
1051
SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar)
1052
550
    : Stmt(SwitchStmtClass, Empty) {
1053
550
  SwitchStmtBits.HasInit = HasInit;
1054
550
  SwitchStmtBits.HasVar = HasVar;
1055
550
  SwitchStmtBits.AllEnumCasesCovered = false;
1056
550
}
1057
1058
SwitchStmt *SwitchStmt::Create(const ASTContext &Ctx, Stmt *Init, VarDecl *Var,
1059
                               Expr *Cond, SourceLocation LParenLoc,
1060
6.79k
                               SourceLocation RParenLoc) {
1061
6.79k
  bool HasInit = Init != nullptr;
1062
6.79k
  bool HasVar = Var != nullptr;
1063
6.79k
  void *Mem = Ctx.Allocate(
1064
6.79k
      totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1065
6.79k
      alignof(SwitchStmt));
1066
6.79k
  return new (Mem) SwitchStmt(Ctx, Init, Var, Cond, LParenLoc, RParenLoc);
1067
6.79k
}
1068
1069
SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit,
1070
550
                                    bool HasVar) {
1071
550
  void *Mem = Ctx.Allocate(
1072
550
      totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1073
550
      alignof(SwitchStmt));
1074
550
  return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar);
1075
550
}
1076
1077
8.31k
VarDecl *SwitchStmt::getConditionVariable() {
1078
8.31k
  auto *DS = getConditionVariableDeclStmt();
1079
8.31k
  if (!DS)
1080
8.17k
    return nullptr;
1081
140
  return cast<VarDecl>(DS->getSingleDecl());
1082
140
}
1083
1084
56
void SwitchStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {
1085
56
  assert(hasVarStorage() &&
1086
56
         "This switch statement has no storage for a condition variable!");
1087
1088
56
  if (!V) {
1089
0
    getTrailingObjects<Stmt *>()[varOffset()] = nullptr;
1090
0
    return;
1091
0
  }
1092
1093
56
  SourceRange VarRange = V->getSourceRange();
1094
56
  getTrailingObjects<Stmt *>()[varOffset()] = new (Ctx)
1095
56
      DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd());
1096
56
}
1097
1098
WhileStmt::WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond,
1099
                     Stmt *Body, SourceLocation WL, SourceLocation LParenLoc,
1100
                     SourceLocation RParenLoc)
1101
48.8k
    : Stmt(WhileStmtClass) {
1102
48.8k
  bool HasVar = Var != nullptr;
1103
48.8k
  WhileStmtBits.HasVar = HasVar;
1104
1105
48.8k
  setCond(Cond);
1106
48.8k
  setBody(Body);
1107
48.8k
  if (HasVar)
1108
536
    setConditionVariable(Ctx, Var);
1109
1110
48.8k
  setWhileLoc(WL);
1111
48.8k
  setLParenLoc(LParenLoc);
1112
48.8k
  setRParenLoc(RParenLoc);
1113
48.8k
}
1114
1115
WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar)
1116
4.50k
    : Stmt(WhileStmtClass, Empty) {
1117
4.50k
  WhileStmtBits.HasVar = HasVar;
1118
4.50k
}
1119
1120
WhileStmt *WhileStmt::Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond,
1121
                             Stmt *Body, SourceLocation WL,
1122
                             SourceLocation LParenLoc,
1123
48.8k
                             SourceLocation RParenLoc) {
1124
48.8k
  bool HasVar = Var != nullptr;
1125
48.8k
  void *Mem =
1126
48.8k
      Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1127
48.8k
                   alignof(WhileStmt));
1128
48.8k
  return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc);
1129
48.8k
}
1130
1131
4.50k
WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) {
1132
4.50k
  void *Mem =
1133
4.50k
      Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1134
4.50k
                   alignof(WhileStmt));
1135
4.50k
  return new (Mem) WhileStmt(EmptyShell(), HasVar);
1136
4.50k
}
1137
1138
17.2k
VarDecl *WhileStmt::getConditionVariable() {
1139
17.2k
  auto *DS = getConditionVariableDeclStmt();
1140
17.2k
  if (!DS)
1141
17.0k
    return nullptr;
1142
207
  return cast<VarDecl>(DS->getSingleDecl());
1143
207
}
1144
1145
599
void WhileStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {
1146
599
  assert(hasVarStorage() &&
1147
599
         "This while statement has no storage for a condition variable!");
1148
1149
599
  if (!V) {
1150
0
    getTrailingObjects<Stmt *>()[varOffset()] = nullptr;
1151
0
    return;
1152
0
  }
1153
1154
599
  SourceRange VarRange = V->getSourceRange();
1155
599
  getTrailingObjects<Stmt *>()[varOffset()] = new (Ctx)
1156
599
      DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd());
1157
599
}
1158
1159
// IndirectGotoStmt
1160
156
LabelDecl *IndirectGotoStmt::getConstantTarget() {
1161
156
  if (auto *E = dyn_cast<AddrLabelExpr>(getTarget()->IgnoreParenImpCasts()))
1162
14
    return E->getLabel();
1163
142
  return nullptr;
1164
142
}
1165
1166
// ReturnStmt
1167
ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate)
1168
3.08M
    : Stmt(ReturnStmtClass), RetExpr(E) {
1169
3.08M
  bool HasNRVOCandidate = NRVOCandidate != nullptr;
1170
3.08M
  ReturnStmtBits.HasNRVOCandidate = HasNRVOCandidate;
1171
3.08M
  if (HasNRVOCandidate)
1172
53.2k
    setNRVOCandidate(NRVOCandidate);
1173
3.08M
  setReturnLoc(RL);
1174
3.08M
}
1175
1176
ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate)
1177
145k
    : Stmt(ReturnStmtClass, Empty) {
1178
145k
  ReturnStmtBits.HasNRVOCandidate = HasNRVOCandidate;
1179
145k
}
1180
1181
ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL,
1182
3.08M
                               Expr *E, const VarDecl *NRVOCandidate) {
1183
3.08M
  bool HasNRVOCandidate = NRVOCandidate != nullptr;
1184
3.08M
  void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate),
1185
3.08M
                           alignof(ReturnStmt));
1186
3.08M
  return new (Mem) ReturnStmt(RL, E, NRVOCandidate);
1187
3.08M
}
1188
1189
ReturnStmt *ReturnStmt::CreateEmpty(const ASTContext &Ctx,
1190
145k
                                    bool HasNRVOCandidate) {
1191
145k
  void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate),
1192
145k
                           alignof(ReturnStmt));
1193
145k
  return new (Mem) ReturnStmt(EmptyShell(), HasNRVOCandidate);
1194
145k
}
1195
1196
// CaseStmt
1197
CaseStmt *CaseStmt::Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs,
1198
                           SourceLocation caseLoc, SourceLocation ellipsisLoc,
1199
24.0k
                           SourceLocation colonLoc) {
1200
24.0k
  bool CaseStmtIsGNURange = rhs != nullptr;
1201
24.0k
  void *Mem = Ctx.Allocate(
1202
24.0k
      totalSizeToAlloc<Stmt *, SourceLocation>(
1203
24.0k
          NumMandatoryStmtPtr + CaseStmtIsGNURange, CaseStmtIsGNURange),
1204
24.0k
      alignof(CaseStmt));
1205
24.0k
  return new (Mem) CaseStmt(lhs, rhs, caseLoc, ellipsisLoc, colonLoc);
1206
24.0k
}
1207
1208
CaseStmt *CaseStmt::CreateEmpty(const ASTContext &Ctx,
1209
1.95k
                                bool CaseStmtIsGNURange) {
1210
1.95k
  void *Mem = Ctx.Allocate(
1211
1.95k
      totalSizeToAlloc<Stmt *, SourceLocation>(
1212
1.95k
          NumMandatoryStmtPtr + CaseStmtIsGNURange, CaseStmtIsGNURange),
1213
1.95k
      alignof(CaseStmt));
1214
1.95k
  return new (Mem) CaseStmt(EmptyShell(), CaseStmtIsGNURange);
1215
1.95k
}
1216
1217
SEHTryStmt::SEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, Stmt *TryBlock,
1218
                       Stmt *Handler)
1219
267
    : Stmt(SEHTryStmtClass), IsCXXTry(IsCXXTry), TryLoc(TryLoc) {
1220
267
  Children[TRY]     = TryBlock;
1221
267
  Children[HANDLER] = Handler;
1222
267
}
1223
1224
SEHTryStmt* SEHTryStmt::Create(const ASTContext &C, bool IsCXXTry,
1225
                               SourceLocation TryLoc, Stmt *TryBlock,
1226
267
                               Stmt *Handler) {
1227
267
  return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler);
1228
267
}
1229
1230
226
SEHExceptStmt* SEHTryStmt::getExceptHandler() const {
1231
226
  return dyn_cast<SEHExceptStmt>(getHandler());
1232
226
}
1233
1234
376
SEHFinallyStmt* SEHTryStmt::getFinallyHandler() const {
1235
376
  return dyn_cast<SEHFinallyStmt>(getHandler());
1236
376
}
1237
1238
SEHExceptStmt::SEHExceptStmt(SourceLocation Loc, Expr *FilterExpr, Stmt *Block)
1239
124
    : Stmt(SEHExceptStmtClass), Loc(Loc) {
1240
124
  Children[FILTER_EXPR] = FilterExpr;
1241
124
  Children[BLOCK]       = Block;
1242
124
}
1243
1244
SEHExceptStmt* SEHExceptStmt::Create(const ASTContext &C, SourceLocation Loc,
1245
124
                                     Expr *FilterExpr, Stmt *Block) {
1246
124
  return new(C) SEHExceptStmt(Loc,FilterExpr,Block);
1247
124
}
1248
1249
SEHFinallyStmt::SEHFinallyStmt(SourceLocation Loc, Stmt *Block)
1250
143
    : Stmt(SEHFinallyStmtClass), Loc(Loc), Block(Block) {}
1251
1252
SEHFinallyStmt* SEHFinallyStmt::Create(const ASTContext &C, SourceLocation Loc,
1253
143
                                       Stmt *Block) {
1254
143
  return new(C)SEHFinallyStmt(Loc,Block);
1255
143
}
1256
1257
CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
1258
                               VarDecl *Var)
1259
384k
    : VarAndKind(Var, Kind), Loc(Loc) {
1260
384k
  switch (Kind) {
1261
10.3k
  case VCK_This:
1262
10.3k
    assert(!Var && "'this' capture cannot have a variable!");
1263
10.3k
    break;
1264
182k
  case VCK_ByRef:
1265
182k
    assert(Var && "capturing by reference must have a variable!");
1266
182k
    break;
1267
182k
  case VCK_ByCopy:
1268
182k
    assert(Var && "capturing by copy must have a variable!");
1269
182k
    assert(
1270
182k
        (Var->getType()->isScalarType() || (Var->getType()->isReferenceType() &&
1271
182k
                                            Var->getType()
1272
182k
                                                ->castAs<ReferenceType>()
1273
182k
                                                ->getPointeeType()
1274
182k
                                                ->isScalarType())) &&
1275
182k
        "captures by copy are expected to have a scalar type!");
1276
182k
    break;
1277
8.77k
  case VCK_VLAType:
1278
8.77k
    assert(!Var &&
1279
8.77k
           "Variable-length array type capture cannot have a variable!");
1280
8.77k
    break;
1281
384k
  }
1282
384k
}
1283
1284
CapturedStmt::VariableCaptureKind
1285
4.15M
CapturedStmt::Capture::getCaptureKind() const {
1286
4.15M
  return VarAndKind.getInt();
1287
4.15M
}
1288
1289
1.37M
VarDecl *CapturedStmt::Capture::getCapturedVar() const {
1290
1.37M
  assert((capturesVariable() || capturesVariableByCopy()) &&
1291
1.37M
         "No variable available for 'this' or VAT capture");
1292
1.37M
  return VarAndKind.getPointer();
1293
1.37M
}
1294
1295
2.89M
CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
1296
2.89M
  unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
1297
1298
  // Offset of the first Capture object.
1299
2.89M
  unsigned FirstCaptureOffset = llvm::alignTo(Size, alignof(Capture));
1300
1301
2.89M
  return reinterpret_cast<Capture *>(
1302
2.89M
      reinterpret_cast<char *>(const_cast<CapturedStmt *>(this))
1303
2.89M
      + FirstCaptureOffset);
1304
2.89M
}
1305
1306
CapturedStmt::CapturedStmt(Stmt *S, CapturedRegionKind Kind,
1307
                           ArrayRef<Capture> Captures,
1308
                           ArrayRef<Expr *> CaptureInits,
1309
                           CapturedDecl *CD,
1310
                           RecordDecl *RD)
1311
  : Stmt(CapturedStmtClass), NumCaptures(Captures.size()),
1312
537k
    CapDeclAndKind(CD, Kind), TheRecordDecl(RD) {
1313
537k
  assert( S && "null captured statement");
1314
537k
  assert(CD && "null captured declaration for captured statement");
1315
537k
  assert(RD && "null record declaration for captured statement");
1316
1317
  // Copy initialization expressions.
1318
537k
  Stmt **Stored = getStoredStmts();
1319
921k
  for (unsigned I = 0, N = NumCaptures; I != N; 
++I384k
)
1320
384k
    *Stored++ = CaptureInits[I];
1321
1322
  // Copy the statement being captured.
1323
537k
  *Stored = S;
1324
1325
  // Copy all Capture objects.
1326
537k
  Capture *Buffer = getStoredCaptures();
1327
537k
  std::copy(Captures.begin(), Captures.end(), Buffer);
1328
537k
}
1329
1330
CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures)
1331
  : Stmt(CapturedStmtClass, Empty), NumCaptures(NumCaptures),
1332
30.5k
    CapDeclAndKind(nullptr, CR_Default) {
1333
30.5k
  getStoredStmts()[NumCaptures] = nullptr;
1334
30.5k
}
1335
1336
CapturedStmt *CapturedStmt::Create(const ASTContext &Context, Stmt *S,
1337
                                   CapturedRegionKind Kind,
1338
                                   ArrayRef<Capture> Captures,
1339
                                   ArrayRef<Expr *> CaptureInits,
1340
                                   CapturedDecl *CD,
1341
537k
                                   RecordDecl *RD) {
1342
  // The layout is
1343
  //
1344
  // -----------------------------------------------------------
1345
  // | CapturedStmt, Init, ..., Init, S, Capture, ..., Capture |
1346
  // ----------------^-------------------^----------------------
1347
  //                 getStoredStmts()    getStoredCaptures()
1348
  //
1349
  // where S is the statement being captured.
1350
  //
1351
537k
  assert(CaptureInits.size() == Captures.size() && "wrong number of arguments");
1352
1353
537k
  unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1);
1354
537k
  if (!Captures.empty()) {
1355
    // Realign for the following Capture array.
1356
232k
    Size = llvm::alignTo(Size, alignof(Capture));
1357
232k
    Size += sizeof(Capture) * Captures.size();
1358
232k
  }
1359
1360
537k
  void *Mem = Context.Allocate(Size);
1361
537k
  return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInits, CD, RD);
1362
537k
}
1363
1364
CapturedStmt *CapturedStmt::CreateDeserialized(const ASTContext &Context,
1365
30.5k
                                               unsigned NumCaptures) {
1366
30.5k
  unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
1367
30.5k
  if (NumCaptures > 0) {
1368
    // Realign for the following Capture array.
1369
17.4k
    Size = llvm::alignTo(Size, alignof(Capture));
1370
17.4k
    Size += sizeof(Capture) * NumCaptures;
1371
17.4k
  }
1372
1373
30.5k
  void *Mem = Context.Allocate(Size);
1374
30.5k
  return new (Mem) CapturedStmt(EmptyShell(), NumCaptures);
1375
30.5k
}
1376
1377
287k
Stmt::child_range CapturedStmt::children() {
1378
  // Children are captured field initializers.
1379
287k
  return child_range(getStoredStmts(), getStoredStmts() + NumCaptures);
1380
287k
}
1381
1382
0
Stmt::const_child_range CapturedStmt::children() const {
1383
0
  return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures);
1384
0
}
1385
1386
808k
CapturedDecl *CapturedStmt::getCapturedDecl() {
1387
808k
  return CapDeclAndKind.getPointer();
1388
808k
}
1389
1390
61.7k
const CapturedDecl *CapturedStmt::getCapturedDecl() const {
1391
61.7k
  return CapDeclAndKind.getPointer();
1392
61.7k
}
1393
1394
/// Set the outlined function declaration.
1395
30.5k
void CapturedStmt::setCapturedDecl(CapturedDecl *D) {
1396
30.5k
  assert(D && "null CapturedDecl");
1397
30.5k
  CapDeclAndKind.setPointer(D);
1398
30.5k
}
1399
1400
/// Retrieve the captured region kind.
1401
31.3k
CapturedRegionKind CapturedStmt::getCapturedRegionKind() const {
1402
31.3k
  return CapDeclAndKind.getInt();
1403
31.3k
}
1404
1405
/// Set the captured region kind.
1406
30.5k
void CapturedStmt::setCapturedRegionKind(CapturedRegionKind Kind) {
1407
30.5k
  CapDeclAndKind.setInt(Kind);
1408
30.5k
}
1409
1410
661k
bool CapturedStmt::capturesVariable(const VarDecl *Var) const {
1411
909k
  for (const auto &I : captures()) {
1412
909k
    if (!I.capturesVariable() && 
!I.capturesVariableByCopy()307k
)
1413
23.3k
      continue;
1414
886k
    if (I.getCapturedVar()->getCanonicalDecl() == Var->getCanonicalDecl())
1415
387k
      return true;
1416
886k
  }
1417
1418
274k
  return false;
1419
661k
}