From cc2236f777981c00d8517b6b25e94c561cfd4409 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 27 Apr 2015 23:52:41 +0000 Subject: [PATCH] Refactor: put these function declarations somewhere more appropriate. llvm-svn: 235946 --- clang/include/clang/Lex/Preprocessor.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index 4d1d4486d91c..103fa3885048 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/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();