diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-27 01:19:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-27 01:19:25 +0000 |
commit | 9d72851fec9e9c62570a027d42701562bbf29751 (patch) | |
tree | 03348ee16f7a64beb64a1e917923afd830854984 /lib/Lex/PPLexerChange.cpp | |
parent | d599850e9e4b30e3cb2384a447cab576742e4d0e (diff) |
Rename Characteristic_t to CharacteristicKind
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPLexerChange.cpp')
-rw-r--r-- | lib/Lex/PPLexerChange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp index b7e9132baa..1ba33b58a7 100644 --- a/lib/Lex/PPLexerChange.cpp +++ b/lib/Lex/PPLexerChange.cpp @@ -95,7 +95,7 @@ void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, // Notify the client, if desired, that we are in a new source file. if (Callbacks && !CurLexer->Is_PragmaLexer) { - SrcMgr::Characteristic_t FileType = + SrcMgr::CharacteristicKind FileType = SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); Callbacks->FileChanged(CurLexer->getFileLoc(), @@ -178,7 +178,7 @@ bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { // Notify the client, if desired, that we are in a new source file. if (Callbacks && !isEndOfMacro && CurLexer) { - SrcMgr::Characteristic_t FileType = + SrcMgr::CharacteristicKind FileType = SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); Callbacks->FileChanged(CurLexer->getSourceLocation(CurLexer->BufferPtr), |