mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 23:00:15 +00:00
[clang-tidy] Documented the reason to run the test in C++98 mode.
llvm-svn: 246238
This commit is contained in:
parent
a1d7ece05c
commit
f0fa8a80a3
@ -1,5 +1,8 @@
|
||||
// RUN: %python %S/check_clang_tidy.py %s modernize-use-nullptr %t -- \
|
||||
// RUN: -std=c++98 -Wno-non-literal-null-conversion
|
||||
//
|
||||
// Some parts of the test (e.g. assignment of `const int` to `int *`) fail in
|
||||
// C++11, so we need to run the test in C++98 mode.
|
||||
|
||||
const unsigned int g_null = 0;
|
||||
#define NULL 0
|
||||
|
Loading…
Reference in New Issue
Block a user