clang
9.0.0
|
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"
Public Member Functions | |
Mergeable ()=default | |
decl_type * | getFirstDecl () |
Return the first declaration of this declaration or itself if this is the only declaration. More... | |
const decl_type * | getFirstDecl () const |
Return the first declaration of this declaration or itself if this is the only declaration. More... | |
bool | isFirstDecl () const |
Returns true if this is the first declaration. More... | |
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 312 of file Redeclarable.h.
|
default |
|
inline |
Return the first declaration of this declaration or itself if this is the only declaration.
Definition at line 318 of file Redeclarable.h.
Referenced by dumpPreviousDeclImpl().
|
inline |
Return the first declaration of this declaration or itself if this is the only declaration.
Definition at line 327 of file Redeclarable.h.
|
inline |
Returns true if this is the first declaration.
Definition at line 335 of file Redeclarable.h.