[DFAJumpThreading] Remove incoming StartBlock from all phis when unfolding select...
[llvm-project.git] / clang-tools-extra / test / clang-tidy / infrastructure / nolintbeginend-begin-specific-end-all.cpp
blobdecfe2dd5a4c1428625f542a0fd20e0eac6ee236
1 // RUN: not clang-tidy %s --checks="-*,google-explicit-constructor" 2>&1 | FileCheck %s
3 // NOLINTBEGIN(google-explicit-constructor)
4 class A { A(int i); };
5 // NOLINTEND
7 // Note: the expected output has been split over several lines so that clang-tidy
8 // does not see the "no lint" suppression comment and mistakenly assume it
9 // is meant for itself.
10 // CHECK: :[[@LINE-7]]:4: error: unmatched 'NOLIN
11 // CHECK: TBEGIN' comment without a subsequent 'NOLIN
12 // CHECK: TEND' comment [clang-tidy-nolint]
13 // CHECK: :[[@LINE-9]]:11: warning: single-argument constructors must be marked explicit
14 // CHECK: :[[@LINE-9]]:4: error: unmatched 'NOLIN
15 // CHECK: TEND' comment without a previous 'NOLIN
16 // CHECK: TBEGIN' comment [clang-tidy-nolint]