@@ -35,7 +35,7 @@ class SubprogramTemplateDecl;
35
35
class SubprogramTemplateSpecializationInfo ;
36
36
class LabelStmt ;
37
37
class MemberSpecializationInfo ;
38
- class Module ;
38
+ class PCModule ;
39
39
class NestedNameSpecifier ;
40
40
class Stmt ;
41
41
class StringLiteral ;
@@ -189,8 +189,8 @@ class NamedDecl : public Decl {
189
189
// / \brief Determine whether this declaration has linkage.
190
190
bool hasLinkage () const ;
191
191
192
- using Decl::isModulePrivate ;
193
- using Decl::setModulePrivate ;
192
+ using Decl::isPCModulePrivate ;
193
+ using Decl::setPCModulePrivate ;
194
194
195
195
// / \brief Determine whether this declaration is hidden from name lookup.
196
196
bool isHidden () const { return Hidden; }
@@ -3296,7 +3296,7 @@ class ImportDecl : public Decl {
3296
3296
// /
3297
3297
// / When the bit is false, we only have a single source location for the
3298
3298
// / end of the import declaration.
3299
- llvm::PointerIntPair<Module *, 1 , bool > ImportedAndComplete;
3299
+ llvm::PointerIntPair<PCModule *, 1 , bool > ImportedAndComplete;
3300
3300
3301
3301
// / \brief The next import in the list of imports local to the translation
3302
3302
// / unit being parsed (not loaded from an AST file).
@@ -3306,32 +3306,32 @@ class ImportDecl : public Decl {
3306
3306
friend class ASTDeclReader ;
3307
3307
friend class ASTContext ;
3308
3308
3309
- ImportDecl (DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3309
+ ImportDecl (DeclContext *DC, SourceLocation StartLoc, PCModule *Imported,
3310
3310
ArrayRef<SourceLocation> IdentifierLocs);
3311
3311
3312
- ImportDecl (DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3312
+ ImportDecl (DeclContext *DC, SourceLocation StartLoc, PCModule *Imported,
3313
3313
SourceLocation EndLoc);
3314
3314
3315
3315
ImportDecl (EmptyShell Empty) : Decl(Import, Empty), NextLocalImport() { }
3316
3316
3317
3317
public:
3318
3318
// / \brief Create a new module import declaration.
3319
3319
static ImportDecl *Create (ASTContext &C, DeclContext *DC,
3320
- SourceLocation StartLoc, Module *Imported,
3320
+ SourceLocation StartLoc, PCModule *Imported,
3321
3321
ArrayRef<SourceLocation> IdentifierLocs);
3322
3322
3323
3323
// / \brief Create a new module import declaration for an implicitly-generated
3324
3324
// / import.
3325
3325
static ImportDecl *CreateImplicit (ASTContext &C, DeclContext *DC,
3326
- SourceLocation StartLoc, Module *Imported,
3326
+ SourceLocation StartLoc, PCModule *Imported,
3327
3327
SourceLocation EndLoc);
3328
3328
3329
3329
// / \brief Create a new, deserialized module import declaration.
3330
3330
static ImportDecl *CreateDeserialized (ASTContext &C, unsigned ID,
3331
3331
unsigned NumLocations);
3332
3332
3333
3333
// / \brief Retrieve the module that was imported by the import declaration.
3334
- Module * getImportedModule () const { return ImportedAndComplete.getPointer (); }
3334
+ PCModule * getImportedPCModule () const { return ImportedAndComplete.getPointer (); }
3335
3335
3336
3336
// / \brief Retrieves the locations of each of the identifiers that make up
3337
3337
// / the complete module name in the import declaration.
0 commit comments