This patch deprecates `module.map` in favor of `module.modulemap`, which has been the preferred form since 2014. The eventual goal is to remove support for `module.map` to reduce the number of stats Clang needs to do while searching for module map files. This patch touches a lot of files, but the majority of them are just renaming tests or references to the file in comments or documentation. The relevant files are: * lib/Lex/HeaderSearch.cpp * include/clang/Basic/DiagnosticGroups.td * include/clang/Basic/DiagnosticLexKinds.td
11 lines
647 B
Matlab
11 lines
647 B
Matlab
// RUN: cd %S
|
|
// RUN: %clang_cc1 -fmodules -fno-implicit-modules -x objective-c++ -fmodule-name=std -emit-module Inputs/submodules/module.modulemap -o %t/mod.pcm
|
|
// RUN: llvm-bcanalyzer --dump --disable-histogram %t/mod.pcm | FileCheck %s
|
|
|
|
// CHECK: <SUBMODULE_HEADER abbrevid=6/> blob data = 'vector.h'
|
|
// CHECK: <SUBMODULE_TOPHEADER abbrevid=7/> blob data = 'vector.h'
|
|
// CHECK: <SUBMODULE_HEADER abbrevid=6/> blob data = 'type_traits.h'
|
|
// CHECK: <SUBMODULE_TOPHEADER abbrevid=7/> blob data = 'type_traits.h'
|
|
// CHECK: <SUBMODULE_HEADER abbrevid=6/> blob data = 'hash_map.h'
|
|
// CHECK: <SUBMODULE_TOPHEADER abbrevid=7/> blob data = 'hash_map.h'
|