summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/infrastructure/vfsoverlay.cpp
blob: 5704b71fd10ea4b696d72b84bf23815002d79ab7 (plain)
1
2
3
4
5
6
7
8
// RUN: sed -e "s:INPUT_DIR:%S/Inputs/vfsoverlay:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay/vfsoverlay.yaml > %t.yaml
// RUN: clang-tidy %s -checks='-*,modernize-use-nullptr' -vfsoverlay %t.yaml -- -I %t | FileCheck %s
// REQUIRES: shell

#include "not_real.h"

X *ptr = 0;
// CHECK: warning: use nullptr [modernize-use-nullptr]
OpenPOWER on IntegriCloud