summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp b/clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp
index 5fd823b754e..2579099148e 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp
@@ -304,8 +304,8 @@ void test_const_pointers_abiguous() {
// CHECK-FIXES: const_ambiguous_function((int*)nullptr);
}
-// Test where the implicit cast to null is surrounded by another implict cast
-// with possible explict casts in-between.
+// Test where the implicit cast to null is surrounded by another implicit cast
+// with possible explicit casts in-between.
void test_const_pointers() {
const int *const_p1 = 0;
// CHECK-MESSAGES: :[[@LINE-1]]:25: warning: use nullptr
OpenPOWER on IntegriCloud