class FunctionNoProtoType

Declaration

class FunctionNoProtoType : public FunctionType, public Node { /* full declaration omitted */ };

Description

Represents a K &R -style 'int foo()' function, which has no information available about its arguments.

Declared at: clang/include/clang/AST/Type.h:3918

Inherits from: FunctionType, FoldingSetBase::Node

Member Variables

Inherited from Type:

protected

Method Overview

  • private FunctionNoProtoType(clang::QualType Result, clang::QualType Canonical, clang::FunctionType::ExtInfo Info)
  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, clang::QualType ResultType, clang::FunctionType::ExtInfo Info)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType desugar() const
  • public bool isSugared() const

Inherited from FoldingSetBase::Node:

Inherited from FunctionType:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    FunctionNoProtoType(
        clang::QualType Result,
        clang::QualType Canonical,
        clang::FunctionType::ExtInfo Info)

    Declared at: clang/include/clang/AST/Type.h:3921

    Parameters

    clang::QualType Result
    clang::QualType Canonical
    clang::FunctionType::ExtInfo Info

    void Profile(llvm::FoldingSetNodeID& ID)

    Declared at: clang/include/clang/AST/Type.h:3934

    Parameters

    llvm::FoldingSetNodeID& ID

    static void Profile(
        llvm::FoldingSetNodeID& ID,
        clang::QualType ResultType,
        clang::FunctionType::ExtInfo Info)

    Declared at: clang/include/clang/AST/Type.h:3938

    Parameters

    llvm::FoldingSetNodeID& ID
    clang::QualType ResultType
    clang::FunctionType::ExtInfo Info

    static bool classof(const clang::Type* T)

    Declared at: clang/include/clang/AST/Type.h:3944

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

    Declared at: clang/include/clang/AST/Type.h:3932

    bool isSugared() const

    Declared at: clang/include/clang/AST/Type.h:3931