annotate clang/test/SemaObjCXX/nullability-consistency.mm @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -verify
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -Wsystem-headers -DWARN_IN_SYSTEM_HEADERS -verify
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 #include "nullability-consistency-1.h"
anatofuz
parents:
diff changeset
5 #include "nullability-consistency-3.h"
anatofuz
parents:
diff changeset
6 #include "nullability-consistency-4.h"
anatofuz
parents:
diff changeset
7 #include "nullability-consistency-5.h"
anatofuz
parents:
diff changeset
8 #include "nullability-consistency-5.h"
anatofuz
parents:
diff changeset
9 #include "nullability-consistency-6.h"
anatofuz
parents:
diff changeset
10 #include "nullability-consistency-7.h"
anatofuz
parents:
diff changeset
11 #include "nullability-consistency-8.h"
anatofuz
parents:
diff changeset
12 #include "nullability-consistency-system.h"
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 void h1(int *ptr) { } // don't warn
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 void h2(int * _Nonnull) { }