class Mergeable

Declaration

template <typename decl_type>
class Mergeable { /* full declaration omitted */ };

Description

Provides common interface for the Decls that cannot be redeclared, but can be merged if the same declaration is brought in from multiple modules.

Declared at: clang/include/clang/AST/Redeclarable.h:314

Templates

decl_type

Method Overview

Methods

Mergeable<decl_type>()

Declared at: clang/include/clang/AST/Redeclarable.h:316

decl_type* getFirstDecl()

Description

Return the first declaration of this declaration or itself if this is the only declaration.

Declared at: clang/include/clang/AST/Redeclarable.h:320

const decl_type* getFirstDecl() const

Description

Return the first declaration of this declaration or itself if this is the only declaration.

Declared at: clang/include/clang/AST/Redeclarable.h:329

bool isFirstDecl() const

Description

Returns true if this is the first declaration.

Declared at: clang/include/clang/AST/Redeclarable.h:337