class has_getDecl

Declaration

template <typename Ty>
class has_getDecl { /* full declaration omitted */ };

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:887

Templates

Ty

Member Variables

public static const bool value = sizeof (test<type-parameter-0-0>(nullptr)) == sizeof(char[1])

Method Overview

  • private template <typename Inner>static clang::ast_matchers::internal::has_getDecl::yes & test(Inner * I, decltype(I->getDecl()) * = nullptr)
  • private template <typename >static clang::ast_matchers::internal::has_getDecl::no & test(...)

Methods

template <typename Inner>
static clang::ast_matchers::internal::
    has_getDecl::yes&
    test(Inner* I,
         decltype(I->getDecl())* = nullptr)

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:892

Templates

Inner

Parameters

Inner* I
decltype(I->getDecl())* = nullptr

template <typename>
static clang::ast_matchers::internal::
    has_getDecl::no&
    test(...)

Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:895

Templates