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 | 66a740e66e616b8453af44325b9a4b422fe15205 (patch) | |
| tree | 67b64cb7676a09c0fbff275b4b17a85e01d42741 /clang/lib/Lex | |
| parent | 69f9bc24f406a152bcd432182d0d2cf41d1fa714 (diff) | |
| download | bcm5719-llvm-66a740e66e616b8453af44325b9a4b422fe15205.tar.gz bcm5719-llvm-66a740e66e616b8453af44325b9a4b422fe15205.zip | |
Rename Characteristic_t to CharacteristicKind
llvm-svn: 58224
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Lex/PPLexerChange.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 44558e19f97..3d077e1a383 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -675,7 +675,7 @@ void Preprocessor::HandleIncludeDirective(Token &IncludeTok, // The #included file will be considered to be a system header if either it is // in a system include directory, or if the #includer is a system include // header. - SrcMgr::Characteristic_t FileCharacter = + SrcMgr::CharacteristicKind FileCharacter = std::max(HeaderInfo.getFileDirFlavor(File), SourceMgr.getFileCharacteristic(getCurrentFileLexer()->getFileLoc())); diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp index b7e9132baab..1ba33b58a75 100644 --- a/clang/lib/Lex/PPLexerChange.cpp +++ b/clang/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), |

