OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DynTypedNode
(Results
1 - 11
of
11
) sorted by null
/external/clang/include/clang/AST/
ASTTypeTraits.h
195
/// Use \c create(Node) to create a \c
DynTypedNode
from an AST node,
201
class
DynTypedNode
{
203
/// \brief Creates a \c
DynTypedNode
from \c Node.
205
static
DynTypedNode
create(const T &Node) {
218
/// in the \c
DynTypedNode
, and the returned pointer points at
219
/// the storage inside
DynTypedNode
. For those nodes, do not
220
/// use the pointer outside the scope of the
DynTypedNode
.
254
/// \brief Imposes an order on \c
DynTypedNode
.
259
bool operator<(const
DynTypedNode
&Other) const {
263
bool operator==(const
DynTypedNode
&Other) const
[
all
...]
ASTContext.h
436
typedef llvm::SmallVector<ast_type_traits::
DynTypedNode
, 2> ParentVector;
440
llvm::PointerUnion<ast_type_traits::
DynTypedNode
*,
468
ArrayRef<ast_type_traits::
DynTypedNode
> getParents(const NodeT &Node) {
469
return getParents(ast_type_traits::
DynTypedNode
::create(Node));
472
ArrayRef<ast_type_traits::
DynTypedNode
>
473
getParents(const ast_type_traits::
DynTypedNode
&Node);
[
all
...]
/external/clang/unittests/AST/
ASTTypeTraitsTest.cpp
116
TEST(
DynTypedNode
, DeclSourceRange) {
117
RangeVerifier<
DynTypedNode
> Verifier;
122
TEST(
DynTypedNode
, StmtSourceRange) {
123
RangeVerifier<
DynTypedNode
> Verifier;
128
TEST(
DynTypedNode
, TypeLocSourceRange) {
129
RangeVerifier<
DynTypedNode
> Verifier;
134
TEST(
DynTypedNode
, NNSLocSourceRange) {
135
RangeVerifier<
DynTypedNode
> Verifier;
141
TEST(
DynTypedNode
, DeclDump) {
147
TEST(
DynTypedNode
, StmtDump)
[
all
...]
MatchVerifier.h
143
inline void MatchVerifier<ast_type_traits::
DynTypedNode
>::run(
241
class DumpVerifier : public MatchVerifier<ast_type_traits::
DynTypedNode
> {
249
const ast_type_traits::
DynTypedNode
&Node) override {
268
class PrintVerifier : public MatchVerifier<ast_type_traits::
DynTypedNode
> {
276
const ast_type_traits::
DynTypedNode
&Node) override {
/external/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp
23
bool NotUnaryOperator(const ast_type_traits::
DynTypedNode
DynNode,
27
bool AllOfVariadicOperator(const ast_type_traits::
DynTypedNode
DynNode,
32
bool EachOfVariadicOperator(const ast_type_traits::
DynTypedNode
DynNode,
37
bool AnyOfVariadicOperator(const ast_type_traits::
DynTypedNode
DynNode,
54
const ast_type_traits::
DynTypedNode
DynNode, ASTMatchFinder *Finder,
63
bool dynMatches(const ast_type_traits::
DynTypedNode
&DynNode,
79
bool dynMatches(const ast_type_traits::
DynTypedNode
&DynNode,
102
bool dynMatches(const ast_type_traits::
DynTypedNode
&, ASTMatchFinder *,
181
bool DynTypedMatcher::matches(const ast_type_traits::
DynTypedNode
&DynNode,
196
const ast_type_traits::
DynTypedNode
&DynNode, ASTMatchFinder *Finder
[
all
...]
ASTMatchFinder.cpp
61
ast_type_traits::
DynTypedNode
Node;
113
bool findMatch(const ast_type_traits::
DynTypedNode
&DynNode) {
254
if (Matcher->matches(ast_type_traits::
DynTypedNode
::create(Node), Finder,
262
if (Matcher->matches(ast_type_traits::
DynTypedNode
::create(Node), Finder,
379
bool memoizedMatchesRecursively(const ast_type_traits::
DynTypedNode
&Node,
413
bool matchesRecursively(const ast_type_traits::
DynTypedNode
&Node,
427
bool matchesChildOf(const ast_type_traits::
DynTypedNode
&Node,
438
bool matchesDescendantOf(const ast_type_traits::
DynTypedNode
&Node,
448
bool matchesAncestorOf(const ast_type_traits::
DynTypedNode
&Node,
462
void match(const ast_type_traits::
DynTypedNode
&Node)
[
all
...]
/external/clang/include/clang/ASTMatchers/
ASTMatchFinder.h
183
match(clang::ast_type_traits::
DynTypedNode
::create(Node), Context);
185
void match(const clang::ast_type_traits::
DynTypedNode
&Node,
239
match(MatcherT Matcher, const ast_type_traits::
DynTypedNode
&Node,
275
match(MatcherT Matcher, const ast_type_traits::
DynTypedNode
&Node,
287
return match(Matcher, ast_type_traits::
DynTypedNode
::create(Node), Context);
ASTMatchersInternal.h
68
void addNode(StringRef ID, const ast_type_traits::
DynTypedNode
& DynNode) {
85
ast_type_traits::
DynTypedNode
getNode(StringRef ID) const {
88
return ast_type_traits::
DynTypedNode
();
103
typedef std::map<std::string, ast_type_traits::
DynTypedNode
> IDToNodeMap;
143
const ast_type_traits::
DynTypedNode
&DynNode) {
197
virtual bool dynMatches(const ast_type_traits::
DynTypedNode
&DynNode,
222
bool dynMatches(const ast_type_traits::
DynTypedNode
&DynNode,
250
/// \brief Matcher that works on a \c
DynTypedNode
.
254
/// It checks whether the \c
DynTypedNode
is convertible into the type of the
303
bool matches(const ast_type_traits::
DynTypedNode
&DynNode
[
all
...]
ASTMatchers.h
93
/// type of \c clang::ast_type_traits::
DynTypedNode
[
all
...]
/external/clang/lib/AST/
ASTTypeTraits.cpp
112
void
DynTypedNode
::print(llvm::raw_ostream &OS,
134
void
DynTypedNode
::dump(llvm::raw_ostream &OS, SourceManager &SM) const {
143
SourceRange
DynTypedNode
::getSourceRange() const {
ASTContext.cpp
792
if (Entry.second.is<ast_type_traits::
DynTypedNode
*>()) {
793
delete Entry.second.get<ast_type_traits::
DynTypedNode
*>();
[
all
...]
Completed in 231 milliseconds