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/Checker/PathDiagnostic.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/Checker/PathDiagnostic.cpp')
| -rw-r--r-- | clang/lib/Checker/PathDiagnostic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Checker/PathDiagnostic.cpp b/clang/lib/Checker/PathDiagnostic.cpp index 97500d95785..963923c9ad1 100644 --- a/clang/lib/Checker/PathDiagnostic.cpp +++ b/clang/lib/Checker/PathDiagnostic.cpp @@ -108,8 +108,8 @@ void PathDiagnosticClient::HandleDiagnostic(Diagnostic::Level DiagLevel, for (unsigned i = 0, e = Info.getNumRanges(); i != e; ++i) P->addRange(Info.getRange(i)); - for (unsigned i = 0, e = Info.getNumCodeModificationHints(); i != e; ++i) - P->addCodeModificationHint(Info.getCodeModificationHint(i)); + for (unsigned i = 0, e = Info.getNumFixItHints(); i != e; ++i) + P->addFixItHint(Info.getFixItHint(i)); D->push_front(P); HandlePathDiagnostic(D); |

