diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 15:31:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 15:31:50 +0000 |
commit | 3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387 (patch) | |
tree | 6b423cc55b74358cc2d1fe4efb05947538140850 /clang/lib/Lex/PPDirectives.cpp | |
parent | 9e2e1c9024d58fdf5ba8bd856a01e08266c52a05 (diff) | |
download | bcm5719-llvm-3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387.tar.gz bcm5719-llvm-3baad0d4f7afc2b8ac6ddfd983fa48b1a0d2f387.zip |
Rename CodeModificationHint to FixItHint, since we've been using the
term "fix-it" everywhere and even *I* get tired of long names
sometimes. No functionality change.
llvm-svn: 100008
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 7b601010b20..757ba9014df 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -127,10 +127,10 @@ void Preprocessor::CheckEndOfDirective(const char *DirType, bool EnableMacros) { // Add a fixit in GNU/C99/C++ mode. Don't offer a fixit for strict-C89, // because it is more trouble than it is worth to insert /**/ and check that // there is no /**/ in the range also. - CodeModificationHint FixItHint; + FixItHint Hint; if (Features.GNUMode || Features.C99 || Features.CPlusPlus) - FixItHint = CodeModificationHint::CreateInsertion(Tmp.getLocation(),"//"); - Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << FixItHint; + Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//"); + Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; DiscardUntilEndOfDirective(); } } |