diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-04-27 23:52:41 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-04-27 23:52:41 +0000 |
| commit | cc2236f777981c00d8517b6b25e94c561cfd4409 (patch) | |
| tree | 0115794664034a8aae945ee72b88478becbf3cab /clang/include | |
| parent | 7bf4d4eee01df4debe56daa02912a479970c38f4 (diff) | |
| download | bcm5719-llvm-cc2236f777981c00d8517b6b25e94c561cfd4409.tar.gz bcm5719-llvm-cc2236f777981c00d8517b6b25e94c561cfd4409.zip | |
Refactor: put these function declarations somewhere more appropriate.
llvm-svn: 235946
Diffstat (limited to 'clang/include')
| -rw-r--r-- | clang/include/clang/Lex/Preprocessor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index 4d1d4486d91..103fa388504 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/include/clang/Lex/Preprocessor.h @@ -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(); |

