[clang-tools-extra] 26d195d - Replace include by forward declaration in test case
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 10 11:34:14 PST 2021
Author: serge-sans-paille
Date: 2021-11-10T20:34:05+01:00
New Revision: 26d195d8b332d8615b7bd0ab9657bcf244f6b112
URL: https://github.com/llvm/llvm-project/commit/26d195d8b332d8615b7bd0ab9657bcf244f6b112
DIFF: https://github.com/llvm/llvm-project/commit/26d195d8b332d8615b7bd0ab9657bcf244f6b112.diff
LOG: Replace include by forward declaration in test case
This should fix the remaining buildbot issue for the misleading identifier
detection pass.
Differential Revision: https://reviews.llvm.org/D112914
Added:
Modified:
clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp b/clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp
index cb036f96dfee1..fdd0886eb3851 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/misc-misleading-identifier.cpp
@@ -1,6 +1,6 @@
// RUN: %check_clang_tidy %s misc-misleading-identifier %t
-#include <stdio.h>
+int printf(const char *format, ...);
// CHECK-MESSAGES: :[[#@LINE+1]]:1: warning: identifier has right-to-left codepoints [misc-misleading-identifier]
short int א = (short int)0;
More information about the cfe-commits
mailing list