#include <Decl.h>


Public Member Functions | |
| bool | hasCompletion () const |
| Returns true if this declaration has a completions. | |
| void | setCompletion (TypeDecl *decl) |
| Sets the completion of this declaration. | |
| bool | isCompatibleCompletion (const TypeDecl *decl) const |
| Returns true if the given declaration could serve as a completion. | |
| bool | completionIsVisibleIn (const DeclRegion *region) const |
| const IncompleteType * | getType () const |
| Specialize TypeDecl::getType(). | |
| IncompleteType * | getType () |
| Specialize TypeDecl::getType(). | |
| const TypeDecl * | getCompletion () const |
| Returns the completion of this declaration if one has been set, else null. | |
| TypeDecl * | getCompletion () |
| Specialize TypeDecl::getType(). | |
Static Public Member Functions | |
| static bool | classof (const IncompleteTypeDecl *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Friends | |
| class | AstResource |
Definition at line 1314 of file Decl.h.
| static bool comma::IncompleteTypeDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::TypeDecl.
| static bool comma::IncompleteTypeDecl::classof | ( | const IncompleteTypeDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::TypeDecl.
| bool IncompleteTypeDecl::completionIsVisibleIn | ( | const DeclRegion * | region | ) | const |
| TypeDecl* comma::IncompleteTypeDecl::getCompletion | ( | ) | [inline] |
Specialize TypeDecl::getType().
| const TypeDecl* comma::IncompleteTypeDecl::getCompletion | ( | ) | const [inline] |
| IncompleteType* comma::IncompleteTypeDecl::getType | ( | ) | [inline] |
Specialize TypeDecl::getType().
Reimplemented from comma::TypeDecl.
| const IncompleteType* comma::IncompleteTypeDecl::getType | ( | ) | const [inline] |
Specialize TypeDecl::getType().
Reimplemented from comma::TypeDecl.
| bool comma::IncompleteTypeDecl::hasCompletion | ( | ) | const [inline] |
| bool IncompleteTypeDecl::isCompatibleCompletion | ( | const TypeDecl * | decl | ) | const |
Returns true if the given declaration could serve as a completion.
A declaration can complete this incomplete type declaration if:
| void comma::IncompleteTypeDecl::setCompletion | ( | TypeDecl * | decl | ) | [inline] |
friend class AstResource [friend] |
1.6.1