summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-15 14:42:02 +0000
committerChris Lattner <sabre@nondot.org>2009-04-15 14:42:02 +0000
commit5a8c8df08c7c437ca7b1231530925a4a0a663db7 (patch)
tree94fbf28d11a1a1f972625d549d602a1892729835
parentfab026204772deac21f4537046c7392b7274d3fa (diff)
downloadbcm5719-llvm-5a8c8df08c7c437ca7b1231530925a4a0a663db7.tar.gz
bcm5719-llvm-5a8c8df08c7c437ca7b1231530925a4a0a663db7.zip
rename variable in comment, not just in code :).
llvm-svn: 69166
-rw-r--r--clang/tools/clang-cc/Warnings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/clang-cc/Warnings.cpp b/clang/tools/clang-cc/Warnings.cpp
index 95983e2c5a9..f2722923010 100644
--- a/clang/tools/clang-cc/Warnings.cpp
+++ b/clang/tools/clang-cc/Warnings.cpp
@@ -124,7 +124,7 @@ bool clang::ProcessWarningOptions(Diagnostic &Diags) {
// FIXME: -fdiagnostics-show-option
// FIXME: -Wfatal-errors / -Wfatal-errors=foo
- /// ControlledOptions - Keep track of the options that the user explicitly
+ /// ControlledDiags - Keep track of the options that the user explicitly
/// poked with -Wfoo, -Wno-foo, or -Werror=foo.
llvm::SmallVector<unsigned short, 256> ControlledDiags;
@@ -189,7 +189,7 @@ bool clang::ProcessWarningOptions(Diagnostic &Diags) {
for (const diag::kind *Member = Found->Members,
*E = Found->Members+Found->NumMembers; Member != E; ++Member) {
Diags.setDiagnosticMapping(*Member, Mapping);
- assert(*Member < 65536 && "ControlledOptions element too small");
+ assert(*Member < 65536 && "ControlledDiags element too small");
ControlledDiags.push_back(*Member);
}
}
@@ -210,7 +210,7 @@ bool clang::ProcessWarningOptions(Diagnostic &Diags) {
// Loop over all of the extension diagnostics. Unless they were explicitly
// controlled, reset their mapping to Mapping. We walk through the
- // ControlledOptions in parallel with this walk, which is faster than
+ // ControlledDiags in parallel with this walk, which is faster than
// repeatedly binary searching it.
//
llvm::SmallVectorImpl<unsigned short>::iterator ControlledDiagsIt =
OpenPOWER on IntegriCloud