diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-28 02:37:51 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-28 02:37:51 +0000 |
commit | 2f1e36bfd0c1ac408b3272fd1c62e1d56f3130d7 (patch) | |
tree | 10debb91161e17bae8b96de8be0580470da29826 /clang/lib/Frontend/PrintPreprocessedOutput.cpp | |
parent | e96ab55b28ad1e295aeb6a958affc66dc06ab5e2 (diff) | |
download | bcm5719-llvm-2f1e36bfd0c1ac408b3272fd1c62e1d56f3130d7.tar.gz bcm5719-llvm-2f1e36bfd0c1ac408b3272fd1c62e1d56f3130d7.zip |
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.
llvm-svn: 126631
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r-- | clang/lib/Frontend/PrintPreprocessedOutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp index 922d743adf4..b46e04749ba 100644 --- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp +++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp @@ -432,7 +432,7 @@ struct UnknownPragmaHandler : public PragmaHandler { Callbacks->OS.write(Prefix, strlen(Prefix)); Callbacks->SetEmittedTokensOnThisLine(); // Read and print all of the pragma tokens. - while (PragmaTok.isNot(tok::eom)) { + while (PragmaTok.isNot(tok::eod)) { if (PragmaTok.hasLeadingSpace()) Callbacks->OS << ' '; std::string TokSpell = PP.getSpelling(PragmaTok); |