|
clang 24.0.0git
|
Removes decls introduced in the discarding PTU and restores the redeclaration chain to previous state. More...
Public Member Functions | |
| ASTDeclUnmerger (Sema &S, TranslationUnitDecl *DiscardedTU) | |
| void | VisitDecl (Decl *D) |
| void | VisitFunctionDecl (FunctionDecl *D) |
| void | VisitNamespaceAliasDecl (NamespaceAliasDecl *D) |
| void | VisitTypedefNameDecl (TypedefNameDecl *D) |
| void | VisitUsingShadowDecl (UsingShadowDecl *D) |
| void | VisitVarDecl (VarDecl *D) |
| void | VisitTagDecl (TagDecl *D) |
| void | VisitRedeclarableTemplateDecl (RedeclarableTemplateDecl *D) |
| void | VisitNamespaceDecl (NamespaceDecl *D) |
| void | VisitTranslationUnitDecl (TranslationUnitDecl *D) |
| Public Member Functions inherited from clang::declvisitor::Base< std::add_pointer, ASTDeclUnmerger, void > | |
| void | Visit (PTR(Decl) D) |
| void | VisitDecl (PTR(Decl) D) |
Removes decls introduced in the discarding PTU and restores the redeclaration chain to previous state.
Definition at line 199 of file IncrementalParser.cpp.
|
inline |
Definition at line 279 of file IncrementalParser.cpp.
|
inline |
Definition at line 282 of file IncrementalParser.cpp.
|
inline |
Definition at line 287 of file IncrementalParser.cpp.
|
inline |
Definition at line 288 of file IncrementalParser.cpp.
|
inline |
Definition at line 315 of file IncrementalParser.cpp.
|
inline |
Definition at line 310 of file IncrementalParser.cpp.
References clang::TemplateDecl::getTemplatedDecl(), and clang::declvisitor::Base< std::add_pointer, ASTDeclUnmerger, void >::Visit().
|
inline |
Definition at line 293 of file IncrementalParser.cpp.
References clang::cast(), clang::CXXRecordDecl::getDefinition(), and clang::Decl::getTranslationUnitDecl().
|
inline |
Definition at line 324 of file IncrementalParser.cpp.
|
inline |
Definition at line 289 of file IncrementalParser.cpp.
|
inline |
Definition at line 290 of file IncrementalParser.cpp.
|
inline |
Definition at line 291 of file IncrementalParser.cpp.