When building with modules enabled, we were defining max_align_t as a typedef for a different anonymous struct type each time it was included, resulting in an error if <stddef.h> is not covered by a module map and is included more than once in the same modules-enabled compilation of C11 or C++11 code. llvm-svn: 218931
22 lines
264 B
Plaintext
22 lines
264 B
Plaintext
module StdDef {
|
|
module SizeT {
|
|
header "size_t.h"
|
|
export *
|
|
}
|
|
|
|
module Other {
|
|
header "other.h"
|
|
export *
|
|
}
|
|
|
|
module PtrDiffT {
|
|
header "ptrdiff_t.h"
|
|
export *
|
|
}
|
|
|
|
module IncludeAgain {
|
|
header "include_again.h"
|
|
export *
|
|
}
|
|
}
|