]> granicus.if.org Git - clang/commitdiff
Refactor: put these function declarations somewhere more appropriate.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 27 Apr 2015 23:52:41 +0000 (23:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 27 Apr 2015 23:52:41 +0000 (23:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235946 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index 4d1d4486d91c86fe7add94671956d8a75a6e0f0b..103fa38850486a4f07c4223dd01c637dfdc13969 100644 (file)
@@ -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();