clang
20.0.0git
lib
AST
StmtIterator.cpp
Go to the documentation of this file.
1
//===- StmtIterator.cpp - Iterators for Statements ------------------------===//
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 defines internal methods for StmtIterator.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "
clang/AST/StmtIterator.h
"
14
#include "
clang/AST/Decl.h
"
15
#include "
clang/AST/Type.h
"
16
#include "
clang/Basic/LLVM.h
"
17
#include <cassert>
18
#include <cstdint>
19
20
using namespace
clang
;
21
22
// FIXME: Add support for dependent-sized array types in C++?
23
// Does it even make sense to build a CFG for an uninstantiated template?
24
static
inline
const
VariableArrayType
*
FindVA
(
const