From: Richard Smith Date: Mon, 27 Apr 2015 23:52:41 +0000 (+0000) Subject: Refactor: put these function declarations somewhere more appropriate. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dd1cb0b88e359563133f636287596f944891124;p=clang Refactor: put these function declarations somewhere more appropriate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235946 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 4d1d4486d9..103fa38850 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -496,13 +496,6 @@ class Preprocessor : public RefCountedBase { }; SmallVector 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 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();