clang 20.0.0git
Functions
ExternalASTMerger.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/ExternalASTMerger.h"

Go to the source code of this file.

Functions

template<typename DeclTy >
static bool importSpecializations (DeclTy *D, ASTImporter *Importer)
 
static bool importSpecializationsIfNeeded (Decl *D, ASTImporter *Importer)
 Imports specializations from template declarations that can be specialized.
 

Function Documentation

◆ importSpecializations()

template<typename DeclTy >
static bool importSpecializations ( DeclTy *  D,
ASTImporter Importer 
)
static

Definition at line 450 of file ExternalASTMerger.cpp.

References D, and clang::ASTImporter::Import().

Referenced by importSpecializationsIfNeeded().

◆ importSpecializationsIfNeeded()

static bool importSpecializationsIfNeeded ( Decl D,
ASTImporter Importer 
)
static

Imports specializations from template declarations that can be specialized.

Definition at line 462 of file ExternalASTMerger.cpp.

References D, and importSpecializations().

Referenced by clang::ExternalASTMerger::FindExternalVisibleDeclsByName().