forked from OSchip/llvm-project
parent
a87b70d1db
commit
b3e902f4c3
|
@ -3918,6 +3918,7 @@ class MSPropertyDecl : public DeclaratorDecl {
|
|||
: DeclaratorDecl(MSProperty, DC, L, N, T, TInfo, StartL),
|
||||
GetterId(Getter), SetterId(Setter) {}
|
||||
|
||||
void anchor() override;
|
||||
public:
|
||||
friend class ASTDeclReader;
|
||||
|
||||
|
|
|
@ -751,6 +751,7 @@ class RedeclarableTemplateDecl : public TemplateDecl,
|
|||
return getMostRecentDecl();
|
||||
}
|
||||
|
||||
void anchor() override;
|
||||
protected:
|
||||
template <typename EntryType> struct SpecEntryTraits {
|
||||
using DeclType = EntryType;
|
||||
|
|
|
@ -45,6 +45,8 @@ class SourceManager;
|
|||
/// A mechanism to observe the actions of the module map parser as it
|
||||
/// reads module map files.
|
||||
class ModuleMapCallbacks {
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
virtual ~ModuleMapCallbacks() = default;
|
||||
|
||||
|
|
|
@ -2910,6 +2910,8 @@ void DecompositionDecl::printName(llvm::raw_ostream &os) const {
|
|||
os << ']';
|
||||
}
|
||||
|
||||
void MSPropertyDecl::anchor() {}
|
||||
|
||||
MSPropertyDecl *MSPropertyDecl::Create(ASTContext &C, DeclContext *DC,
|
||||
SourceLocation L, DeclarationName N,
|
||||
QualType T, TypeSourceInfo *TInfo,
|
||||
|
|
|
@ -149,6 +149,8 @@ void *allocateDefaultArgStorageChain(const ASTContext &C) {
|
|||
// RedeclarableTemplateDecl Implementation
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void RedeclarableTemplateDecl::anchor() {}
|
||||
|
||||
RedeclarableTemplateDecl::CommonBase *RedeclarableTemplateDecl::getCommonPtr() const {
|
||||
if (Common)
|
||||
return Common;
|
||||
|
|
|
@ -54,6 +54,8 @@
|
|||
|
||||
using namespace clang;
|
||||
|
||||
void ModuleMapCallbacks::anchor() {}
|
||||
|
||||
void ModuleMap::resolveLinkAsDependencies(Module *Mod) {
|
||||
auto PendingLinkAs = PendingLinkAsModule.find(Mod->Name);
|
||||
if (PendingLinkAs != PendingLinkAsModule.end()) {
|
||||
|
|
Loading…
Reference in New Issue