]> granicus.if.org Git - clang/commit
Rename tok::eom to tok::eod.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 28 Feb 2011 02:37:51 +0000 (02:37 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 28 Feb 2011 02:37:51 +0000 (02:37 +0000)
commit84021556baceb76eedf7d44be8ba71d9b8cfacce
tree15b450508e966c91de2ecf88b3f4ee4f8f80090f
parent15348aeb81285c75b2e92b5bf8d2db3445d147c2
Rename tok::eom to tok::eod.

The previous name was inaccurate as this token in fact appears at
the end of every preprocessing directive, not just macro definitions.
No functionality change, except for a diagnostic tweak.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126631 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
docs/InternalsManual.html
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Basic/TokenKinds.def
include/clang/Lex/Preprocessor.h
include/clang/Lex/PreprocessorLexer.h
lib/Frontend/CacheTokens.cpp
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Lex/Lexer.cpp
lib/Lex/PPDirectives.cpp
lib/Lex/PPExpressions.cpp
lib/Lex/PPLexerChange.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/PTHLexer.cpp
lib/Lex/Pragma.cpp
lib/Lex/PreprocessorLexer.cpp
lib/Lex/TokenLexer.cpp
lib/Parse/ParsePragma.cpp
test/Preprocessor/pragma_unknown.c