clang: clang::Mergeable< decl_type > Class Template Reference (original) (raw)

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

#include "[clang/AST/Redeclarable.h](Redeclarable%5F8h%5Fsource.html)"

Public Member Functions
Mergeable ()=default
decl_type * getFirstDecl ()
Return the first declaration of this declaration or itself if this is the only declaration.
const decl_type * getFirstDecl () const
Return the first declaration of this declaration or itself if this is the only declaration.
bool isFirstDecl () const
Returns true if this is the first declaration.

template<typename decl_type>
class clang::Mergeable< decl_type >

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

Definition at line 313 of file Redeclarable.h.

template<typename decl_type >

getFirstDecl() [1/2]

template<typename decl_type >

getFirstDecl() [2/2]

template<typename decl_type >

isFirstDecl()

template<typename decl_type >


The documentation for this class was generated from the following file: