forked from OSchip/llvm-project
Refactor: put these function declarations somewhere more appropriate.
llvm-svn: 235946
This commit is contained in:
parent
7bf4d4eee0
commit
cc2236f777
|
@ -496,13 +496,6 @@ class Preprocessor : public RefCountedBase<Preprocessor> {
|
|||
};
|
||||
SmallVector<BuildingSubmoduleInfo, 8> BuildingSubmoduleStack;
|
||||
|
||||
void EnterSubmodule(Module *M, SourceLocation ImportLoc);
|
||||
void LeaveSubmodule();
|
||||
|
||||
/// Update the set of active module macros and ambiguity flag for a module
|
||||
/// macro name.
|
||||
void updateModuleMacroInfo(IdentifierInfo *II, ModuleMacroInfo &Info);
|
||||
|
||||
/// The set of known macros exported from modules.
|
||||
llvm::FoldingSet<ModuleMacro> ModuleMacros;
|
||||
|
||||
|
@ -1567,6 +1560,13 @@ private:
|
|||
|
||||
void PropagateLineStartLeadingSpaceInfo(Token &Result);
|
||||
|
||||
void EnterSubmodule(Module *M, SourceLocation ImportLoc);
|
||||
void LeaveSubmodule();
|
||||
|
||||
/// Update the set of active module macros and ambiguity flag for a module
|
||||
/// macro name.
|
||||
void updateModuleMacroInfo(IdentifierInfo *II, ModuleMacroInfo &Info);
|
||||
|
||||
/// \brief Allocate a new MacroInfo object.
|
||||
MacroInfo *AllocateMacroInfo();
|
||||
|
||||
|
|
Loading…
Reference in New Issue