A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/DeclVisitor_8h_source.html below:

clang: include/clang/AST/DeclVisitor.h Source File

Go to the documentation of this file. 13#ifndef LLVM_CLANG_AST_DECLVISITOR_H 14#define LLVM_CLANG_AST_DECLVISITOR_H 23#include "llvm/ADT/STLExtras.h" 24#include "llvm/Support/ErrorHandling.h" 28namespace

declvisitor {

30template

<

template

<

typename

>

class

Ptr,

typename

ImplClass,

typename

RetTy=

void

>

33#define PTR(CLASS) typename Ptr<CLASS>::type 34#define DISPATCH(NAME, CLASS) \ 35 return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D)) 38 switch

(

D

->getKind()) {

39#define DECL(DERIVED, BASE) \ 40 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl); 41#define ABSTRACT_DECL(DECL) 42#include "clang/AST/DeclNodes.inc" 44

llvm_unreachable(

"Decl that isn't part of DeclNodes.inc!"

);

49#define DECL(DERIVED, BASE) \ 50 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); } 51#include "clang/AST/DeclNodes.inc" 65template

<

typename

ImplClass,

typename

RetTy =

void

>

72template

<

typename

ImplClass,

typename

RetTy =

void

>

Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate....

This file defines OpenMP nodes for declarative directives.

Defines the C++ template declaration subclasses.

A simple visitor class that helps create declaration visitors.

A simple visitor class that helps create declaration visitors.

Decl - This represents one declaration (or definition), e.g.

A simple visitor class that helps create declaration visitors.

RetTy VisitDecl(PTR(Decl) D)

The JSON file list parser is used to communicate input to InstallAPI.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4