[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / clang / test / ExtractAPI / metadata_and_module.c
blob79574a20ed95a95c0551935e6e20a3ae84613ade
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -extract-api --pretty-sgf --product-name=module -triple arm64-apple-macosx -x c-header %s -o %t/module.symbols.json -verify
4 // RUN: FileCheck %s --input-file %t/module.symbols.json --check-prefix METADATA
5 // RUN: FileCheck %s --input-file %t/module.symbols.json --check-prefix MOD
7 // expected-no-diagnostics
9 // METADATA: "metadata": {
10 // METADATA-NEXT: "formatVersion": {
11 // METADATA-NEXT: "major":
12 // METADATA-NEXT: "minor":
13 // METADATA-NEXT: "patch":
14 // METADATA-NEXT: },
15 // METADATA-NEXT: "generator":
16 // METADATA-NEXT: }
18 // MOD: "module": {
19 // MOD-NEXT: "name": "module",
20 // MOD-NEXT: "platform": {
21 // MOD-NEXT: "architecture": "arm64",
22 // MOD-NEXT: "operatingSystem": {
23 // MOD-NEXT: "minimumVersion": {
24 // MOD-NEXT: "major":
25 // MOD-NEXT: "minor":
26 // MOD-NEXT: "patch":
27 // MOD-NEXT: },
28 // MOD-NEXT: "name": "macosx"
29 // MOD-NEXT: },
30 // MOD-NEXT: "vendor": "apple"
31 // MOD-NEXT: }
32 // MOD-NEXT: }